aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/creationtime/tst_creationtime.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/benchmarks/creationtime/tst_creationtime.cpp b/tests/benchmarks/creationtime/tst_creationtime.cpp
index 4909f080..25533e95 100644
--- a/tests/benchmarks/creationtime/tst_creationtime.cpp
+++ b/tests/benchmarks/creationtime/tst_creationtime.cpp
@@ -47,6 +47,9 @@ private slots:
void controls();
void controls_data();
+ void imagine();
+ void imagine_data();
+
void material();
void material_data();
@@ -125,6 +128,18 @@ void tst_CreationTime::controls_data()
addTestRows(&engine, "controls", "QtQuick/Controls.2", QStringList() << "CheckIndicator" << "RadioIndicator" << "SwitchIndicator");
}
+void tst_CreationTime::imagine()
+{
+ QFETCH(QUrl, url);
+ doBenchmark(&engine, url);
+}
+
+void tst_CreationTime::imagine_data()
+{
+ QTest::addColumn<QUrl>("url");
+ addTestRows(&engine, "controls/imagine", "QtQuick/Controls.2/Imagine");
+}
+
void tst_CreationTime::material()
{
QFETCH(QUrl, url);