From 87ea27b96cdcbad0200c1269154e48069efa5025 Mon Sep 17 00:00:00 2001 From: mat007 Date: Fri, 8 Mar 2013 08:00:46 +0000 Subject: [PATCH] Removed duplicated test case git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@602 860be788-9bd5-4423-9f1e-828f051e677b --- test/test_integration.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/test_integration.cpp b/test/test_integration.cpp index 3572110..dcb1acf 100644 --- a/test/test_integration.cpp +++ b/test/test_integration.cpp @@ -186,22 +186,6 @@ BOOST_AUTO_TEST_CASE( mocking_a_template_class_method_is_supported ) BOOST_CHECK( MOCK_VERIFY( m.my_method_t ) ); } -namespace -{ - template< typename T > - struct my_template_converter_mock - { - MOCK_CONVERSION_OPERATOR( T, to_t ) - }; -} - -BOOST_AUTO_TEST_CASE( mocking_a_template_class_conversion_operator_is_supported ) -{ - my_template_converter_mock< int > m; - MOCK_EXPECT( m.to_t ).returns( 42 ); - BOOST_CHECK_EQUAL( 42, m ); -} - namespace { template< typename T >