Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/UnitTest++/src/DeferredTestResult.h')
-rw-r--r--src/testing/UnitTest++/src/DeferredTestResult.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/testing/UnitTest++/src/DeferredTestResult.h b/src/testing/UnitTest++/src/DeferredTestResult.h
new file mode 100644
index 0000000..6cca77c
--- /dev/null
+++ b/src/testing/UnitTest++/src/DeferredTestResult.h
@@ -0,0 +1,29 @@
+#ifndef UNITTEST_DEFERREDTESTRESULT_H
+#define UNITTEST_DEFERREDTESTRESULT_H
+
+#include <string>
+#include <vector>
+
+namespace UnitTest
+{
+
+struct DeferredTestResult
+{
+ DeferredTestResult();
+ DeferredTestResult(char const* suite, char const* test);
+
+ std::string suiteName;
+ std::string testName;
+ std::string failureFile;
+
+ typedef std::pair< int, std::string > Failure;
+ typedef std::vector< Failure > FailureVec;
+ FailureVec failures;
+
+ float timeElapsed;
+ bool failed;
+};
+
+}
+
+#endif //UNITTEST_DEFERREDTESTRESULT_H