JSDebugging Auto Test: Fix build break.
authorAurindam Jana <aurindam.jana@nokia.com>
Mon, 5 Sep 2011 15:36:52 +0000 (17:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Sep 2011 15:49:02 +0000 (17:49 +0200)
Change-Id: I7969267e6331f8d348f7206c4aff99c99294e515
Reviewed-on: http://codereview.qt.nokia.com/4216
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>

tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp

index 1704859..bfefe48 100644 (file)
@@ -100,7 +100,7 @@ const char *V8FLAGS = "v8flags";
 const char *VERSION = "version";
 const char *DISCONNECT = "disconnect";
 const char *LISTBREAKPOINTS = "listbreakpoints";
-const char *GC = "gc";
+const char *GARBAGECOLLECTOR = "gc";
 //const char *PROFILE = "profile";
 
 const char *CONNECT = "connect";
@@ -916,7 +916,7 @@ void QJSDebugClient::gc()
     //                    }
     //    }
     VARIANTMAPINIT;
-    jsonVal.setProperty(QLatin1String(COMMAND),QJSValue(QLatin1String(GC)));
+    jsonVal.setProperty(QLatin1String(COMMAND),QJSValue(QLatin1String(GARBAGECOLLECTOR)));
 
     QJSValue args = parser.call(QJSValue(), QJSValueList() << obj);