Verify expected warnings in QSettings autotest.
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 13 Mar 2012 06:36:38 +0000 (16:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Mar 2012 05:00:52 +0000 (06:00 +0100)
commit07764b9c15ff9be15730252c9f930cb0b2efe15a
treed86e63d87a63fc9ffd1c22ee955424d72264fe93
parent8a79e8b645bfaa2f9ed00976466198223f6db6dd
Verify expected warnings in QSettings autotest.

Use QTest::ignoreMessage() so that the warnings don't appear in the test
output and so that the test will fail if the warnings are not produced.

Change-Id: I418d78819fc9dbfd7da2a8b6c0a1ebfa967347e2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/io/qsettings/tst_qsettings.cpp