mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Don't use MOCK_*_EXT in tests
This is not really part of the public interface anymore as the variadic functions are enough.
This commit is contained in:
parent
bd0a4cfc73
commit
3fe72f66ea
12 changed files with 55 additions and 56 deletions
|
|
@ -16,8 +16,8 @@
|
|||
namespace {
|
||||
struct my_custom_mock
|
||||
{
|
||||
MOCK_METHOD_EXT(method, MOCK_MAX_ARGS, void(BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, int)), tag)
|
||||
MOCK_METHOD_EXT(method2, MOCK_MAX_ARGS, int(BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, int)), tag_2)
|
||||
MOCK_METHOD(method, MOCK_MAX_ARGS, void(BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, int)), tag)
|
||||
MOCK_METHOD(method2, MOCK_MAX_ARGS, int(BOOST_PP_ENUM(MOCK_MAX_ARGS, IDENTITY, int)), tag_2)
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue