From: Toby Tomkins Date: Wed, 12 Oct 2011 01:37:14 +0000 (+1000) Subject: Modify existing behavior to explicitly test functionality. X-Git-Tag: qt-v5.0.0-alpha1~1395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22e679ece15b1e8d6232c002867d16637f1f1fa1;p=profile%2Fivi%2Fqtdeclarative.git Modify existing behavior to explicitly test functionality. Task-number: QTBUG-21001 Change-Id: I63d0d56cc05328350804ad03cbc9a943a84d03c3 Reviewed-on: http://codereview.qt-project.org/6377 Sanity-Review: Qt Sanity Bot Reviewed-by: Martin Jones --- diff --git a/tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro b/tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro index 7a2fdd4..454b86c 100644 --- a/tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro +++ b/tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro @@ -5,6 +5,6 @@ macx:CONFIG -= app_bundle DEFINES += SRCDIR=\\\"$$PWD\\\" -CONFIG += parallel_test insignificant_test +CONFIG += parallel_test QT += core-private gui-private v8-private declarative-private opengl-private testlib diff --git a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp index 1314529..693cccc 100644 --- a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp +++ b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp @@ -122,6 +122,7 @@ void tst_qdeclarativebehaviors::cppTriggered() innerRect->setProperty("x", 200); QTRY_VERIFY(innerRect->x() > 0); + QEXPECT_FAIL("", "QTBUG-21001", Continue); QTRY_VERIFY(innerRect->x() < 200); //i.e. the behavior has been triggered delete rect;