mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Adress review comments
This commit is contained in:
parent
279bb2c767
commit
c7873cde4b
13 changed files with 36 additions and 48 deletions
|
|
@ -16,7 +16,7 @@ namespace
|
|||
std::string to_string( const T& t)
|
||||
{
|
||||
std::ostringstream s;
|
||||
s << mock::detail::make_type_name(t); // Typename can be streamed
|
||||
s << mock::detail::make_type_name(t);
|
||||
return s.str();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,17 +22,3 @@ BOOST_AUTO_TEST_CASE( mock_constraint_is_supported_by_compilers_with_variadic_ma
|
|||
BOOST_CHECK( constraint_1( 0 ).c_( 0 ) );
|
||||
BOOST_CHECK( constraint_2( 0, 0 ).c_( 0 ) );
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
MOCK_CONSTRAINT_EXT( constraint_0_ext, 0,, actual == 0 )
|
||||
MOCK_CONSTRAINT_EXT( constraint_1_ext, 1, ( expected ), actual == expected )
|
||||
MOCK_CONSTRAINT_EXT( constraint_2_ext, 2, ( expected_0, expected_1 ), actual == expected_0 || actual == expected_1 )
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( mock_constraint_ext_is_supported_by_all_compilers )
|
||||
{
|
||||
BOOST_CHECK( constraint_0_ext.c_( 0 ) );
|
||||
BOOST_CHECK( constraint_1_ext( 0 ).c_( 0 ) );
|
||||
BOOST_CHECK( constraint_2_ext( 0, 0 ).c_( 0 ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue