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>
This commit is contained in:
parent
adcfd88764
commit
a541bd9662
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user