diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/benchmarks/creationtime/tst_creationtime.cpp | 3 | ||||
-rw-r--r-- | tests/benchmarks/objectcount/tst_objectcount.cpp | 4 |
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 { }"); |