summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsanchorlayout
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2011-05-02 14:29:22 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2011-05-02 14:29:22 (GMT)
commitf275343b83d037f099af9dd3e5777a959b137ba9 (patch)
tree25caa884b8675b18c1cb36586888d8dcc2f2eff8 /tests/auto/qgraphicsanchorlayout
parent63e89c45fcc07759c928231ac27cc25928116d45 (diff)
parent05f4a80d7c49c1185f656c7daf52552824724324 (diff)
downloadQt-f275343b83d037f099af9dd3e5777a959b137ba9.zip
Qt-f275343b83d037f099af9dd3e5777a959b137ba9.tar.gz
Qt-f275343b83d037f099af9dd3e5777a959b137ba9.tar.bz2
Merge branch '4.7-review' into 4.7-staging
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));