diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-07 07:02:55 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-07 07:02:55 (GMT) |
commit | c164ba0b9486e0a559ed4daa076416cd9f81962f (patch) | |
tree | bde2940ef1ec4c810acd5322a12160eaf478017e /tests/auto/declarative/qmlecmascript | |
parent | a3a6e1622149654bc9e244e685e8e7dcbdf966b2 (diff) | |
download | Qt-c164ba0b9486e0a559ed4daa076416cd9f81962f.zip Qt-c164ba0b9486e0a559ed4daa076416cd9f81962f.tar.gz Qt-c164ba0b9486e0a559ed4daa076416cd9f81962f.tar.bz2 |
Fix test
Diffstat (limited to 'tests/auto/declarative/qmlecmascript')
-rw-r--r-- | tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp b/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp index c7f0424..34fa5e9 100644 --- a/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp +++ b/tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp @@ -679,7 +679,8 @@ void tst_qmlecmascript::objectToString() MyQmlObject *object = qobject_cast<MyQmlObject*>(component.create()); QVERIFY(object != 0); QMetaObject::invokeMethod(object, "testToString"); - QVERIFY(object->stringProperty().startsWith("Qml Object, \"objName\" MyQmlObject_QML_15")); + QVERIFY(object->stringProperty().startsWith("MyQmlObject_QML_")); + QVERIFY(object->stringProperty().endsWith(", \"objName\")")); } QTEST_MAIN(tst_qmlecmascript) |