Searched refs:ResultOf (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock_link_test.h92 // ResultOf(function)
163 using testing::ResultOf;
625 // Tests the linkage of the ResultOf matcher.
627 Matcher<char*> m = ResultOf(&InvokeHelper::StaticIntFromString, Eq(1));
631 // Tests the linkage of the ResultOf matcher.
H A Dgmock-matchers_test.cc125 using testing::ResultOf;
3798 // Tests ResultOf.
3800 // Tests that ResultOf(f, ...) compiles and works as expected when f is a
3805 Matcher<int> matcher = ResultOf(&IntToStringFunction, Eq(string("foo")));
3811 // Tests that ResultOf() can describe itself.
3813 Matcher<int> matcher = ResultOf(&IntToStringFunction, StrEq("foo"));
3821 // Tests that ResultOf() can explain the match result.
3825 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85));
3829 matcher = ResultOf(&IntFunction, GreaterThan(85));
3834 // Tests that ResultOf(
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2304 // Type traits specifying various features of different functors for ResultOf.
2307 // to be compatible with ResultOf.
2326 << "NULL function pointer is passed into ResultOf().";
2334 // Implements the ResultOf() matcher for matching a return value of a
2383 // use stateful callables with ResultOf(), which does't guarantee
3928 // ResultOf(f, StartsWith("hi"))
3939 internal::ResultOfMatcher<Callable> ResultOf( function in namespace:testing
3947 // ResultOf(Function, m)

Completed in 48 milliseconds