qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsanchorlayout
Friedemann Kleint 08f0dbd13c Fix spurious XPASS in tst_QGraphicsAnchorLayout.
Seen on Windows:

XPASS  : tst_QGraphicsAnchorLayout::stability() QCOMPARE(sameAsPreviousArrangement, true) returned TRUE unexpectedly.
tst_qgraphicsanchorlayout.cpp(1399) : failure location

Move check into loop with descriptive message on fail, do not error
out if it actually passes. This now typically prints:

XFAIL  : tst_QGraphicsAnchorLayout::stability() The layout has several solutions, but which solution it picks is not stable ( QRectF(30,0 0x10) != QRectF(30,0 10x10) , iteration 3 , item 4 )

Change-Id: Iae8553dbbcedeb70d5d672e3cefbd1f06a63d27d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
2014-03-14 22:39:19 +01:00
..
qgraphicsanchorlayout.pro widget/graphicsview: Do not run tests showing windows in parallel. 2013-06-03 13:48:41 +02:00
tst_qgraphicsanchorlayout.cpp Fix spurious XPASS in tst_QGraphicsAnchorLayout. 2014-03-14 22:39:19 +01:00