summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsanchorlayout
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-05-03 09:06:47 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-03 09:06:47 (GMT)
commit660ebda77f6cbc4a41f45f78e18dbc892cd1c551 (patch)
tree36ecf9860281d337bfda350c597951623838ca9f /tests/auto/qgraphicsanchorlayout
parent43482fcfc106864f104f463002575c389d40b12f (diff)
parent78df9e39a43b21f7f0fedca11f906a2ae9df99c1 (diff)
downloadQt-660ebda77f6cbc4a41f45f78e18dbc892cd1c551.zip
Qt-660ebda77f6cbc4a41f45f78e18dbc892cd1c551.tar.gz
Qt-660ebda77f6cbc4a41f45f78e18dbc892cd1c551.tar.bz2
Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7
Conflicts: src/gui/graphicsview/qgraphicslayout.cpp src/gui/graphicsview/qgraphicslayout_p.cpp
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout')
-rw-r--r--tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp b/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp
index e7c63d5..447385a 100644
--- a/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp
+++ b/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp
@@ -1091,6 +1091,9 @@ void tst_QGraphicsAnchorLayout::setSpacing()
#ifdef Q_WS_MAC
QTest::qWait(200);
#endif
+
+ // 21x21
+ QCOMPARE(p->size(), QSizeF(41, 41));
QCOMPARE(a->geometry(), QRectF(0, 0, 20, 20));
QCOMPARE(b->geometry(), QRectF(21, 0, 20, 20));
QCOMPARE(c->geometry(), QRectF(0, 21, 41, 20));