summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-08-24 13:48:56 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-29 06:48:29 +0200
commita541bd9662b07e53cc2173b12b71bb07f188ace8 (patch)
tree6fc8f1a438f3938d62a6330a5b49d650da3b8316
parentadcfd88764aab630290479c3b68651690f27f050 (diff)
Remove unused methods from QTestLogger.
The setLogFormat() and logFormat() methods are never called -- the log format is set in the call to the constructor and it would not make sense to change it during a test run. Change-Id: I59256f17f28bbc72d86cabfb2a961d2faf0e2d52 Reviewed-on: http://codereview.qt.nokia.com/3435 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r--src/testlib/qtestlogger.cpp10
-rw-r--r--src/testlib/qtestlogger_p.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/src/testlib/qtestlogger.cpp b/src/testlib/qtestlogger.cpp
index 7e9332a4b6..4aa1738a99 100644
--- a/src/testlib/qtestlogger.cpp
+++ b/src/testlib/qtestlogger.cpp
@@ -358,16 +358,6 @@ void QTestLogger::addMessage(MessageTypes type, const char *message, const char
}
}
-void QTestLogger::setLogFormat(TestLoggerFormat fm)
-{
- format = fm;
-}
-
-QTestLogger::TestLoggerFormat QTestLogger::logFormat()
-{
- return format;
-}
-
int QTestLogger::passCount() const
{
return passCounter;
diff --git a/src/testlib/qtestlogger_p.h b/src/testlib/qtestlogger_p.h
index c9b9da1ee8..b3fb1143da 100644
--- a/src/testlib/qtestlogger_p.h
+++ b/src/testlib/qtestlogger_p.h
@@ -87,9 +87,6 @@ class QTestLogger : public QAbstractTestLogger
void addMessage(MessageTypes type, const char *message,
const char *file = 0, int line = 0);
- void setLogFormat(TestLoggerFormat fm);
- TestLoggerFormat logFormat();
-
int passCount() const;
int failureCount() const;
int errorCount() const;