summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestresult_p.h
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-08-25 12:53:07 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-29 06:48:03 +0200
commit058d4afe3d755d2e31e077c26aa338417fa31f72 (patch)
treec4ee008014666afc95559f5cb77f04bb7f40684b /src/testlib/qtestresult_p.h
parent37054f82d826fb043cc813c176dddf390494289c (diff)
Remove mode parameter from QTestLog::addSkip().
The mode parameter is never used by the logging code, so there's little value in passing it there. Change-Id: Ibe2cbe5eaf457a7e3ffd3aea3a4be7c8278c91b6 Reviewed-on: http://codereview.qt.nokia.com/3547 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qtestresult_p.h')
-rw-r--r--src/testlib/qtestresult_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testlib/qtestresult_p.h b/src/testlib/qtestresult_p.h
index a3e265ffac..1ce81854b5 100644
--- a/src/testlib/qtestresult_p.h
+++ b/src/testlib/qtestresult_p.h
@@ -93,8 +93,7 @@ public:
static void setCurrentTestFunction(const char *func);
static void setCurrentTestLocation(TestLocation loc);
static void setCurrentTestObject(const char *name);
- static void addSkip(const char *message, QTest::SkipMode mode,
- const char *file, int line);
+ static void addSkip(const char *message, const char *file, int line);
static bool expectFail(const char *dataIndex, const char *comment,
QTest::TestFailMode mode, const char *file, int line);
static bool verify(bool statement, const char *statementStr, const char *extraInfo,