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

tst_switch fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.10.0 Alpha
    • 5.10
    • Quick: Controls 2
    • None
    • Ubuntu 16.04
    • a1eaa30b0773d43de8dbb0b761ae590dc0fdcaaf

    Description

      Apparently it doesn't happen on CI.

      Starting /home/mitch/dev/qt5-dev-debug/qtquickcontrols2/tests/auto/controls/imagine/tst_imagine...
      ********* Start testing of tst_controls::Imagine *********
      Config: Using QtTest library 5.10.0, Qt 5.10.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 5.4.0 20160609)
      PASS   : tst_controls::Imagine::Switch::initTestCase()
      PASS   : tst_controls::Imagine::Switch::test_baseline()
      PASS   : tst_controls::Imagine::Switch::test_binding()
      PASS   : tst_controls::Imagine::Switch::test_checked()
      PASS   : tst_controls::Imagine::Switch::test_focus()
      PASS   : tst_controls::Imagine::Switch::test_keys()
      QWARN  : tst_controls::Imagine::Switch::test_mouse() qml: SignalSequenceSpy: Received unexpected signal (is "released" listed in the signals array?)
          Actual   : checkedChanged
          Expected : released
          Sequence index: 1
      FAIL!  : tst_controls::Imagine::Switch::test_mouse() Compared values are not the same
         Actual   (): true
         Expected (): false
         Loc: [/home/mitch/dev/qt5-dev/qtquickcontrols2/tests/auto/controls/data/tst_switch.qml(210)]
      PASS   : tst_controls::Imagine::Switch::test_mouseDrag()
      PASS   : tst_controls::Imagine::Switch::test_pressed(indicator)
      PASS   : tst_controls::Imagine::Switch::test_pressed(background)
      PASS   : tst_controls::Imagine::Switch::test_text()
      QWARN  : tst_controls::Imagine::Switch::test_touch() qml: SignalSequenceSpy: Received unexpected signal (is "released" listed in the signals array?)
          Actual   : checkedChanged
          Expected : released
          Sequence index: 1
      FAIL!  : tst_controls::Imagine::Switch::test_touch() Compared values are not the same
         Actual   (): true
         Expected (): false
         Loc: [/home/mitch/dev/qt5-dev/qtquickcontrols2/tests/auto/controls/data/tst_switch.qml(313)]
      PASS   : tst_controls::Imagine::Switch::test_touchDrag()
      PASS   : tst_controls::Imagine::Switch::cleanupTestCase()
      Totals: 12 passed, 2 failed, 0 skipped, 0 blacklisted, 144ms
      ********* Finished testing of tst_controls::Imagine *********
      /home/mitch/dev/qt5-dev-debug/qtquickcontrols2/tests/auto/controls/imagine/tst_imagine exited with code 2
      

      Same with Fusion.

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes