Rename MOCK_PROTECT_FUNCTION_SIG to MOCK_PROTECT_SIGNATURE

Shorter and avoids the abbreviation
This commit is contained in:
Alexander Grund 2022-01-25 18:05:06 +01:00
parent 95ec79f8f1
commit df10c59d21
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
5 changed files with 13 additions and 13 deletions

View file

@ -221,8 +221,8 @@ namespace member_function_example_8 {
//[ member_function_example_8
MOCK_CLASS(mock_class)
{
// the signature must be wrapped in MOCK_PROTECT_FUNCTION_SIG if the return type contains a comma
MOCK_METHOD(method, 0, MOCK_PROTECT_FUNCTION_SIG(std::map<int, int>()))
// the signature must be wrapped in MOCK_PROTECT_SIGNATURE if the return type contains a comma
MOCK_METHOD(method, 0, MOCK_PROTECT_SIGNATURE(std::map<int, int>()))
};
//]