summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-13 23:42:19 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-13 23:42:19 (GMT)
commitf61e387e754c846539ba1fbd82175fdf80a0b2d9 (patch)
tree4066b808b42f5506ba88aefe97cddedc81c4f934 /tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
parent6ee86ddfcf5ff5fe0aadc835101c1e6f46b2a126 (diff)
downloadQt-f61e387e754c846539ba1fbd82175fdf80a0b2d9.zip
Qt-f61e387e754c846539ba1fbd82175fdf80a0b2d9.tar.gz
Qt-f61e387e754c846539ba1fbd82175fdf80a0b2d9.tar.bz2
Use different ports for network tests to avoid clashes in parallel testing.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
index c033c48..373842b 100644
--- a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
+++ b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
@@ -1307,7 +1307,7 @@ void tst_qdeclarativelanguage::basicRemote_data()
QTest::addColumn<QString>("type");
QTest::addColumn<QString>("error");
- QString serverdir = "http://127.0.0.1:14445/qtest/declarative/qmllanguage/";
+ QString serverdir = "http://127.0.0.1:14447/qtest/declarative/qmllanguage/";
QTest::newRow("no need for qmldir") << QUrl(serverdir+"Test.qml") << "" << "";
QTest::newRow("need qmldir") << QUrl(serverdir+"TestLocal.qml") << "" << "";
@@ -1319,7 +1319,7 @@ void tst_qdeclarativelanguage::basicRemote()
QFETCH(QString, type);
QFETCH(QString, error);
- TestHTTPServer server(14445);
+ TestHTTPServer server(14447);
server.serveDirectory(SRCDIR);
QDeclarativeComponent component(&engine, url);
@@ -1341,7 +1341,7 @@ void tst_qdeclarativelanguage::importsRemote_data()
QTest::addColumn<QString>("type");
QTest::addColumn<QString>("error");
- QString serverdir = "http://127.0.0.1:14445/qtest/declarative/qmllanguage";
+ QString serverdir = "http://127.0.0.1:14447/qtest/declarative/qmllanguage";
QTest::newRow("remote import") << "import \""+serverdir+"\"\nTest {}" << "QDeclarativeRectangle"
<< "";
@@ -1363,7 +1363,7 @@ void tst_qdeclarativelanguage::importsRemote()
QFETCH(QString, type);
QFETCH(QString, error);
- TestHTTPServer server(14445);
+ TestHTTPServer server(14447);
server.serveDirectory(SRCDIR);
testType(qml,type,error);