diff options
Diffstat (limited to 'tests/benchmarks/creationtime/tst_creationtime.cpp')
-rw-r--r-- | tests/benchmarks/creationtime/tst_creationtime.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/benchmarks/creationtime/tst_creationtime.cpp b/tests/benchmarks/creationtime/tst_creationtime.cpp index 3eccc654..7ce6947b 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 universal(); + void universal_data(); + void calendar(); void calendar_data(); @@ -93,6 +96,20 @@ void tst_CreationTime::controls_data() addTestRows(QQC2_IMPORT_PATH "/controls"); } +void tst_CreationTime::universal() +{ + QFETCH(QUrl, url); + QQmlComponent component(&engine); + component.loadUrl(url); + doBenchmark(&component); +} + +void tst_CreationTime::universal_data() +{ + QTest::addColumn<QUrl>("url"); + addTestRows(QQC2_IMPORT_PATH "/controls/universal"); +} + void tst_CreationTime::calendar() { QFETCH(QUrl, url); |