Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8
-
None
-
-
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-125016 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
559687,5 | Test initialization done in test_1<> instead of initTestCase | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
559754,12 | Don't modify shared test data in individual test functions | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
559768,3 | Test initialization done in test_1<> instead of initTestCase | 6.7 | qt/qtgrpc | Status: MERGED | +2 | 0 |
562409,3 | Don't modify shared test data in individual test functions | 6.7 | qt/qtgrpc | Status: MERGED | +2 | 0 |