Searched refs:AsStdFunction (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_consume_test.cc | 97 Consume(tree, consume.AsStdFunction()); in TEST() 114 Consume(CordRep::Ref(tree), consume.AsStdFunction()); in TEST() 132 ReverseConsume(tree, consume.AsStdFunction()); in TEST() 149 ReverseConsume(CordRep::Ref(tree), consume.AsStdFunction()); in TEST() 165 Consume(tree, consume.AsStdFunction()); in TEST()
|
/third_party/googletest/googlemock/test/ |
D | gmock-function-mocker_test.cc | 817 TEST(MockMethodMockFunctionTest, AsStdFunction) { in TEST() argument 824 EXPECT_EQ(-1, call(foo.AsStdFunction(), 1)); in TEST() 825 EXPECT_EQ(-2, call(foo.AsStdFunction(), 2)); in TEST() 832 int& ref = foo.AsStdFunction()(); in TEST() 845 EXPECT_EQ(-1, call(foo.AsStdFunction(), i)); in TEST()
|
/third_party/googletest/googlemock/include/gmock/ |
D | gmock-spec-builders.h | 1805 std::function<R(Args...)> AsStdFunction() { in AsStdFunction() function
|
/third_party/googletest/docs/ |
D | gmock_cook_book.md | 4265 It also has a `AsStdFunction()` method, which creates a `std::function` proxy 4269 std::function<R(T1, ..., Tn)> AsStdFunction(); 4274 `AsStdFunction()` to the code you are testing. For example: 4285 Foo(mock_function.AsStdFunction()); 4295 Remember that function objects created with `AsStdFunction()` are just
|