aboutsummaryrefslogtreecommitdiff
path: root/test/unit/basic_test.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-05-31 02:48:39 +0200
committerEven Rouault <even.rouault@spatialys.com>2018-06-07 12:58:08 +0200
commit3e8a1984e9ee662e74254704275c8e30791a5af0 (patch)
tree1964e31d65b0703d72a29c3864083eef3a325ed5 /test/unit/basic_test.cpp
parent9c5741d25229308971b83798fae55e3045910521 (diff)
downloadPROJ-3e8a1984e9ee662e74254704275c8e30791a5af0.tar.gz
PROJ-3e8a1984e9ee662e74254704275c8e30791a5af0.zip
Add googletest 1.8.0 framework in test/googletest, and use it with autoconf builds only (CMake integration to be done)
Diffstat (limited to 'test/unit/basic_test.cpp')
-rw-r--r--test/unit/basic_test.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/unit/basic_test.cpp b/test/unit/basic_test.cpp
index 5a153331..8ee82bf4 100644
--- a/test/unit/basic_test.cpp
+++ b/test/unit/basic_test.cpp
@@ -26,10 +26,14 @@
* DEALINGS IN THE SOFTWARE.
****************************************************************************/
-#include "catch.hpp"
+#include "gtest_include.h"
+
+namespace {
// ---------------------------------------------------------------------------
-TEST_CASE( "dumy" ) {
- CHECK( 1 == 1 );
+TEST( dumy, dummy ) {
+ ASSERT_EQ( 1 , 1 );
}
+
+} // namespace