mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed Boost.Mock generation
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@465 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
946d1f6874
commit
fc5b7f7163
29 changed files with 37 additions and 42 deletions
|
|
@ -24,9 +24,7 @@ namespace
|
|||
int untriggered_expectation_count = 0;
|
||||
|
||||
std::string last_context;
|
||||
}
|
||||
namespace mock
|
||||
{
|
||||
|
||||
template< typename Result >
|
||||
struct mock_error
|
||||
{
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ namespace mock
|
|||
{
|
||||
return s << "mock_streamable";
|
||||
}
|
||||
}
|
||||
} // mock
|
||||
|
||||
BOOST_AUTO_TEST_CASE( mock_streamable_type_yields_its_value_when_serialized )
|
||||
{
|
||||
|
|
@ -300,7 +300,7 @@ namespace mock
|
|||
{
|
||||
return s << "ambiguous_convertible_mock_streamable";
|
||||
}
|
||||
}
|
||||
} // mock
|
||||
|
||||
BOOST_AUTO_TEST_CASE( type_ambiguous_convertible_mock_streamable_yields_its_value_when_serialized )
|
||||
{
|
||||
|
|
@ -366,7 +366,7 @@ namespace mock
|
|||
{
|
||||
return s << "template_mock_streamable";
|
||||
}
|
||||
}
|
||||
} // mock
|
||||
|
||||
BOOST_AUTO_TEST_CASE( template_mock_streamable_yields_its_value_when_serialized )
|
||||
{
|
||||
|
|
@ -538,7 +538,7 @@ namespace detail
|
|||
return s << "mock::detail::template_serializable";
|
||||
}
|
||||
}
|
||||
}
|
||||
} // mock
|
||||
|
||||
BOOST_AUTO_TEST_CASE( mock_detail_template_type_serializable_yields_its_value_when_serialized )
|
||||
{
|
||||
|
|
@ -564,7 +564,7 @@ namespace detail
|
|||
return s << "mock::detail::template_streamable";
|
||||
}
|
||||
}
|
||||
}
|
||||
} // mock
|
||||
|
||||
BOOST_AUTO_TEST_CASE( mock_detail_template_template_streamable_yields_its_value_when_serialized )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue