summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativedebugservice
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-04-21 11:19:00 +1000
committerYann Bodson <yann.bodson@nokia.com>2010-04-21 11:19:00 +1000
commite79202be457298c48b13eef4f8c35df186216aea (patch)
tree881da3ef8540c2a894eb0e5f72cafa7d15027393 /tests/auto/declarative/qdeclarativedebugservice
parent61f3cb6e79fea0aed80df091013c2228f64955ec (diff)
downloadqt4-tools-e79202be457298c48b13eef4f8c35df186216aea.tar.gz
Use different ports to avoid clashes in parallel testing.
Diffstat (limited to 'tests/auto/declarative/qdeclarativedebugservice')
-rw-r--r--tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
index 80d7f76ec9..5da3359e86 100644
--- a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
+++ b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
@@ -76,11 +76,11 @@ private slots:
void tst_QDeclarativeDebugService::initTestCase()
{
- qputenv("QML_DEBUG_SERVER_PORT", "3768");
+ qputenv("QML_DEBUG_SERVER_PORT", "3769");
new QDeclarativeEngine(this);
m_conn = new QDeclarativeDebugConnection(this);
- m_conn->connectToHost("127.0.0.1", 3768);
+ m_conn->connectToHost("127.0.0.1", 3769);
bool ok = m_conn->waitForConnected();
Q_ASSERT(ok);
@@ -151,7 +151,7 @@ void tst_QDeclarativeDebugService::idForObject()
int idB = QDeclarativeDebugService::idForObject(objB);
QVERIFY(idB != idA);
QCOMPARE(QDeclarativeDebugService::objectForId(idB), objB);
-
+
delete objA;
delete objB;
}