summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlog_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtestlog_p.h')
-rw-r--r--src/testlib/qtestlog_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testlib/qtestlog_p.h b/src/testlib/qtestlog_p.h
index 19e8d61..8b8a6ad 100644
--- a/src/testlib/qtestlog_p.h
+++ b/src/testlib/qtestlog_p.h
@@ -62,7 +62,8 @@ class QBenchmarkResult;
class QTestLog
{
public:
- enum LogMode { Plain = 0, XML, LightXML };
+ enum LogMode { Plain = 0, XML, LightXML, XunitXML };
+ enum FlushMode { NoFlush = 0, FLushOn };
static void enterTestFunction(const char* function);
static void leaveTestFunction();
@@ -95,6 +96,8 @@ public:
static void setMaxWarnings(int max);
+ static void setFlushMode(FlushMode mode);
+
private:
QTestLog();
~QTestLog();