diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-03-22 01:31:56 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-03-22 01:31:56 (GMT) |
commit | 0dcdb5cf31c99968b2e7e45ddc985997593a865c (patch) | |
tree | 4fb693e987956609d9d7fca57f1ee52c1f268ce7 /tests/auto/declarative/qdeclarativeqt/data | |
parent | 6ed43975f6733265b8b91b00a9a212076d896ef9 (diff) | |
download | Qt-0dcdb5cf31c99968b2e7e45ddc985997593a865c.zip Qt-0dcdb5cf31c99968b2e7e45ddc985997593a865c.tar.gz Qt-0dcdb5cf31c99968b2e7e45ddc985997593a865c.tar.bz2 |
Fix qdeclarativeqt::createQmlObject autotest
The warning message expected in this test changed.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativeqt/data/createQmlObject.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/data/createQmlObject.qml b/tests/auto/declarative/qdeclarativeqt/data/createQmlObject.qml index 9150782..54a3e7d 100644 --- a/tests/auto/declarative/qdeclarativeqt/data/createQmlObject.qml +++ b/tests/auto/declarative/qdeclarativeqt/data/createQmlObject.qml @@ -7,7 +7,7 @@ Item { property bool incorrectArgCount2: false property bool emptyArg: false property bool noParent: false - property bool notReady: false + property bool notAvailable: false property bool runtimeError: false property bool errors: false @@ -20,7 +20,7 @@ Item { emptyArg = (createQmlObject("", root) == null); errors = (createQmlObject("import Qt 4.6\nQtObject{\nproperty int test: 13\nproperty int test: 13\n}", root, "main.qml") == null); noParent = (createQmlObject("import Qt 4.6\nQtObject{\nproperty int test: 13}", 0) == null); - notReady = (createQmlObject("import Qt 4.6\nQtObject{\nBlah{}\n}", root, "http://www.example.com/main.qml") == null); + notAvailable = (createQmlObject("import Qt 4.6\nQtObject{Blah{}}", root) == null); runtimeError = (createQmlObject("import Qt 4.6\nQtObject{property int test\nonTestChanged: QtObject{}\n}", root) == null); var o = createQmlObject("import Qt 4.6\nQtObject{\nproperty int test: 13\n}", root); |