summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-17 14:35:36 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-02-17 14:47:46 (GMT)
commit2c53e6c50e7f47fa60b6cf8293651f8eaf05ebf1 (patch)
tree8287df3f87917dac3a8f44f40934a899541e30d7
parentac523359aa630c05df21d4c09970cb0b89a5b05f (diff)
downloadQt-2c53e6c50e7f47fa60b6cf8293651f8eaf05ebf1.zip
Qt-2c53e6c50e7f47fa60b6cf8293651f8eaf05ebf1.tar.gz
Qt-2c53e6c50e7f47fa60b6cf8293651f8eaf05ebf1.tar.bz2
Remove unstable test case from QGraphicsItem::setTransform benchmark.
The item's transform is identity by default, so trying to set an indentiy transform again does too little in order to measure it with stable results.
-rw-r--r--tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
index d452593..ec77eb0 100644
--- a/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -179,7 +179,6 @@ void tst_QGraphicsItem::setTransform_data()
{
QTest::addColumn<QTransform>("transform");
- QTest::newRow("id") << QTransform();
QTest::newRow("rotate 45z") << QTransform().rotate(45);
QTest::newRow("scale 2x2") << QTransform().scale(2, 2);
QTest::newRow("translate 100, 100") << QTransform().translate(100, 100);