summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-05-18 02:28:26 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-05-18 02:29:06 (GMT)
commit07fc1c3a97689f1f72e4e9b6d7d1bad1a391a9a7 (patch)
treeeb507e498f5b2094a4c70e4ccb29ba8c8e53ee1b /tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
parent54c6a0101ba2bf3910126c53738e337712e5bb9a (diff)
downloadQt-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.cpp7
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());