summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-08-24 17:58:31 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-29 06:48:23 +0200
commitadcfd88764aab630290479c3b68651690f27f050 (patch)
treec41a815718de90c5d42e44b7dd5db0bedd73e915
parent39f9fd29526ae8f6803314d9fdc8dcf1cb9bd2bc (diff)
Remove QTestLog constructor/destructor definitions
QTestLog is an entirely static class and its constructor and destructor are declared private to prevent accidental construction of an instance of the class. Therefore, the constructor and destructor do not need to be defined. Change-Id: I860f1344c5032091f5c641a20e1656bb52a6f07e Reviewed-on: http://codereview.qt.nokia.com/3466 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r--src/testlib/qtestlog.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/testlib/qtestlog.cpp b/src/testlib/qtestlog.cpp
index 9990bbdb46..36b69e1155 100644
--- a/src/testlib/qtestlog.cpp
+++ b/src/testlib/qtestlog.cpp
@@ -191,14 +191,6 @@ namespace QTest {
}
-QTestLog::QTestLog()
-{
-}
-
-QTestLog::~QTestLog()
-{
-}
-
void QTestLog::enterTestFunction(const char* function)
{
QTEST_ASSERT(QTest::testLogger);