diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-25 14:42:10 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-06-25 14:42:48 (GMT) |
commit | 9dc1fc2d30205bb0bad12df4d3cb061f55f4f3f2 (patch) | |
tree | 3a827fd43aa4da1f613bef5bfa55ec5d55c9a491 /tests/auto/qgraphicssceneindex | |
parent | fe64e44b0dab0152101b4ec17a49305912415016 (diff) | |
download | Qt-9dc1fc2d30205bb0bad12df4d3cb061f55f4f3f2.zip Qt-9dc1fc2d30205bb0bad12df4d3cb061f55f4f3f2.tar.gz Qt-9dc1fc2d30205bb0bad12df4d3cb061f55f4f3f2.tar.bz2 |
Compile tst_QGrahicsSceneIndex after be79229e
Diffstat (limited to 'tests/auto/qgraphicssceneindex')
-rw-r--r-- | tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp b/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp index d10f86d..ac21e20 100644 --- a/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp +++ b/tests/auto/qgraphicssceneindex/tst_qgraphicssceneindex.cpp @@ -56,8 +56,6 @@ public slots: void initTestCase(); private slots: - void sceneRect_data(); - void sceneRect(); void customIndex_data(); void customIndex(); void scatteredItems_data(); @@ -97,19 +95,6 @@ QGraphicsSceneIndex *tst_QGraphicsSceneIndex::createIndex(const QString &indexMe return index; } -void tst_QGraphicsSceneIndex::sceneRect_data() -{ - common_data(); -} - -void tst_QGraphicsSceneIndex::sceneRect() -{ - QGraphicsScene *scene = new QGraphicsScene(); - QGraphicsSceneIndex *index = new QGraphicsSceneBspTreeIndex(scene); - scene->setSceneRect(QRectF(0, 0, 2000, 2000)); - QCOMPARE(index->indexedRect(), QRectF(0, 0, 2000, 2000)); -} - void tst_QGraphicsSceneIndex::customIndex_data() { common_data(); |