Rename QTestLog::addIgnoreMessage to QTestLog::ignoreMessage.

Change-Id: I4cfcd00d444d0812c58afab6ffd43dee37db1340
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Jason McDonald 2012-01-13 12:55:37 +10:00 committed by Qt by Nokia
parent d9a50fc1dc
commit 1066d185a6
3 changed files with 4 additions and 3 deletions

View File

@ -419,7 +419,7 @@ int QTestLog::verboseLevel()
return QTest::verbosity;
}
void QTestLog::addIgnoreMessage(QtMsgType type, const char *msg)
void QTestLog::ignoreMessage(QtMsgType type, const char *msg)
{
QTEST_ASSERT(msg);

View File

@ -73,7 +73,8 @@ public:
static void addXPass(const char *msg, const char *file, int line);
static void addSkip(const char *msg, const char *file, int line);
static void addBenchmarkResult(const QBenchmarkResult &result);
static void addIgnoreMessage(QtMsgType type, const char *msg);
static void ignoreMessage(QtMsgType type, const char *msg);
static int unhandledIgnoreMessages();
static void printUnhandledIgnoreMessages();

View File

@ -330,7 +330,7 @@ int QTestResult::skipCount()
void QTestResult::ignoreMessage(QtMsgType type, const char *msg)
{
QTestLog::addIgnoreMessage(type, msg);
QTestLog::ignoreMessage(type, msg);
}
bool QTestResult::testFailed()