diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2009-10-19 11:57:15 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2009-10-19 12:08:33 (GMT) |
commit | 29ac4be932417880e06febddc23f7f930a790b1b (patch) | |
tree | 0c4507119c966a39f5bf3e75a7d3cdcecaae683b /src/testlib/qtestlog.cpp | |
parent | 4d1c2703874b02872a1b54b49dff4140a19d6ed4 (diff) | |
download | Qt-29ac4be932417880e06febddc23f7f930a790b1b.zip Qt-29ac4be932417880e06febddc23f7f930a790b1b.tar.gz Qt-29ac4be932417880e06febddc23f7f930a790b1b.tar.bz2 |
QTestLib: do not assert if file is not given in logging function
that assert was triggered when running a test with "-vs" to show all the
signals emitted.
Reviewed-by: Andy Shaw
Diffstat (limited to 'src/testlib/qtestlog.cpp')
-rw-r--r-- | src/testlib/qtestlog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testlib/qtestlog.cpp b/src/testlib/qtestlog.cpp index d96755a..5b78976 100644 --- a/src/testlib/qtestlog.cpp +++ b/src/testlib/qtestlog.cpp @@ -319,7 +319,6 @@ void QTestLog::info(const char *msg, const char *file, int line) { QTEST_ASSERT(QTest::testLogger); QTEST_ASSERT(msg); - QTEST_ASSERT(file); QTest::testLogger->addMessage(QAbstractTestLogger::Info, msg, file, line); } |