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
|
|
@ -34,10 +34,10 @@ void derived::method(int) {}
|
|||
|
||||
namespace limitations_const_parameter_warning_solution {
|
||||
//[ limitations_const_parameter_warning_solution
|
||||
MOCK_BASE_CLASS(mock_base, base){ void method(const int i){ method_stub(i);
|
||||
} // namespace limitations_const_parameter_warning_solution
|
||||
MOCK_METHOD(method_stub, 1, void(int), method)
|
||||
}
|
||||
;
|
||||
MOCK_BASE_CLASS(mock_base, base)
|
||||
{
|
||||
void method(const int i) { method_stub(i); } // namespace limitations_const_parameter_warning_solution
|
||||
MOCK_METHOD(method_stub, 1, void(int), method)
|
||||
};
|
||||
//]
|
||||
}
|
||||
} // namespace limitations_const_parameter_warning_solution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue