mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Add macros to StatementMacros
This commit is contained in:
parent
e1ac66a4c1
commit
035ad716bf
35 changed files with 5224 additions and 1208 deletions
|
|
@ -27,8 +27,11 @@ void function(base_class&); // the function will call 'method' with a functor to
|
|||
#include <boost/test/auto_unit_test.hpp>
|
||||
|
||||
namespace {
|
||||
MOCK_BASE_CLASS(mock_class, base_class){ MOCK_METHOD(method, 1) };
|
||||
}
|
||||
MOCK_BASE_CLASS(mock_class, base_class)
|
||||
{
|
||||
MOCK_METHOD(method, 1)
|
||||
};
|
||||
} // namespace
|
||||
|
||||
BOOST_AUTO_TEST_CASE(how_to_invoke_a_functor_passed_as_parameter_of_a_mock_method)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue