Home
last modified time | relevance | path

Searched defs:PolymorphicFunctor (Results 1 – 3 of 3) sorted by relevance

/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc3460 struct PolymorphicFunctor { struct
3461 typedef int result_type;
3462 int operator()(int n) { return n; } in operator ()()
3463 int operator()(const char* s) { return static_cast<int>(strlen(s)); } in operator ()()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4551 struct PolymorphicFunctor { struct
4552 typedef int result_type;
4553 int operator()(int n) { return n; } in operator ()()
4554 int operator()(const char* s) { return static_cast<int>(strlen(s)); } in operator ()()
4555 std::string operator()(int *p) { return p ? "good ptr" : "null"; } in operator ()()
Dgmock-actions_test.cc1406 TEST(FunctorActionTest, PolymorphicFunctor) { in TEST() argument