Add macros to StatementMacros

This commit is contained in:
Alexander Grund 2020-09-15 14:22:58 +02:00
parent e1ac66a4c1
commit 035ad716bf
No known key found for this signature in database
GPG key ID: E92C451FC21EF13F
35 changed files with 5224 additions and 1208 deletions

View file

@ -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