From 3e8a1984e9ee662e74254704275c8e30791a5af0 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 31 May 2018 02:48:39 +0200 Subject: Add googletest 1.8.0 framework in test/googletest, and use it with autoconf builds only (CMake integration to be done) --- test/unit/basic_test.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'test/unit/basic_test.cpp') 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 -- cgit v1.2.3