summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptclass
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-27 16:04:47 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-27 16:04:47 (GMT)
commit3d0721b71bbec26a47fd1f909b373fc2cf46bc9e (patch)
treead96916ca9b17deeee0b753606a6bceadbe5c01a /tests/auto/qscriptclass
parenta7d03f13fe84e704e243610af73f7b0a8ab5a340 (diff)
downloadQt-3d0721b71bbec26a47fd1f909b373fc2cf46bc9e.zip
Qt-3d0721b71bbec26a47fd1f909b373fc2cf46bc9e.tar.gz
Qt-3d0721b71bbec26a47fd1f909b373fc2cf46bc9e.tar.bz2
add QEXPECT_FAIL where it fails
Diffstat (limited to 'tests/auto/qscriptclass')
-rw-r--r--tests/auto/qscriptclass/tst_qscriptclass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qscriptclass/tst_qscriptclass.cpp b/tests/auto/qscriptclass/tst_qscriptclass.cpp
index e587b51..d957ee3 100644
--- a/tests/auto/qscriptclass/tst_qscriptclass.cpp
+++ b/tests/auto/qscriptclass/tst_qscriptclass.cpp
@@ -743,6 +743,7 @@ void tst_QScriptClass::enumerate()
for (int x = 0; x < 2; ++x) {
QVERIFY(it.hasNext());
it.next();
+ QEXPECT_FAIL("", "", Abort);
QVERIFY(it.scriptName() == foo);
QVERIFY(it.hasNext());
it.next();