Home
last modified time | relevance | path

Searched refs:AsStdFunction (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_consume_test.cc97 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/
Dgmock-function-mocker_test.cc817 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/
Dgmock-spec-builders.h1805 std::function<R(Args...)> AsStdFunction() { in AsStdFunction() function
/third_party/googletest/docs/
Dgmock_cook_book.md4265 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