Home
last modified time | relevance | path

Searched refs:InvokeArgument (Results 1 – 15 of 15) sorted by relevance

/external/googletest/googlemock/test/
Dgmock-generated-actions_test.cc142 Action<int(int, int(*)())> a = InvokeArgument<1>(); // NOLINT in TEST()
148 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT in TEST()
155 InvokeArgument<0>(10000, 2000, 300, 40, 5); in TEST()
162 InvokeArgument<0>(10000, 2000, 300, 40, 5); in TEST()
169 InvokeArgument<0>(100000, 20000, 3000, 400, 50, 6); in TEST()
176 InvokeArgument<0>(100000, 20000, 3000, 400, 50, 6); in TEST()
185 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7"); in TEST()
194 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8"); in TEST()
203 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8", "9"); in TEST()
212 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8", "9", "0"); in TEST()
[all …]
Dgmock_link_test.h151 using testing::InvokeArgument;
353 EXPECT_CALL(mock, VoidFromFunc(_)).WillOnce(InvokeArgument<0>(&ch)); in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-generated-actions_test.cc171 Action<int(int, int(*)())> a = InvokeArgument<1>(); // NOLINT in TEST()
177 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT in TEST()
184 InvokeArgument<0>(10000, 2000, 300, 40, 5); in TEST()
191 InvokeArgument<0>(10000, 2000, 300, 40, 5); in TEST()
198 InvokeArgument<0>(100000, 20000, 3000, 400, 50, 6); in TEST()
205 InvokeArgument<0>(100000, 20000, 3000, 400, 50, 6); in TEST()
214 InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7"); in TEST()
223 InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8"); in TEST()
232 InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8", "9"); in TEST()
242 InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8", "9", "0"); in TEST()
[all …]
Dgmock_link_test.h148 using testing::InvokeArgument;
348 EXPECT_CALL(mock, VoidFromFunc(_)).WillOnce(InvokeArgument<0>(&ch)); in TEST()
/external/clang/test/Preprocessor/
Dmicrosoft-ext.c22 ACTION_TEMPLATE(InvokeArgument,
/external/googletest/googlemock/include/gmock/
Dgmock-generated-actions.h.pump479 // Various overloads for InvokeArgument<N>().
481 // The InvokeArgument<N>(a1, a2, ..., a_k) action invokes the N-th
491 // InvokeArgument<1>(5, string("Hello"), ByRef(foo))
501 // InvokeArgument<0>(string("Hello"))
506 // InvokeArgument action from temporary values and have it performed
516 // InvokeArgumentAdl - a helper for InvokeArgument.
539 ACTION_TEMPLATE(InvokeArgument,
Dgmock-generated-actions.h1576 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1585 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1594 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1603 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1612 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1621 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1630 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1639 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1648 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
1657 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser_unittest.cc79 using ::testing::InvokeArgument;
804 .WillOnce(DoAll(InvokeArgument<5>(&inserter), Return(0u))); in TEST_F()
808 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(1u))); in TEST_F()
812 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(1u))); in TEST_F()
894 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(0u))); in TEST_F()
899 .WillOnce(DoAll(InvokeArgument<5>(&inserter), Return(1u))); in TEST_F()
903 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(0u))); in TEST_F()
1047 .WillOnce(DoAll(InvokeArgument<5>(&inserter), Return(0u))); in TEST_F()
1057 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(1u))); in TEST_F()
1064 .WillOnce(DoAll(InvokeArgument<4>(&inserter), Return(1u))); in TEST_F()
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-actions.h.pump754 // Various overloads for InvokeArgument<N>().
756 // The InvokeArgument<N>(a1, a2, ..., a_k) action invokes the N-th
766 // InvokeArgument<1>(5, string("Hello"), ByRef(foo))
776 // InvokeArgument<0>(string("Hello"))
781 // InvokeArgument action from temporary values and have it performed
788 ACTION_TEMPLATE(InvokeArgument,
Dgmock-generated-actions.h2261 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2268 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2275 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2282 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2289 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2296 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2303 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2310 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2317 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2324 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-generated-actions.h2196 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2205 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2214 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2223 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2232 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2241 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2250 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2259 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2268 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
2277 ACTION_TEMPLATE(InvokeArgument, in ACTION_TEMPLATE() argument
[all …]
/external/googletest/googlemock/docs/
Dcheat_sheet.md555 | `InvokeArgument<N>(arg1, arg2, ..., argk)` | Invoke the mock function's `N`-th (0-based) argument…
583 In `InvokeArgument<N>(...)`, if an argument needs to be passed by reference,
588 using ::testing::InvokeArgument;
590 InvokeArgument<2>(5, string("Hi"), ByRef(foo))
Dcook_book.md2357 InvokeArgument<N>(arg_1, arg_2, ..., arg_m)
2368 using ::testing::InvokeArgument;
2371 .WillOnce(InvokeArgument<1>(5));
2387 using ::testing::InvokeArgument;
2393 .WillOnce(InvokeArgument<0>(5, ByRef(helper)));
2399 argument in `ByRef()`? Then `InvokeArgument()` will *make a copy* of the
2410 using ::testing::InvokeArgument;
2415 .WillOnce(InvokeArgument<0>(5.0, string("Hi")));
2420 // are kept inside the InvokeArgument action.
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl_unittest.cc269 .WillOnce(testing::InvokeArgument<1>()); in TEST_P()
/external/fmtlib/test/gmock/
Dgmock.h4392 ACTION_TEMPLATE(InvokeArgument,
4399 ACTION_TEMPLATE(InvokeArgument,
4406 ACTION_TEMPLATE(InvokeArgument,
4413 ACTION_TEMPLATE(InvokeArgument,
4420 ACTION_TEMPLATE(InvokeArgument,
4427 ACTION_TEMPLATE(InvokeArgument,
4434 ACTION_TEMPLATE(InvokeArgument,
4441 ACTION_TEMPLATE(InvokeArgument,
4448 ACTION_TEMPLATE(InvokeArgument,
4455 ACTION_TEMPLATE(InvokeArgument,
[all …]