aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/unitTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/unitTest.cxx')
-rw-r--r--test/unit/unitTest.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/unit/unitTest.cxx b/test/unit/unitTest.cxx
index b0ac9f277..00a6a6f16 100644
--- a/test/unit/unitTest.cxx
+++ b/test/unit/unitTest.cxx
@@ -6,6 +6,7 @@
Partitioning
RunStyles
ContractionState
+ CharClassify
To do:
Decoration
@@ -35,7 +36,8 @@
#include "Platform.h"
-#include <gtest/gtest.h>
+#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
+#include "catch.hpp"
// Needed for PLATFORM_ASSERT in code being tested
@@ -43,8 +45,3 @@ void Platform::Assert(const char *c, const char *file, int line) {
fprintf(stderr, "Assertion [%s] failed at %s %d\n", c, file, line);
abort();
}
-
-int main(int argc, char **argv) {
- testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}