diff options
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/creationtime/tst_creationtime.cpp | 10 | ||||
-rw-r--r-- | tests/benchmarks/objectcount/tst_objectcount.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/benchmarks/creationtime/tst_creationtime.cpp b/tests/benchmarks/creationtime/tst_creationtime.cpp index d186dc83..87869bca 100644 --- a/tests/benchmarks/creationtime/tst_creationtime.cpp +++ b/tests/benchmarks/creationtime/tst_creationtime.cpp @@ -51,8 +51,8 @@ private slots: void initTestCase(); void init(); - void defaultStyle(); - void defaultStyle_data(); + void basicStyle(); + void basicStyle_data(); void fusion(); void fusion_data(); @@ -102,16 +102,16 @@ static void doBenchmark(QQuickStyleHelper &styleHelper, const QUrl &url) qDeleteAll(objects); } -void tst_CreationTime::defaultStyle() +void tst_CreationTime::basicStyle() { QFETCH(QUrl, url); doBenchmark(styleHelper, url); } -void tst_CreationTime::defaultStyle_data() +void tst_CreationTime::basicStyle_data() { QTest::addColumn<QUrl>("url"); - addTestRowForEachControl(styleHelper.engine.data(), "controls/default", "QtQuick/Controls/Default", QStringList() << "ApplicationWindow"); + addTestRowForEachControl(styleHelper.engine.data(), "controls/basic", "QtQuick/Controls/Basic", QStringList() << "ApplicationWindow"); } void tst_CreationTime::fusion() diff --git a/tests/benchmarks/objectcount/tst_objectcount.cpp b/tests/benchmarks/objectcount/tst_objectcount.cpp index 626bb572..cd8b4aee 100644 --- a/tests/benchmarks/objectcount/tst_objectcount.cpp +++ b/tests/benchmarks/objectcount/tst_objectcount.cpp @@ -93,7 +93,7 @@ void tst_ObjectCount::cleanup() static void initTestRows(QQmlEngine *engine) { - addTestRowForEachControl(engine, "controls/default", "QtQuick/Controls/Default"); + addTestRowForEachControl(engine, "controls/basic", "QtQuick/Controls/Basic"); addTestRowForEachControl(engine, "controls/fusion", "QtQuick/Controls/Fusion", QStringList() << "ButtonPanel" << "CheckIndicator" << "RadioIndicator" << "SliderGroove" << "SliderHandle" << "SwitchIndicator"); addTestRowForEachControl(engine, "controls/imagine", "QtQuick/Controls/Imagine"); addTestRowForEachControl(engine, "controls/material", "QtQuick/Controls/Material", QStringList() << "Ripple" << "SliderHandle" << "CheckIndicator" << "RadioIndicator" << "SwitchIndicator" << "BoxShadow" << "ElevationEffect" << "CursorDelegate"); |