aboutsummaryrefslogtreecommitdiffstats
path: root/tests/UnitTest++/src/ReportAssert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTest++/src/ReportAssert.cpp')
-rw-r--r--tests/UnitTest++/src/ReportAssert.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/UnitTest++/src/ReportAssert.cpp b/tests/UnitTest++/src/ReportAssert.cpp
new file mode 100644
index 0000000..a1810d9
--- /dev/null
+++ b/tests/UnitTest++/src/ReportAssert.cpp
@@ -0,0 +1,10 @@
+#include "AssertException.h"
+
+namespace UnitTest {
+
+void ReportAssert(char const* description, char const* filename, int lineNumber)
+{
+ throw AssertException(description, filename, lineNumber);
+}
+
+}