aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-01-29 13:22:35 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-01-29 15:27:15 +0100
commitda9fee11bbf7842d72bbf7c0cd2072b020c71626 (patch)
treeb95ede099d5d2a48a6d8c7eaad14267e6217ef7e /tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
parent4ad7a4d3dabea0c46872be2d6262a9c00e4e5079 (diff)
Required properties: Allow required default properties
This was already possible from C++, this change adds the required changes to the grammar to allow declaring required default properties in QML. Change-Id: I76cb4d70e573bf161676da8295ab257fe95ed4ae Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp')
-rw-r--r--tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
index 64696e7f3f..5027c0825f 100644
--- a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
+++ b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
@@ -1675,10 +1675,6 @@ void tst_qqmllanguage::requiredProperty()
QQmlComponent component(&engine, testFileUrl("requiredProperties.2.qml"));
QVERIFY(!component.errors().empty());
}
- {
- QQmlComponent component(&engine, testFileUrl("requiredProperties.3.qml"));
- QVERIFY(!component.errors().empty());
- }
}
class MyClassWithRequiredProperty : public QObject