summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestresult_p.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-09-25 16:23:45 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-26 18:45:16 +0200
commita3530859e9a7423db0b6839f15538f248aaf4a79 (patch)
tree72bc9467a84a8e74b212d9539201087777b06e11 /src/testlib/qtestresult_p.h
parent0bf30a7caba53aa85dcbdc877ace5e25bf45b526 (diff)
Expose QTest::currentAppName() and remove hard-coded argv[0] in tests
Except where we're actually testing QCoreApplication::applicationName() and friends. Change-Id: I25514884c11f43a4f82b1f818f822dc3d79f69a3 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/testlib/qtestresult_p.h')
-rw-r--r--src/testlib/qtestresult_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qtestresult_p.h b/src/testlib/qtestresult_p.h
index 769800d90d..ea8173b169 100644
--- a/src/testlib/qtestresult_p.h
+++ b/src/testlib/qtestresult_p.h
@@ -93,8 +93,8 @@ public:
static void setSkipCurrentTest(bool value);
static bool skipCurrentTest();
- static void setCurrentAppname(const char *appname);
- static const char *currentAppname();
+ static void setCurrentAppName(const char *appName);
+ static const char *currentAppName();
private:
Q_DISABLE_COPY(QTestResult)