Lines Matching refs:function
34 // This file tests the function mocker classes.
36 #include "gmock/gmock-generated-function-mockers.h"
51 // mock for a function with const arguments, so we don't test such
127 // Makes sure that a mock function parameter can be named.
132 // Makes sure that a mock function parameter can be unnamed.
145 // Tests that the function return type can contain unprotected comma.
170 // Tests that the function return type can contain unprotected comma.
190 // Tests mocking a void-returning function.
196 // Tests mocking a nullary function.
206 // Tests mocking a unary function.
216 // Tests mocking a binary function.
224 // Tests mocking a decimal function.
233 // Tests mocking a function that takes a non-const reference.
242 // Tests mocking a function that takes a const reference.
252 // Tests mocking a function that takes a const variable.
305 // Tests mocking a nullary function with calltype.
315 // Tests mocking a unary function with calltype.
326 // Tests mocking a decimal function with calltype.
389 // Template parameter appears in function parameter.
393 // Template parameter appears in function return type.
407 // Tests that the function return type can contain unprotected comma.
459 // Template parameter appears in function parameter.
463 // Template parameter appears in function return type.
601 auto call = [](const std::function<int(int)> &f, int i) {