aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest/quicktestresult_p.h
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@nokia.com>2012-02-16 12:18:43 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-22 11:59:23 +0100
commit5b3d57e8f88dd9adc6787043d7f8e0d305ab4860 (patch)
treea4c170f9e4e30e7e87d90e271bc2f5ae549e300f /src/qmltest/quicktestresult_p.h
parent3dd45840c881e90904781169bfd546e1f58eac30 (diff)
CodeCoverage: Fixes regression.
Fixes segmentation fault introduced by qtbase change: 36f5cc848de2525 Coverage data are now saved in QTestLog::stopLogging. Also the current application name needs to be set for a quick test as well. Remove also code coverage call to installCodeCoverage from quicktest due to refactor of the code coverage setup in qtestlib. This should be less error-prone. See qtbase change: 949b7452e0d2402 Change-Id: I13566cc43dfb3af264d3b2be2e5f2617128f4801 Reviewed-by: Caroline Chao <caroline.chao@nokia.com>
Diffstat (limited to 'src/qmltest/quicktestresult_p.h')
-rw-r--r--src/qmltest/quicktestresult_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmltest/quicktestresult_p.h b/src/qmltest/quicktestresult_p.h
index 3bc6f9c7cb..697cfd7c89 100644
--- a/src/qmltest/quicktestresult_p.h
+++ b/src/qmltest/quicktestresult_p.h
@@ -143,6 +143,7 @@ public:
// Helper functions for the C++ main() shell.
static void parseArgs(int argc, char *argv[]);
static void setProgramName(const char *name);
+ static void setCurrentAppname(const char *appname);
static int exitCode();
Q_SIGNALS: