diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-01-12 11:54:57 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-01-21 01:23:59 +0100 |
commit | 712b637b581fb4e9bbf5b09f6a048b625e4d28ea (patch) | |
tree | 167903ac6ca8372f666e868fb3a56d9632d4379a /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | |
parent | 2ead10bf55733defe58616de7fe2c28452d00c93 (diff) |
Rename "Basic Types" to "Value Types"
Internally they've been called "value types" all along. Now that we are
adding the ability to define your own value types the "basic" name is
not really fitting anymore. Value types can be quite complex.
Change-Id: I5fb4abec1dd2f0bbf7fb7f08b02db0882490e983
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index 9b1329d15d..ab49fc0c19 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -78,7 +78,7 @@ public: private slots: void initTestCase() override; void arrayIncludesValueType(); - void assignBasicTypes(); + void assignValueTypes(); void assignDate_data(); void assignDate(); void assignFunctionThroughAliasToVarProperty(); @@ -495,11 +495,11 @@ void tst_qqmlecmascript::arrayIncludesValueType() QVERIFY(success.toBool()); } -void tst_qqmlecmascript::assignBasicTypes() +void tst_qqmlecmascript::assignValueTypes() { QQmlEngine engine; { - QQmlComponent component(&engine, testFileUrl("assignBasicTypes.qml")); + QQmlComponent component(&engine, testFileUrl("assignValueTypes.qml")); QScopedPointer<QObject> obj(component.create()); QVERIFY2(obj, qPrintable(component.errorString())); MyTypeObject *object = qobject_cast<MyTypeObject *>(obj.data()); @@ -529,7 +529,7 @@ void tst_qqmlecmascript::assignBasicTypes() QCOMPARE(object->urlProperty(), QUrl("main.qml")); } { - QQmlComponent component(&engine, testFileUrl("assignBasicTypes.2.qml")); + QQmlComponent component(&engine, testFileUrl("assignValueTypes.2.qml")); QScopedPointer<QObject> obj(component.create()); QVERIFY2(obj, qPrintable(component.errorString())); MyTypeObject *object = qobject_cast<MyTypeObject *>(obj.data()); |