From 4b52d866748c848184c3d5f314ba6d84fd8f8d5c Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 24 Aug 2011 15:53:12 +0200 Subject: Add qdeclarativedebugjs autotests to declarative.pro We forgot about this in the original commit. Change-Id: Ic88c6155e0f95bb8d93629489ab6c95b1844bca7 Reviewed-by: TrustMe --- tests/auto/declarative/declarative.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro index 72c32cb..08d59d3 100644 --- a/tests/auto/declarative/declarative.pro +++ b/tests/auto/declarative/declarative.pro @@ -39,6 +39,7 @@ contains(QT_CONFIG, private_tests) { qdeclarativedebug \ qdeclarativedebugclient \ qdeclarativedebugservice \ + qdeclarativedebugjs \ qdeclarativedom \ qdeclarativeecmascript \ qdeclarativeflickable \ -- cgit v0.12 From 3074b010734f8bc3e982c42473e6c39a63e4cce0 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 25 Aug 2011 15:37:05 +0200 Subject: QDeclarativeDebugJs: Disable unstable autotest The application might get the COVERAGE false message before anything is executed. Change-Id: Iafa26e527757a76a1e8502c362ba767acfe87e75 Reviewed-by: Aurindam Jana --- .../declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp b/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp index 1990c0d..f841272 100644 --- a/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp +++ b/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp @@ -1431,8 +1431,10 @@ void tst_QDeclarativeDebugJS::testCoverageRun() client.startCoverageRun(); client.startCoverageCompleted(); - QVERIFY(QDeclarativeDebugTest::waitForSignal(&client, SIGNAL(coverageScriptLoaded()))); - QVERIFY(QDeclarativeDebugTest::waitForSignal(&client, SIGNAL(coveragePosChanged()))); + + // The app might get "COVERAGE false" before anything is actually executed + //QVERIFY(QDeclarativeDebugTest::waitForSignal(&client, SIGNAL(coverageScriptLoaded()))); + //QVERIFY(QDeclarativeDebugTest::waitForSignal(&client, SIGNAL(coveragePosChanged()))); //QVERIFY(QDeclarativeDebugTest::waitForSignal(&client, SIGNAL(coverageFuncEntered()))); //QVERIFY(QDeclarativeDebugTest::waitForSignal(&client, SIGNAL(coverageFuncExited()))); } -- cgit v0.12