diff options
author | 2015-09-02 13:49:59 +0200 | |
---|---|---|
committer | 2015-09-02 13:50:20 +0200 | |
commit | 70bddf12f5f92a71022c049fb6b8f4f8672af974 (patch) | |
tree | da554cf16908c6092dcbc4c01598a318520b5384 /3rdparty/unittest-cpp/UnitTest++/XmlTestReporter.h | |
parent | a7943aa92f2c78c65c5313980c55357a31697b29 (diff) |
Added GoogleTest and convert tests to us it (nw)
Diffstat (limited to '3rdparty/unittest-cpp/UnitTest++/XmlTestReporter.h')
-rw-r--r-- | 3rdparty/unittest-cpp/UnitTest++/XmlTestReporter.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/3rdparty/unittest-cpp/UnitTest++/XmlTestReporter.h b/3rdparty/unittest-cpp/UnitTest++/XmlTestReporter.h deleted file mode 100644 index 63d424e8bbd..00000000000 --- a/3rdparty/unittest-cpp/UnitTest++/XmlTestReporter.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef UNITTEST_XMLTESTREPORTER_H -#define UNITTEST_XMLTESTREPORTER_H - -#include "Config.h" -#ifndef UNITTEST_NO_DEFERRED_REPORTER - -#include "DeferredTestReporter.h" - -#include <iosfwd> - -namespace UnitTest -{ - -class UNITTEST_LINKAGE XmlTestReporter : public DeferredTestReporter -{ -public: - explicit XmlTestReporter(std::ostream& ostream); - - virtual void ReportSummary(int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed); - -private: - XmlTestReporter(XmlTestReporter const&); - XmlTestReporter& operator=(XmlTestReporter const&); - - void AddXmlElement(std::ostream& os, char const* encoding); - void BeginResults(std::ostream& os, int totalTestCount, int failedTestCount, int failureCount, float secondsElapsed); - void EndResults(std::ostream& os); - void BeginTest(std::ostream& os, DeferredTestResult const& result); - void AddFailure(std::ostream& os, DeferredTestResult const& result); - void EndTest(std::ostream& os, DeferredTestResult const& result); - - std::ostream& m_ostream; -}; - -} - -#endif -#endif |