diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-01-16 13:44:34 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-16 15:07:33 +0100 |
commit | 7911627f718d0e4876c42adbb5f3e02cf3c9f4eb (patch) | |
tree | 158d79a4b4f17a2a63a4aaa6d018556871e8e188 /tests/auto | |
parent | 04f06f35a99cf83dd573718816a016345aa439dc (diff) |
Console API: Add console.info
Add console.info for the sake of completeness. It's mapped to qDebug(),
just like console.log, console.debug, print.
Change-Id: Ife1cfbfe810d4e5e9175343778dff734a56f4a80
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativeconsole/data/logging.qml | 1 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeconsole/data/logging.qml b/tests/auto/declarative/qdeclarativeconsole/data/logging.qml index 3b3f94613b..b141d7c988 100644 --- a/tests/auto/declarative/qdeclarativeconsole/data/logging.qml +++ b/tests/auto/declarative/qdeclarativeconsole/data/logging.qml @@ -47,6 +47,7 @@ QtObject { Component.onCompleted: { console.debug("console.debug"); console.log("console.log"); + console.info("console.info"); console.warn("console.warn"); console.error("console.error"); diff --git a/tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp b/tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp index 48e9481929..f806d13a24 100644 --- a/tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp +++ b/tests/auto/declarative/qdeclarativeconsole/tst_qdeclarativeconsole.cpp @@ -65,6 +65,7 @@ void tst_qdeclarativeconsole::logging() QTest::ignoreMessage(QtDebugMsg, "console.debug"); QTest::ignoreMessage(QtDebugMsg, "console.log"); + QTest::ignoreMessage(QtDebugMsg, "console.info"); QTest::ignoreMessage(QtWarningMsg, "console.warn"); QTest::ignoreMessage(QtCriticalMsg, "console.error"); |