summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-10-28 08:40:21 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-10-28 08:40:21 (GMT)
commite6767a4bd15f001df6927d7232598662977bea13 (patch)
tree0483a48f7dac8125a2b25e3b545056813bba79c9 /tests
parent539294ab33467ceedbcd6054137b602865956915 (diff)
downloadQt-e6767a4bd15f001df6927d7232598662977bea13.zip
Qt-e6767a4bd15f001df6927d7232598662977bea13.tar.gz
Qt-e6767a4bd15f001df6927d7232598662977bea13.tar.bz2
Updated testcase to match new boundingRect logic
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp b/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp
index e25aef0..5a62dc0 100644
--- a/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp
+++ b/tests/auto/qgraphicspixmapitem/tst_qgraphicspixmapitem.cpp
@@ -165,7 +165,7 @@ void tst_QGraphicsPixmapItem::boundingRect_data()
QTest::addColumn<QPixmap>("pixmap");
QTest::addColumn<QRectF>("boundingRect");
QTest::newRow("null") << QPixmap() << QRectF();
- QTest::newRow("10x10") << QPixmap(10, 10) << QRectF(-0.5, -0.5, 11, 11);
+ QTest::newRow("10x10") << QPixmap(10, 10) << QRectF(0, 0, 10, 10);
}
// public QRectF boundingRect() const