summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/graphicsview
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-17 14:50:44 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-17 14:50:44 (GMT)
commit9531f924478d78f0a679305cd2e5f1b4c4dd849e (patch)
treeb6c43b618fa5d639dfae5fb185f86cff109a94c9 /tests/benchmarks/gui/graphicsview
parent2c53e6c50e7f47fa60b6cf8293651f8eaf05ebf1 (diff)
downloadQt-9531f924478d78f0a679305cd2e5f1b4c4dd849e.zip
Qt-9531f924478d78f0a679305cd2e5f1b4c4dd849e.tar.gz
Qt-9531f924478d78f0a679305cd2e5f1b4c4dd849e.tar.bz2
Remove unusable test case from QGraphicsItem benchmark.
setRotation() is already covered by the rotate() test case.
Diffstat (limited to 'tests/benchmarks/gui/graphicsview')
-rw-r--r--tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
index ec77eb0..e17cf1c 100644
--- a/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -72,7 +72,6 @@ private slots:
void scale();
void shear();
void translate();
- void setRotation();
};
tst_QGraphicsItem::tst_QGraphicsItem()
@@ -243,16 +242,5 @@ void tst_QGraphicsItem::translate()
}
}
-void tst_QGraphicsItem::setRotation()
-{
- QGraphicsScene scene;
- QGraphicsItem *item = scene.addRect(QRectF(0, 0, 100, 100));
- processEvents();
-
- QBENCHMARK {
- item->setRotation(45);
- }
-}
-
QTEST_MAIN(tst_QGraphicsItem)
#include "tst_qgraphicsitem.moc"