From 0f33dab4446b0beee2a7a4e92688c8c4d99ef4ca Mon Sep 17 00:00:00 2001 From: mat007 Date: Wed, 21 Jul 2010 15:14:31 +0000 Subject: [PATCH] Removed MOCK_METHOD_TPL tests as it uses non standard code, see http://gcc.gnu.org/onlinedocs/gcc/Name-lookup.html git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@165 860be788-9bd5-4423-9f1e-828f051e677b --- src/tests/turtle_test/integration_test.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/tests/turtle_test/integration_test.cpp b/src/tests/turtle_test/integration_test.cpp index b17d26b..845e523 100644 --- a/src/tests/turtle_test/integration_test.cpp +++ b/src/tests/turtle_test/integration_test.cpp @@ -55,8 +55,6 @@ namespace { MOCK_METHOD_EXT( my_method, 1, int( int ), my_method ) }; - - void f() {} } BOOST_AUTO_TEST_CASE( basic_mock_object_usage ) @@ -183,13 +181,8 @@ namespace template< typename T > MOCK_BASE_CLASS( my_template_base_class_mock, my_template_base_class< T > ) { -#if (defined __CYGWIN__) && (__GNUC__ == 3) MOCK_METHOD_EXT_TPL( my_method, 1, void( T ), my_method ) MOCK_METHOD_EXT_TPL( my_other_method, 0, void(), my_other_method ) -#else - MOCK_METHOD_TPL( my_method, 1 ) - MOCK_METHOD_TPL( my_other_method, 0 ) -#endif }; }