Add missing assertions.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 24 Aug 2011 08:20:44 +0000 (18:20 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 29 Aug 2011 04:48:18 +0000 (06:48 +0200)
commit39f9fd29526ae8f6803314d9fdc8dcf1cb9bd2bc
treea6f242113e0411ce061289502bb92052ea67ffde
parent603a5025d8b671185c6fcf8672970a4e2881d64d
Add missing assertions.

For both QTestLog::addFail() and QTestLog::addIgnoreMessage(), passing
a null message does not make sense and is therefore an error that
should be brought to the developer's attention.

Change-Id: Ib09ad90b70d74f7432c08708db8a70dee008cce4
Reviewed-on: http://codereview.qt.nokia.com/3470
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
src/testlib/qtestlog.cpp