Removed duplicated test case

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@602 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-03-08 08:00:46 +00:00
parent b4b9d732d3
commit 87ea27b96c

View file

@ -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 >