ef6279fd51
Add an 'info' message type that can be used for messages that are neither warnings (QtWarningMsg), nor for debugging only (QtDebugMsg). This is useful mainly for applications that do not have to adhere to the 'do not print anything by default' paradigm that we have for the Qt libraries itself. [ChangeLog][QtCore][Logging] QtInfoMsg got added as a new QtMsgType. Use the new qInfo(), qCInfo() macros to log to it. Change-Id: I810995d63de46c41a9a99a34d37c0d417fa87a05 Reviewed-by: Jason McDonald <macadder1@gmail.com>
29 lines
1.8 KiB
Plaintext
29 lines
1.8 KiB
Plaintext
********* Start testing of tst_Warnings *********
|
|
Config: Using QtTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
|
|
PASS : tst_Warnings::initTestCase()
|
|
QWARN : tst_Warnings::testWarnings() Warning
|
|
QWARN : tst_Warnings::testWarnings() Warning
|
|
QDEBUG : tst_Warnings::testWarnings() Debug
|
|
QDEBUG : tst_Warnings::testWarnings() Debug
|
|
QINFO : tst_Warnings::testWarnings() Info
|
|
QINFO : tst_Warnings::testWarnings() Info
|
|
QDEBUG : tst_Warnings::testWarnings() Baba
|
|
QDEBUG : tst_Warnings::testWarnings() Baba
|
|
QDEBUG : tst_Warnings::testWarnings() Bubublabla
|
|
QWARN : tst_Warnings::testWarnings() Babablabla
|
|
PASS : tst_Warnings::testWarnings()
|
|
INFO : tst_Warnings::testMissingWarnings() Did not receive message: "Warning0"
|
|
INFO : tst_Warnings::testMissingWarnings() Did not receive message: "Warning1"
|
|
FAIL! : tst_Warnings::testMissingWarnings() Not all expected messages were received
|
|
INFO : tst_Warnings::testMissingWarningsRegularExpression() Did not receive any message matching: "Warning\s\d"
|
|
FAIL! : tst_Warnings::testMissingWarningsRegularExpression() Not all expected messages were received
|
|
INFO : tst_Warnings::testMissingWarningsWithData(first row) Did not receive message: "Warning0"
|
|
INFO : tst_Warnings::testMissingWarningsWithData(first row) Did not receive message: "Warning1"
|
|
FAIL! : tst_Warnings::testMissingWarningsWithData(first row) Not all expected messages were received
|
|
INFO : tst_Warnings::testMissingWarningsWithData(second row) Did not receive message: "Warning0"
|
|
INFO : tst_Warnings::testMissingWarningsWithData(second row) Did not receive message: "Warning1"
|
|
FAIL! : tst_Warnings::testMissingWarningsWithData(second row) Not all expected messages were received
|
|
PASS : tst_Warnings::cleanupTestCase()
|
|
Totals: 3 passed, 4 failed, 0 skipped, 0 blacklisted
|
|
********* Finished testing of tst_Warnings *********
|