summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtestlogger.cpp')
-rw-r--r--src/testlib/qtestlogger.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testlib/qtestlogger.cpp b/src/testlib/qtestlogger.cpp
index 2c81a4bec7d..316e89fb551 100644
--- a/src/testlib/qtestlogger.cpp
+++ b/src/testlib/qtestlogger.cpp
@@ -80,6 +80,8 @@ QTestLogger::~QTestLogger()
void QTestLogger::startLogging()
{
+ QAbstractTestLogger::startLogging();
+
switch(format){
case TLF_LightXml:{
logFormatter = new QTestLightXmlStreamer;
@@ -99,7 +101,6 @@ void QTestLogger::startLogging()
}
logFormatter->setLogger(this);
- logFormatter->startStreaming();
}
void QTestLogger::stopLogging()
@@ -161,7 +162,7 @@ void QTestLogger::stopLogging()
logFormatter->output(iterator);
}
- logFormatter->stopStreaming();
+ QAbstractTestLogger::stopLogging();
}
void QTestLogger::enterTestFunction(const char *function)