diff options
author | dac <qt-info@nokia.com> | 2010-08-10 14:17:13 +1000 |
---|---|---|
committer | dac <qt-info@nokia.com> | 2010-08-10 14:17:13 +1000 |
commit | 275414dd718da59545580a86d0271912bfa40d10 (patch) | |
tree | 51c8733d76c6dfe6b979bd53a05bce2917b66290 | |
parent | f935a6e0a87319f1c327a3b5cfb1359c0f11df4b (diff) |
Hack to get results from test functions without test data to
be counted in the totals.
-rw-r--r-- | interpreter/qscriptsystemtest.cpp | 2 |
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(""); |