aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/objectcount/tst_objectcount.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-12 16:25:11 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-10-13 07:29:09 +0000
commitb6c3295a4daa521a84079eef558140e15e3fd724 (patch)
tree91172b1050a82cd40a923229f07c9139f06343f1 /tests/benchmarks/objectcount/tst_objectcount.cpp
parent0de74fe58b5e3d031dd60f5fb90ef556b2c1eb2d (diff)
tst_objectcount: add missing controls
Change-Id: I943ab2c7ca7d183e334f9feac15b99a23e47eeef Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/objectcount/tst_objectcount.cpp')
-rw-r--r--tests/benchmarks/objectcount/tst_objectcount.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/benchmarks/objectcount/tst_objectcount.cpp b/tests/benchmarks/objectcount/tst_objectcount.cpp
index 039b5d1f..7d419c81 100644
--- a/tests/benchmarks/objectcount/tst_objectcount.cpp
+++ b/tests/benchmarks/objectcount/tst_objectcount.cpp
@@ -157,6 +157,14 @@ void tst_ObjectCount::testCount_data()
<< QByteArray("import QtQuick.Controls 1.3; CheckBox { }")
<< QByteArray("import Qt.labs.controls 1.0; CheckBox { }");
+ QTest::newRow("Dial")
+ << QByteArray("import QtQuick.Extras 1.3; Dial { }")
+ << QByteArray("import Qt.labs.controls 1.0; Dial { }");
+
+ QTest::newRow("Drawer")
+ << QByteArray()
+ << QByteArray("import Qt.labs.controls 1.0; Drawer { }");
+
QTest::newRow("Frame")
<< QByteArray()
<< QByteArray("import Qt.labs.controls 1.0; Frame { }");
@@ -201,6 +209,10 @@ void tst_ObjectCount::testCount_data()
<< QByteArray("import QtQuick.Controls 1.3; StackView { }")
<< QByteArray("import Qt.labs.controls 1.0; StackView { }");
+ QTest::newRow("SwipeView")
+ << QByteArray()
+ << QByteArray("import Qt.labs.controls 1.0; SwipeView { }");
+
QTest::newRow("Switch")
<< QByteArray("import QtQuick.Controls 1.3; Switch { }")
<< QByteArray("import Qt.labs.controls 1.0; Switch { }");
@@ -213,6 +225,10 @@ void tst_ObjectCount::testCount_data()
<< QByteArray()
<< QByteArray("import Qt.labs.controls 1.0; TabButton { }");
+ QTest::newRow("TabView")
+ << QByteArray("import QtQuick.Controls 1.3; TabView { }")
+ << QByteArray();
+
QTest::newRow("TextArea")
<< QByteArray("import QtQuick.Controls 1.3; TextArea { }")
<< QByteArray("import Qt.labs.controls 1.0; TextArea { }");
@@ -228,6 +244,10 @@ void tst_ObjectCount::testCount_data()
QTest::newRow("ToolButton")
<< QByteArray("import QtQuick.Controls 1.3; ToolButton { }")
<< QByteArray("import Qt.labs.controls 1.0; ToolButton { }");
+
+ QTest::newRow("Tumbler")
+ << QByteArray("import QtQuick.Extras 1.3; Tumbler { }")
+ << QByteArray("import Qt.labs.controls 1.0; Tumbler { }");
}
QTEST_MAIN(tst_ObjectCount)