summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-02-23 09:58:07 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2011-02-23 10:01:25 (GMT)
commit4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334 (patch)
tree78f36febee6184fb6ea17aaa0d60bcf2d50a316b /tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
parentad8ff4b6f6204a982d6050a45997d3a27be01fac (diff)
downloadQt-4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334.zip
Qt-4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334.tar.gz
Qt-4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334.tar.bz2
Link expected failures to tasks
These failures are all due to regressions when switching to the JavaScriptCore-based back-end (Qt 4.6). The failure messages now contain the IDs of the corresponding tasks that have more information.
Diffstat (limited to 'tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp')
-rw-r--r--tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp b/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
index 89c5330..62f899c 100644
--- a/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
+++ b/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
@@ -151,7 +151,7 @@ void tst_QScriptContextInfo::nativeFunction()
QVERIFY(info.scriptId() != -1);
QCOMPARE(info.fileName(), fileName);
QCOMPARE(info.lineNumber(), lineNumber);
- QEXPECT_FAIL("", "columnNumber doesn't work", Continue);
+ QEXPECT_FAIL("", "QTBUG-17602: columnNumber doesn't work", Continue);
QCOMPARE(info.columnNumber(), 1);
QCOMPARE(info.functionName(), QString());
QCOMPARE(info.functionEndLineNumber(), -1);
@@ -183,7 +183,7 @@ void tst_QScriptContextInfo::scriptFunction()
QVERIFY(info.scriptId() != -1);
QCOMPARE(info.fileName(), fileName);
QCOMPARE(info.lineNumber(), lineNumber + 1);
- QEXPECT_FAIL("", "columnNumber doesn't work", Continue);
+ QEXPECT_FAIL("", "QTBUG-17602: columnNumber doesn't work", Continue);
QCOMPARE(info.columnNumber(), 2);
QCOMPARE(info.functionName(), QString::fromLatin1("bar"));
QCOMPARE(info.functionStartLineNumber(), lineNumber);
@@ -202,7 +202,7 @@ void tst_QScriptContextInfo::scriptFunction()
QVERIFY(info.scriptId() != -1);
QCOMPARE(info.fileName(), fileName);
QCOMPARE(info.lineNumber(), lineNumber + 3);
- QEXPECT_FAIL("", "columnNumber doesn't work", Continue);
+ QEXPECT_FAIL("", "QTBUG-17602: columnNumber doesn't work", Continue);
QCOMPARE(info.columnNumber(), 1);
QCOMPARE(info.functionName(), QString());
QCOMPARE(info.functionEndLineNumber(), -1);