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

tst_QWidget has many failing tests on Android

    XMLWordPrintable

Details

    • Android

    Description

      tst_QWidget has many failing tests on Android

      FAIL!  : tst_QWidget::reparent() Compared values are not the same
         Actual   (child.geometry().topLeft()): QPoint(0,0)
         Expected (childPos)                  : QPoint(310,310)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2943)]
      SKIP   : tst_QWidget::setScreen() This test tests nothing on a machine with a single screen.
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2951)]
      FAIL!  : tst_QWidget::windowState() '(HighDpi::fuzzyCompare(widget1.pos(), pos, m_fuzz))' returned FALSE. (0,0 != 10,10, manhattanLength=20)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2411)]
      XFAIL  : tst_QWidget::showMaximized() QTBUG-22326
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2524)]
      XFAIL  : tst_QWidget::showFullScreen() QTBUG-22326
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2612)]
      FAIL!  : tst_QWidget::showMinimizedKeepsFocus() Compared pointers are not the same
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2891)]
      FAIL!  : tst_QWidget::normalGeometry() '(parent.geometry() != geom)' returned FALSE. ()
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(3068)]
      SKIP   : tst_QWidget::setGeometryHidden() Platform does not support QWidget::setGeometry() - skipping
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(3176)]
      XFAIL  : tst_QWidget::stackUnder() See QTBUG-493
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(3547)]
      SKIP   : tst_QWidget::testContentsPropagation() This test does not work with scaling.
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(3617)]
      FAIL!  : tst_QWidget::saveRestoreGeometry() '(widget.geometry() != geom)' returned FALSE. ()
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(3754)]
      SKIP   : tst_QWidget::widgetAt() Platform does not support WindowMasks
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(3926)]
      FAIL!  : tst_QWidget::optimizedResizeMove() Compared values are not the same
         Actual   (staticWidget.gotPaintEvent): 1
         Expected (false)                     : 0
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(4186)]
      SKIP   : tst_QWidget::optimizedResize_topLevel() Skip due to rounding errors in the regions.
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(4253)]
      FAIL!  : tst_QWidget::resizeEvent() Compared values are not the same
         Actual   (wTopLevel.m_resizeEventCount): 2
         Expected (1)                           : 1
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(2701)]
      SKIP   : tst_QWidget::showHideEventWhileMinimize() This test requires window management capabilities
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(4750)]
      SKIP   : tst_QWidget::showHideChildrenWhileMinimize_QTBUG50589() This test requires window management capabilities
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(4773)]
      FAIL!  : tst_QWidget::update() Compared values are not the same
         Actual   (child.numPaintEvents): 2
         Expected (1)                   : 1
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(4824)]
      FAIL!  : tst_QWidget::scroll() Compared values are not the same
         Actual   (((updateWidget.paintedRegion))): QRegion(180x284+0+0)
         Expected (dirty)                         : QRegion(2 rectangles, 180x10+0+0, 10x274+0+10)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5063)]
      FAIL!  : tst_QWidget::setWindowGeometry(100,100 200x200, flags 0) Compared values are not the same
         Actual   (((widget.geometry()))): QRect(0,0 360x568) (bottomright 359,567)
         Expected (rect)                 : QRect(100,100 200x200) (bottomright 299,299)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5294)]
      FAIL!  : tst_QWidget::setWindowGeometry(100,100 200x200, flags 800) Compared values are not the same
         Actual   (((widget.geometry()))): QRect(0,0 360x568) (bottomright 359,567)
         Expected (rect)                 : QRect(100,100 200x200) (bottomright 299,299)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5294)]
      FAIL!  : tst_QWidget::setWindowGeometry(100,100 160x368, flags 0) Compared values are not the same
         Actual   (((widget.geometry()))): QRect(0,0 360x568) (bottomright 359,567)
         Expected (rect)                 : QRect(100,100 160x368) (bottomright 259,467)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5294)]
      FAIL!  : tst_QWidget::setWindowGeometry(100,100 160x368, flags 800) Compared values are not the same
         Actual   (((widget.geometry()))): QRect(0,0 360x568) (bottomright 359,567)
         Expected (rect)                 : QRect(100,100 160x368) (bottomright 259,467)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5294)]
      FAIL!  : tst_QWidget::windowMoveResize(100,100 200x200, flags 0) Compared values are not the same
         Actual   (((widget.pos()))): QPoint(0,0)
         Expected (rect.topLeft())  : QPoint(100,100)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5494)]
      FAIL!  : tst_QWidget::windowMoveResize(100,100 200x200, flags 800) Compared values are not the same
         Actual   (((widget.pos()))): QPoint(0,0)
         Expected (rect.topLeft())  : QPoint(100,100)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5494)]
      FAIL!  : tst_QWidget::windowMoveResize(100,100 160x368, flags 0) Compared values are not the same
         Actual   (((widget.pos()))): QPoint(0,0)
         Expected (rect.topLeft())  : QPoint(100,100)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5494)]
      FAIL!  : tst_QWidget::windowMoveResize(100,100 160x368, flags 800) Compared values are not the same
         Actual   (((widget.pos()))): QPoint(0,0)
         Expected (rect.topLeft())  : QPoint(100,100)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5494)]
      FAIL!  : tst_QWidget::moveChild(right) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(50x50)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5726)]
      FAIL!  : tst_QWidget::moveChild(right) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(200x25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5727)]
      FAIL!  : tst_QWidget::moveChild(right) Compared values are not the same
         Actual   (((parent.r)))                           : QRegion(null)
         Expected (QRegion(oldGeometry) - child.geometry()): QRegion(20x50+25+25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5739)]
      FAIL!  : tst_QWidget::moveChild(down) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(50x50)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5726)]
      FAIL!  : tst_QWidget::moveChild(down) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(200x25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5727)]
      FAIL!  : tst_QWidget::moveChild(down) Compared values are not the same
         Actual   (((parent.r)))                           : QRegion(null)
         Expected (QRegion(oldGeometry) - child.geometry()): QRegion(50x20+25+25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5739)]
      FAIL!  : tst_QWidget::moveChild(left) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(50x50)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5726)]
      FAIL!  : tst_QWidget::moveChild(left) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(200x25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5727)]
      FAIL!  : tst_QWidget::moveChild(left) Compared values are not the same
         Actual   (((parent.r)))                           : QRegion(null)
         Expected (QRegion(oldGeometry) - child.geometry()): QRegion(20x50+55+25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5739)]
      FAIL!  : tst_QWidget::moveChild(up) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(50x50)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5726)]
      FAIL!  : tst_QWidget::moveChild(up) Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(200x25)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5727)]
      FAIL!  : tst_QWidget::moveChild(up) Compared values are not the same
         Actual   (((parent.r)))                           : QRegion(null)
         Expected (QRegion(oldGeometry) - child.geometry()): QRegion(50x20+25+55)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5739)]
      FAIL!  : tst_QWidget::showAndMoveChild() Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(116x220)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5781)]
      FAIL!  : tst_QWidget::showAndMoveChild() Compared values are not the same
         Actual   (pixmap.size()): QSize(0x0)
         Expected (rect.size())  : QSize(360x220)
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5782)]
      FAIL!  : tst_QWidget::multipleToplevelFocusCheck() 'QTest::qWaitForWindowActive(&w1)' returned FALSE. ()
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp(5888)]
      Makefile:457: recipe for target 'check' failed
      make[2]: Leaving directory '/media/assam/Uusi_asema/Qt-dev/tests/qtbase/auto/widgets/kernel/qwidget'
      

      some cases don't seem to be affected by the BLACKLIST file, thus removing the test from *.pro/cmake for now.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-87668
          # Subject Branch Project Status CR V

          Activity

            People

              qtandroidteam Qt Android Team
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes