diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-17 17:34:31 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-11-12 09:21:47 +0000 |
commit | bf55d2b1659290753641ee862f814ab8781cfa94 (patch) | |
tree | f0c6f65c589d0e7971977771444375c00390e86d /tests/benchmarks/creationtime/tst_creationtime.cpp | |
parent | fe483bcaa4c5259777c7b1ea83772e041bea8738 (diff) |
Add Universal style
https://dev.windows.com/design
Change-Id: I1d8c633ae246724649a6ed71b300a56ba9572405
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
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); |