diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-05-18 02:28:26 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-05-18 02:29:06 (GMT) |
commit | 07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7 (patch) | |
tree | eb507e498f5b2094a4c70e4ccb29ba8c8e53ee1b /tests/auto | |
parent | 54c6a0101ba2bf3910126c53738e337712e5bb9a (diff) | |
download | Qt-07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7.zip Qt-07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7.tar.gz Qt-07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7.tar.bz2 |
Rename files; fix test.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/scriptString2.qml (renamed from tests/auto/declarative/qdeclarativelanguage/data/scriptString.3.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/scriptString3.qml (renamed from tests/auto/declarative/qdeclarativelanguage/data/scriptString.4.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/scriptString4.qml (renamed from tests/auto/declarative/qdeclarativelanguage/data/scriptString.5.qml) | 0 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp | 7 |
4 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/scriptString.3.qml b/tests/auto/declarative/qdeclarativelanguage/data/scriptString2.qml index 0de3667..0de3667 100644 --- a/tests/auto/declarative/qdeclarativelanguage/data/scriptString.3.qml +++ b/tests/auto/declarative/qdeclarativelanguage/data/scriptString2.qml diff --git a/tests/auto/declarative/qdeclarativelanguage/data/scriptString.4.qml b/tests/auto/declarative/qdeclarativelanguage/data/scriptString3.qml index 0cd82ff..0cd82ff 100644 --- a/tests/auto/declarative/qdeclarativelanguage/data/scriptString.4.qml +++ b/tests/auto/declarative/qdeclarativelanguage/data/scriptString3.qml diff --git a/tests/auto/declarative/qdeclarativelanguage/data/scriptString.5.qml b/tests/auto/declarative/qdeclarativelanguage/data/scriptString4.qml index 3e2f9a4..3e2f9a4 100644 --- a/tests/auto/declarative/qdeclarativelanguage/data/scriptString.5.qml +++ b/tests/auto/declarative/qdeclarativelanguage/data/scriptString4.qml diff --git a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp index 4434e46..b72c75f 100644 --- a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp +++ b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp @@ -1122,16 +1122,17 @@ void tst_qdeclarativelanguage::scriptString() } { - QDeclarativeComponent component(&engine, TEST_FILE("scriptString3.qml")); + QDeclarativeComponent component(&engine, TEST_FILE("scriptString2.qml")); VERIFY_ERRORS(0); MyTypeObject *object = qobject_cast<MyTypeObject*>(component.create()); QVERIFY(object != 0); + QEXPECT_FAIL("", "Variant.asScript() returns incorrect value for string (bug pending)", Continue); QCOMPARE(object->scriptProperty().script(), QString("\"hello world\"")); } { - QDeclarativeComponent component(&engine, TEST_FILE("scriptString4.qml")); + QDeclarativeComponent component(&engine, TEST_FILE("scriptString3.qml")); VERIFY_ERRORS(0); MyTypeObject *object = qobject_cast<MyTypeObject*>(component.create()); @@ -1140,7 +1141,7 @@ void tst_qdeclarativelanguage::scriptString() } { - QDeclarativeComponent component(&engine, TEST_FILE("scriptString5.qml")); + QDeclarativeComponent component(&engine, TEST_FILE("scriptString4.qml")); VERIFY_ERRORS(0); MyTypeObject *object = qobject_cast<MyTypeObject*>(component.create()); |