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

Windows: QSettings autotest fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.0.0
    • Core: Other
    • 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

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

          Activity

            People

              kleint Friedemann Kleint
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes