Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.0.0
-
None
-
Windows 7
-
ced029e87d9bf4b0d7f526d8e611c0e1e8c56a45
Description
QSettings autotest fails the following cases in Windows:
FAIL! : tst_QSettings::ctor(native) Compared values are not the same Actual (settings1.value("key 1").toString()): Expected (QString("doodah")): doodah .\tst_qsettings.cpp(388) : failure location FAIL! : tst_QSettings::remove() Compared values are not the same Actual (settings3.value("key 1").toString()): Expected (QString("blah")): blah .\tst_qsettings.cpp(1249) : failure location FAIL! : tst_QSettings::setFallbacksEnabled(native) Compared values are not the same Actual (settings3.value("key 1").toString()): Expected (QString("gamma")): gamma .\tst_qsettings.cpp(1574) : failure location FAIL! : tst_QSettings::setIniCodec() Compared values are not the same Actual (actualContents4): 5B 46 61 25 45 37 61 64 65 5D 0D 0A 51 55 25 43 39 42 45 43 3D 46 61 C3 A7 61 64 65 2F 51 55 C3 89 42 45 43 0D 0A Expected (expeContents4): 5B 46 61 25 45 37 61 64 65 5D 0A 51 55 25 43 39 42 45 43 3D 46 61 C3 A7 61 64 65 2F 51 55 C3 89 42 45 43 0A .\tst_qsettings.cpp(2001) : failure location FAIL! : tst_QSettings::testCaseSensitivity(native) '!settings.contains("kEy 1")' returned FALSE. () .\tst_qsettings.cpp(2537) : failure location FAIL! : tst_QSettings::childGroups(native) Compared QStringLists have different sizes. Actual (settings.childGroups()) size : '0' Expected (QStringList() << "d" << "f") size: '2' .\tst_qsettings.cpp(2722) : failure location FAIL! : tst_QSettings::childKeys(native) Compared QStringLists have different sizes. Actual (settings.childKeys()) size : '0' Expected (QStringList() << "d") size: '1' .\tst_qsettings.cpp(2786) : failure location FAIL! : tst_QSettings::allKeys(native) Compared QStringLists have different sizes. Actual (settings.allKeys()) size : '0' Expected (QStringList() << "d" << "d/e" << "f/g") size: '3' .\tst_qsettings.cpp(2845) : failure location
Remember to re-enable the test for CI after it is fixed.
Attachments
Issue Links
- is required for
-
QTBUG-24203 Qt 5.0 - Windows: Fix tests
- Closed
For Gerrit Dashboard: QTBUG-24145 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
17656,1 | Fix QSettings autotest fails under Windows | master | qt/qtbase | Status: MERGED | +2 | 0 |
18398,1 | Windows: Make QSettings autotest significant again | master | qt/qtbase | Status: MERGED | +2 | 0 |