summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordac <qt-info@nokia.com>2010-08-10 14:17:13 +1000
committerdac <qt-info@nokia.com>2010-08-10 14:17:13 +1000
commit275414dd718da59545580a86d0271912bfa40d10 (patch)
tree51c8733d76c6dfe6b979bd53a05bce2917b66290
parentf935a6e0a87319f1c327a3b5cfb1359c0f11df4b (diff)
Hack to get results from test functions without test data to
be counted in the totals.
-rw-r--r--interpreter/qscriptsystemtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter/qscriptsystemtest.cpp b/interpreter/qscriptsystemtest.cpp
index a9ed375..afee644 100644
--- a/interpreter/qscriptsystemtest.cpp
+++ b/interpreter/qscriptsystemtest.cpp
@@ -923,7 +923,7 @@ bool QScriptSystemTest::invokeTestMethod(const char *slotName, const char *data)
do {
if (!data || !qstrcmp(data, table.testData(curDataIndex)->dataTag())) {
foundFunction = true;
- test_result.setCurrentTestData(curDataIndex >= dataCount ? ""
+ test_result.setCurrentTestData(curDataIndex >= dataCount ? "..."
: table.testData(curDataIndex)->dataTag());
invokeTestMethodDataEntry(slotName);
test_result.setCurrentTestData("");