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
|
|
@ -9,7 +9,10 @@
|
|||
#include <turtle/mock.hpp>
|
||||
|
||||
namespace {
|
||||
MOCK_CLASS(my_class){ MOCK_METHOD_EXT(my_method, 1, void(int), my_method) };
|
||||
MOCK_CLASS(my_class)
|
||||
{
|
||||
MOCK_METHOD_EXT(my_method, 1, void(int), my_method)
|
||||
};
|
||||
void test_case()
|
||||
{
|
||||
my_class c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue