aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-04-29 09:54:50 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-11 15:12:53 +0000
commitf944c34757baf145f7018e37bc732d061f0bbf7f (patch)
treefb9447de3a53cbd8ea11e00b8f4aceda7c372704 /tests/benchmarks
parentdbf0b858952f57be61dc1b2765c05d25e86db546 (diff)
Remove the old TabView implementation
Change-Id: I8d8aa96f2f37f458577a5a3ec681e3c9174d0918 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/creationtime/tst_creationtime.cpp3
-rw-r--r--tests/benchmarks/objectcount/tst_objectcount.cpp4
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/benchmarks/creationtime/tst_creationtime.cpp b/tests/benchmarks/creationtime/tst_creationtime.cpp
index 3b051907..4e53b7d3 100644
--- a/tests/benchmarks/creationtime/tst_creationtime.cpp
+++ b/tests/benchmarks/creationtime/tst_creationtime.cpp
@@ -110,8 +110,9 @@ void tst_CreationTime::testControls_data()
#ifndef QT_QUICK_CONTROLS_V1
QTest::newRow("TabBar") << QByteArray("TabBar");
QTest::newRow("TabButton") << QByteArray("TabButton");
-#endif
+#else
QTest::newRow("TabView") << QByteArray("TabView");
+#endif
QTest::newRow("TextArea") << QByteArray("TextArea");
QTest::newRow("TextField") << QByteArray("TextField");
QTest::newRow("ToolBar") << QByteArray("ToolBar");
diff --git a/tests/benchmarks/objectcount/tst_objectcount.cpp b/tests/benchmarks/objectcount/tst_objectcount.cpp
index 2e0f8412..f7432d2e 100644
--- a/tests/benchmarks/objectcount/tst_objectcount.cpp
+++ b/tests/benchmarks/objectcount/tst_objectcount.cpp
@@ -213,10 +213,6 @@ void tst_ObjectCount::testCount_data()
<< QByteArray()
<< QByteArray("import QtQuick.Controls 2.0; TabButton { }");
- QTest::newRow("TabView")
- << QByteArray("import QtQuick.Controls 1.3; TabView { }")
- << QByteArray("import QtQuick.Controls 2.0; TabView { }");
-
QTest::newRow("TextArea")
<< QByteArray("import QtQuick.Controls 1.3; TextArea { }")
<< QByteArray("import QtQuick.Controls 2.0; TextArea { }");