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
|
|
@ -21,10 +21,10 @@ struct base_class
|
|||
//]
|
||||
|
||||
//[ limitations_throw_specifier_solution
|
||||
MOCK_BASE_CLASS(mock_class, base_class){ void method() throw(){ method_proxy();
|
||||
} // namespace
|
||||
MOCK_METHOD(method_proxy, 0, void(), method)
|
||||
}
|
||||
;
|
||||
MOCK_BASE_CLASS(mock_class, base_class)
|
||||
{
|
||||
void method() throw() { method_proxy(); } // namespace
|
||||
MOCK_METHOD(method_proxy, 0, void(), method)
|
||||
};
|
||||
//]
|
||||
}
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue