aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@nokia.com>2011-12-15 17:52:22 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-16 11:42:57 +0100
commitcac6c2d474ae1bf42de3e8138cda71c9e5391437 (patch)
treef82ccad3abd269d0dfeaee7671a180e743b10672 /tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
parent152a35b027258188bb57db2bafebe5b46d88eb43 (diff)
DeclarativeDebug: Add version info to service plugins
Send the version info of each plugin alongwith the plugin names to client. Change-Id: I223689b32cdc5b0c48a4f508330033352b427937 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp b/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
index f2c028219e..0f9da032e8 100644
--- a/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
+++ b/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
@@ -174,7 +174,6 @@ private slots:
void connect();
void interrupt();
void breakAfterCompile();
- void getDebuggerVersion();
void getVersion();
void getVersionWhenAttaching();
@@ -271,7 +270,6 @@ public:
void connect();
void interrupt();
void breakAfterCompile(bool enabled);
- void debuggerVersion();
void continueDebugging(StepAction stepAction, int stepCount = 1);
void evaluate(QString expr, bool global = false, bool disableBreak = false, int frame = -1, const QVariantMap &addContext = QVariantMap());
@@ -303,7 +301,6 @@ signals:
void connected();
void interruptRequested();
void breakAfterCompileRequested();
- void gotVersion();
void result();
void stopped();
@@ -342,11 +339,6 @@ void QJSDebugClient::breakAfterCompile(bool enabled)
sendMessage(packMessage(BREAKAFTERCOMPILE, request));
}
-void QJSDebugClient::debuggerVersion()
-{
- sendMessage(packMessage(VERSION));
-}
-
void QJSDebugClient::continueDebugging(StepAction action, int count)
{
// { "seq" : <number>,
@@ -959,8 +951,6 @@ void QJSDebugClient::messageReceived(const QByteArray &data)
} else if (type == BREAKAFTERCOMPILE) {
emit breakAfterCompileRequested();
- } else if (type == VERSION) {
- emit gotVersion();
}
}
}
@@ -1089,17 +1079,6 @@ void tst_QDeclarativeDebugJS::breakAfterCompile()
QVERIFY(QDeclarativeDebugTest::waitForSignal(client, SIGNAL(stopped())));
}
-void tst_QDeclarativeDebugJS::getDebuggerVersion()
-{
- QVERIFY(init());
- client->debuggerVersion();
-
- QVERIFY(QDeclarativeDebugTest::waitForSignal(client, SIGNAL(gotVersion())));
-
- QString version(client->response);
- QCOMPARE(version, QLatin1String("1.1"));
-}
-
void tst_QDeclarativeDebugJS::getVersion()
{
//void version()