Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125016

protobuf tests are fragile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • Protocol Buffers
    • None
    • All
    • 0affa087f (dev), 4510ccdca (dev), 61abc3fd9 (6.7), ef9281945 (6.7)

    Description

      The protobuf tests are using some testing patterns that make them fragile. I've only looked at tst_protobuf_basictypes_qml::qtprotobufBasicTest, but other tests likely do similar stuff.

      • Test initialization done in test_1initialization instead of initTestCase
      • Init data modified by other test functions in place
        • e.g sfixed32Msg.testFieldFixedInt32 modified by test_basicTypesOperations_data

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tatiana.borisova Tatiana Borisova
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes