path: root/src/testlib/qxmltestlogger_p.h
diff options
authorJason McDonald <>2011-08-24 17:14:21 +1000
committerQt by Nokia <>2011-08-29 03:40:27 +0200
commit865c27460e9779e7e4cafea84db843c3c5b26765 (patch)
treeafd0c83b0c88679ab405ef5de98d710fd9d36cb7 /src/testlib/qxmltestlogger_p.h
parent14c2d4700cf62e8f0a58f206525ab651aad8464c (diff)
Remove circular dependency in testlib logging code
Pass the output file name from the QTestLog to the test logger when commencing logging rather than having the logger call back into the QTestLog. Change-Id: Id484635f9fcfca08a66c92f3442887e9473b6f9b Reviewed-on: Reviewed-by: Qt Sanity Bot <> Reviewed-by: Rohan McGovern <>
Diffstat (limited to 'src/testlib/qxmltestlogger_p.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qxmltestlogger_p.h b/src/testlib/qxmltestlogger_p.h
index dc2f4b8aa1..ad510d5ce0 100644
--- a/src/testlib/qxmltestlogger_p.h
+++ b/src/testlib/qxmltestlogger_p.h
@@ -66,7 +66,7 @@ public:
QXmlTestLogger(XmlMode mode = Complete);
- void startLogging();
+ void startLogging(const char *filename);
void stopLogging();
void enterTestFunction(const char *function);