Rename QTestLog::addIgnoreMessage to QTestLog::ignoreMessage.
Change-Id: I4cfcd00d444d0812c58afab6ffd43dee37db1340 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>bb10
parent
d9a50fc1dc
commit
1066d185a6
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue