aboutsummaryrefslogtreecommitdiff
path: root/test/unit/basic_test.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2018-06-07 15:03:46 +0200
committerGitHub <noreply@github.com>2018-06-07 15:03:46 +0200
commitc1a70986674e8129a2a0d1779896386c1fea6a80 (patch)
tree1964e31d65b0703d72a29c3864083eef3a325ed5 /test/unit/basic_test.cpp
parent9c5741d25229308971b83798fae55e3045910521 (diff)
parent3e8a1984e9ee662e74254704275c8e30791a5af0 (diff)
downloadPROJ-c1a70986674e8129a2a0d1779896386c1fea6a80.tar.gz
PROJ-c1a70986674e8129a2a0d1779896386c1fea6a80.zip
Merge pull request #1024 from rouault/googletest
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