diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-12-02 23:33:37 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-12-02 23:33:37 (GMT) |
commit | b682c102457862fcac74fb2981b219269b80b73f (patch) | |
tree | 24a8eb953dad63c3e5c2b14d11e11214213f9859 /tests/auto | |
parent | ee58a711984478f8bc149bc8a5c7ad8ef47112dc (diff) | |
download | Qt-b682c102457862fcac74fb2981b219269b80b73f.zip Qt-b682c102457862fcac74fb2981b219269b80b73f.tar.gz Qt-b682c102457862fcac74fb2981b219269b80b73f.tar.bz2 |
Update error message.
Still correct: just reporting other "end" of the loop.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/anchors/tst_anchors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/anchors/tst_anchors.cpp b/tests/auto/declarative/anchors/tst_anchors.cpp index 44e812a..7378d95 100644 --- a/tests/auto/declarative/anchors/tst_anchors.cpp +++ b/tests/auto/declarative/anchors/tst_anchors.cpp @@ -172,7 +172,7 @@ void tst_anchors::loops() view->setUrl(QUrl("file://" SRCDIR "/data/loop1.qml")); - QString expect = "QML QmlGraphicsText (" + view->url().toString() + ":7:5" + ") Possible anchor loop detected on horizontal anchor."; + QString expect = "QML QmlGraphicsText (" + view->url().toString() + ":6:5" + ") Possible anchor loop detected on horizontal anchor."; QTest::ignoreMessage(QtWarningMsg, expect.toLatin1()); QTest::ignoreMessage(QtWarningMsg, expect.toLatin1()); QTest::ignoreMessage(QtWarningMsg, expect.toLatin1()); @@ -187,7 +187,7 @@ void tst_anchors::loops() view->setUrl(QUrl("file://" SRCDIR "/data/loop2.qml")); - QString expect = "QML QmlGraphicsImage (" + view->url().toString() + ":14:3" + ") Possible anchor loop detected on horizontal anchor."; + QString expect = "QML QmlGraphicsImage (" + view->url().toString() + ":8:3" + ") Possible anchor loop detected on horizontal anchor."; QTest::ignoreMessage(QtWarningMsg, expect.toLatin1()); view->execute(); qApp->processEvents(); |