From 22e679ece15b1e8d6232c002867d16637f1f1fa1 Mon Sep 17 00:00:00 2001 From: Toby Tomkins Date: Wed, 12 Oct 2011 11:37:14 +1000 Subject: 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 --- tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro | 2 +- .../declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro b/tests/auto/declarative/qdeclarativebehaviors/qdeclarativebehaviors.pro index 7a2fdd4231..454b86ca53 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 13145297de..693ccccec9 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; -- cgit v1.2.3