aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2012-05-14 13:01:29 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-12 15:40:13 +0200
commit3c0973b75a8ea8ac3339ec00f7d4c09f0ae8983f (patch)
treee5722ec40ad1450a37d698d6062515fb4328b502 /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
parent41e8b0e0d990f34913449de6456a13371f4f9297 (diff)
Remove non-templated qobject module api registration function
Previously, both templated and non-templated qobject module api registration functions were provided as public API. The non-templated version is identical to the templated version, except that bindings which access properties of module apis registered with that function cannot be optimized with v4. This commit removes the non-templated version of the function. Change-Id: Ic417aa241f1172bf6d055bdc7f528d7e9304097b Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r--tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
index 2db8967084..9f4a8576d7 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -3606,17 +3606,6 @@ void tst_qqmlecmascript::moduleApi_data()
<< QVariantList()
<< QStringList()
<< QVariantList();
-
- QTest::newRow("legacy module api registration")
- << testFileUrl("moduleapi/qobjectModuleApiLegacy.qml")
- << QString()
- << QStringList() // warning doesn't occur in the test, but in registerTypes()
- << (QStringList() << "legacyModulePropertyTest" << "legacyModuleMethodTest")
- << (QVariantList() << 20 << 2)
- << QStringList()
- << QVariantList()
- << QStringList()
- << QVariantList();
}
void tst_qqmlecmascript::moduleApi()