summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedebugservice
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-02-03 03:08:01 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-02-03 03:08:01 (GMT)
commit20af4d6777f827eb347ee6c167f67cc2d5dad0a5 (patch)
treea467a19fe3f17cd8f2c5b2154b23b78d1c137232 /tests/auto/declarative/qdeclarativedebugservice
parente44f8f098c8213e7f2b50c6a9b8c222b3a23b6a9 (diff)
downloadQt-20af4d6777f827eb347ee6c167f67cc2d5dad0a5.zip
Qt-20af4d6777f827eb347ee6c167f67cc2d5dad0a5.tar.gz
Qt-20af4d6777f827eb347ee6c167f67cc2d5dad0a5.tar.bz2
On windows xp using a higher port makes the declarativedebug* tests work
I know not why... Reviewed-by: Aaron Kennedy
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 a7e5f20..0911a83 100644
--- a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
+++ b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
@@ -79,11 +79,11 @@ void tst_QDeclarativeDebugService::initTestCase()
QTest::ignoreMessage(QtWarningMsg, "Qml debugging is enabled. Only use this in a safe environment!");
QDeclarativeDebugHelper::enableDebugging();
- QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugServer: Waiting for connection on port 3769...");
+ QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugServer: Waiting for connection on port 13769...");
new QDeclarativeEngine(this);
m_conn = new QDeclarativeDebugConnection(this);
- m_conn->connectToHost("127.0.0.1", 3769);
+ m_conn->connectToHost("127.0.0.1", 13769);
QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugServer: Connection established");
bool ok = m_conn->waitForConnected();
@@ -193,7 +193,7 @@ int main(int argc, char *argv[])
char **_argv = new char*[_argc];
for (int i = 0; i < argc; ++i)
_argv[i] = argv[i];
- _argv[_argc - 1] = "-qmljsdebugger=port:3769";
+ _argv[_argc - 1] = "-qmljsdebugger=port:13769";
QApplication app(_argc, _argv);
tst_QDeclarativeDebugService tc;