qt5base-lts/tests/auto/widgets/graphicsview
Friedemann Kleint 3690bcfda3 Refactor tst_QGraphicsWidget::setTabOrderAndReparent().
The test produces compiler warnings in release builds:

tst_qgraphicswidget.cpp: In member function 'void tst_QGraphicsWidget::setTabOrderAndReparent()':
tst_qgraphicswidget.cpp:1521:89: warning: 'w2' may be used uninitialized in this function [-Wmaybe-uninitialized]
tst_qgraphicswidget.cpp:1536:88: warning: 'w1' may be used uninitialized in this function [-Wmaybe-uninitialized]

Use arrays instead of the variables w1,2... and rewrite the helper
function compareFocusChain() to work on iterators allowing to
remove some temporary lists. Also return error messages in a
QByteArray ready for the Q[TRY_]VERIFY2 macros.

Change-Id: I43466921af59521d1faf00b75fe943508418abb3
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-12-22 11:45:47 +00:00
..
qgraphicsanchorlayout tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qgraphicsanchorlayout1 tests/auto/widgets: Remove some placeholder formatting. 2015-10-19 12:39:16 +00:00
qgraphicseffectsource Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicsgridlayout Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicsitem tests/auto/widgets: Remove some placeholder formatting. 2015-10-19 12:39:16 +00:00
qgraphicsitemanimation Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qgraphicslayout Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qgraphicslayoutitem Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicslinearlayout Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicsobject Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicspixmapitem Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicspolygonitem Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicsproxywidget Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicsscene tests/auto/widgets: Remove some placeholder formatting. 2015-10-19 12:39:16 +00:00
qgraphicssceneindex QGraphicsView tests: Remove QT_DISABLE_DEPRECATED_BEFORE=0. 2015-08-22 05:55:24 +00:00
qgraphicstransform Tests: Remove empty init/cleanup slots, constructors and destructors. 2015-12-10 05:26:05 +00:00
qgraphicsview Remove remaining support for Blackberry 2015-11-21 15:38:39 +00:00
qgraphicswidget Refactor tst_QGraphicsWidget::setTabOrderAndReparent(). 2015-12-22 11:45:47 +00:00
graphicsview.pro Re-enable tests tst_qgraphicsproxywidget, tst_qgraphicswidget. 2013-07-24 22:16:58 +02:00