Debugger: Move debugging autotests into own folder
authorKai Koehne <kai.koehne@nokia.com>
Sat, 15 Oct 2011 15:43:55 +0000 (17:43 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 17 Oct 2011 07:24:13 +0000 (09:24 +0200)
This mirrors the source tree structure and
makes it easier to run them all in one go.

Change-Id: Ia191790eaec2c409857c41aff479d2ebd144aaf8
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
16 files changed:
tests/auto/declarative/debugger/debugger.pro [new file with mode: 0644]
tests/auto/declarative/debugger/qdeclarativedebugclient/qdeclarativedebugclient.pro [moved from tests/auto/declarative/qdeclarativedebugclient/qdeclarativedebugclient.pro with 100% similarity]
tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp [moved from tests/auto/declarative/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp with 99% similarity]
tests/auto/declarative/debugger/qdeclarativedebugjs/data/test.js [moved from tests/auto/declarative/qdeclarativedebugjs/data/test.js with 100% similarity]
tests/auto/declarative/debugger/qdeclarativedebugjs/data/test.qml [moved from tests/auto/declarative/qdeclarativedebugjs/data/test.qml with 100% similarity]
tests/auto/declarative/debugger/qdeclarativedebugjs/qdeclarativedebugjs.pro [moved from tests/auto/declarative/qdeclarativedebugjs/qdeclarativedebugjs.pro with 100% similarity]
tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp [moved from tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp with 99% similarity]
tests/auto/declarative/debugger/qdeclarativedebugservice/qdeclarativedebugservice.pro [moved from tests/auto/declarative/qdeclarativedebugservice/qdeclarativedebugservice.pro with 100% similarity]
tests/auto/declarative/debugger/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp [moved from tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp with 98% similarity]
tests/auto/declarative/debugger/qdeclarativeenginedebug/qdeclarativeenginedebug.pro [moved from tests/auto/declarative/qdeclarativeenginedebug/qdeclarativeenginedebug.pro with 100% similarity]
tests/auto/declarative/debugger/qdeclarativeenginedebug/tst_qdeclarativeenginedebug.cpp [moved from tests/auto/declarative/qdeclarativeenginedebug/tst_qdeclarativeenginedebug.cpp with 99% similarity]
tests/auto/declarative/debugger/qpacketprotocol/qpacketprotocol.pro [moved from tests/auto/declarative/qpacketprotocol/qpacketprotocol.pro with 100% similarity]
tests/auto/declarative/debugger/qpacketprotocol/tst_qpacketprotocol.cpp [moved from tests/auto/declarative/qpacketprotocol/tst_qpacketprotocol.cpp with 100% similarity]
tests/auto/declarative/debugger/shared/debugutil.cpp [moved from tests/auto/declarative/shared/debugutil.cpp with 100% similarity]
tests/auto/declarative/debugger/shared/debugutil_p.h [moved from tests/auto/declarative/shared/debugutil_p.h with 100% similarity]
tests/auto/declarative/declarative.pro

diff --git a/tests/auto/declarative/debugger/debugger.pro b/tests/auto/declarative/debugger/debugger.pro
new file mode 100644 (file)
index 0000000..3ea5c41
--- /dev/null
@@ -0,0 +1,12 @@
+TEMPLATE = subdirs
+
+PRIVATETESTS += \
+    qdeclarativeenginedebug \
+    qdeclarativedebugclient \
+    qdeclarativedebugservice \
+#    qdeclarativedebugjs \
+    qpacketprotocol
+
+contains(QT_CONFIG, private_tests) {
+    SUBDIRS += $$PRIVATETESTS
+}
@@ -50,9 +50,8 @@
 #include <QtDeclarative/QJSEngine>
 
 //QDeclarativeDebugTest
-#include "../../../shared/util.h"
 #include "../shared/debugutil_p.h"
-#include "../shared/util.h"
+#include "../../shared/util.h"
 
 const char *SEQ = "seq";
 const char *TYPE = "type";
@@ -50,7 +50,8 @@
 #include <private/qdeclarativedebugclient_p.h>
 #include <private/qdeclarativedebugservice_p.h>
 
-#include "../../../shared/util.h"
+#include "../../../../shared/util.h"
+#include "../../shared/util.h"
 #include "../shared/debugutil_p.h"
 
 
@@ -58,7 +58,7 @@
 #include <private/qdeclarativemetatype_p.h>
 #include <private/qdeclarativeproperty_p.h>
 
-#include "../../../shared/util.h"
+#include "../../../../shared/util.h"
 #include "../shared/debugutil_p.h"
 
 Q_DECLARE_METATYPE(QDeclarativeDebugWatch::State)
index 7193182..831061d 100644 (file)
@@ -35,10 +35,6 @@ PRIVATETESTS += \
     qdeclarativebinding \
     qdeclarativechangeset \
     qdeclarativeconnection \
-    qdeclarativeenginedebug \
-    qdeclarativedebugclient \
-    qdeclarativedebugservice \
-#   qdeclarativedebugjs \
     qdeclarativeecmascript \
     qdeclarativeexpression \
     qdeclarativefontloader \
@@ -61,7 +57,6 @@ PRIVATETESTS += \
     qdeclarativevaluetypes \
     qdeclarativeworkerscript \
     qdeclarativexmllistmodel \
-    qpacketprotocol \
     v4
 
 # This test requires the xmlpatterns module
@@ -96,8 +91,8 @@ SGTESTS =  \
 
 
 SUBDIRS += $$PUBLICTESTS
-
 SUBDIRS += $$METATYPETESTS
+SUBDIRS += debugger
 
 contains(QT_CONFIG, private_tests) {
     SUBDIRS += $$PRIVATETESTS