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

tst_QTouchEvent fails

    XMLWordPrintable

Details

    Description

      qtouchevent.pro is missing CONFIG+=testcase and thus make check always succeeded. tests have been rotting over time.

      • Crashed on Windows in deleteInRawEventTranslation
      • Crashes on OS X in touchUpdateAndEndNeverPropagate
        ********* Start testing of tst_QTouchEvent *********
        Config: Using QtTest library 5.5.0, Qt 5.5.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 4.8.2)
        PASS   : tst_QTouchEvent::initTestCase()
        PASS   : tst_QTouchEvent::touchDisabledByDefault()
        FAIL!  : tst_QTouchEvent::touchEventAcceptedByDefault() 'touchEvent.isAccepted()' returned FALSE. ()
           Loc: [tst_qtouchevent.cpp(322)]
        PASS   : tst_QTouchEvent::touchBeginPropagatesWhenIgnored()
        PASS   : tst_QTouchEvent::touchUpdateAndEndNeverPropagate()
        FAIL!  : tst_QTouchEvent::basicRawEventTranslation() 'touchWidget.seenTouchBegin' returned FALSE. ()
           Loc: [tst_qtouchevent.cpp(633)]
        FAIL!  : tst_QTouchEvent::multiPointRawEventTranslationOnTouchScreen() 'leftWidget.seenTouchBegin' returned FALSE. ()
           Loc: [tst_qtouchevent.cpp(776)]
        FAIL!  : tst_QTouchEvent::multiPointRawEventTranslationOnTouchPad() 'leftWidget.seenTouchBegin' returned FALSE. ()
           Loc: [tst_qtouchevent.cpp(1006)]
        FAIL!  : tst_QTouchEvent::deleteInEventHandler() 'res && touchUpdateEvent.isAccepted() && !child1' returned FALSE. ()
           Loc: [tst_qtouchevent.cpp(1313)]
        FAIL!  : tst_QTouchEvent::deleteInRawEventTranslation() 'pl.isNull() && !pc.isNull() && !pr.isNull()' returned FALSE. ()
           Loc: [tst_qtouchevent.cpp(1401)]
        PASS   : tst_QTouchEvent::crashInQGraphicsSceneAfterNotHandlingTouchBegin()
        PASS   : tst_QTouchEvent::touchBeginWithGraphicsWidget()
        PASS   : tst_QTouchEvent::testQGuiAppDelivery()
        PASS   : tst_QTouchEvent::testMultiDevice()
        PASS   : tst_QTouchEvent::cleanupTestCase()
        Totals: 9 passed, 6 failed, 0 skipped, 0 blacklisted
        ********* Finished testing of tst_QTouchEvent *********
        

      Attachments

        Issue Links

          Activity

            People

              sorvig Morten Sørvig
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: