diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-02-19 06:20:01 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-02-19 06:21:36 (GMT) |
commit | 5ef574960981066c50b390daf4e8fc45b6fe9f83 (patch) | |
tree | 86bfdcedfe9d19d9f7be0006425494d62e5d39a8 /tests/auto/declarative | |
parent | 1d54f0ff2bb7075c8aa27a2be67056d2a2863fc1 (diff) | |
download | Qt-5ef574960981066c50b390daf4e8fc45b6fe9f83.zip Qt-5ef574960981066c50b390daf4e8fc45b6fe9f83.tar.gz Qt-5ef574960981066c50b390daf4e8fc45b6fe9f83.tar.bz2 |
Fix tst_QmlGraphicsLoader::networkRequestUrl autotest.
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qmlgraphicsloader/tst_qmlgraphicsloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlgraphicsloader/tst_qmlgraphicsloader.cpp b/tests/auto/declarative/qmlgraphicsloader/tst_qmlgraphicsloader.cpp index a152ec6..2d3d5ee 100644 --- a/tests/auto/declarative/qmlgraphicsloader/tst_qmlgraphicsloader.cpp +++ b/tests/auto/declarative/qmlgraphicsloader/tst_qmlgraphicsloader.cpp @@ -389,7 +389,7 @@ void tst_QmlGraphicsLoader::networkRequestUrl() { TestHTTPServer server(SERVER_PORT); QVERIFY(server.isValid()); - server.serveDirectory("data"); + server.serveDirectory(SRCDIR "/data"); QmlComponent component(&engine); component.setData(QByteArray("import Qt 4.6\nLoader { source: \"http://127.0.0.1:14445/Rect120x60.qml\" }"), TEST_FILE("")); @@ -441,7 +441,7 @@ void tst_QmlGraphicsLoader::failNetworkRequest() { TestHTTPServer server(SERVER_PORT); QVERIFY(server.isValid()); - server.serveDirectory("data"); + server.serveDirectory(SRCDIR "/data"); QTest::ignoreMessage(QtWarningMsg, "(:-1: Network error for URL http://127.0.0.1:14445/IDontExist.qml) "); |