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/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp | |
parent | 54c6a0101ba2bf3910126c53738e337712e5bb9a (diff) | |
download | Qt-07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7.zip Qt-07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7.tar.gz Qt-07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7.tar.bz2 |
Rename files; fix test.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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()); |