Home
last modified time | relevance | path

Searched refs:DoAll (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1034 .WillRepeatedly(DoAll(Invoke(VoidFunc), DoDefault())); in TEST()
1327 TEST(DoAll, SupportsRefQualifiedActions) { in TEST() argument
1345 TEST(DoAll, ProvidesLvalueReferencesToInitialActions) { in TEST() argument
1360 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](Obj&&) {})) in TEST()
1381 DoAll(InitialAction{}, InitialAction{}, [](const Obj&) {})); in TEST()
1397 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](Obj&) {})) in TEST()
1416 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](Obj&&) {})) in TEST()
1431 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](Obj&) {})); in TEST()
1452 TEST(DoAll, SupportsTypeErasedActions) { in TEST() argument
1459 .WillOnce(DoAll(initial_action, initial_action, final_action)) in TEST()
[all …]
H A Dgmock-more-actions_test.cc812 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
821 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
833 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
846 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
860 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
875 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
894 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
913 action = DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), in TEST()
956 DoAll([&] { ran_first = true; }, [&] { return ran_first; }); in TEST()
963 DoAll(InvokeWithoutArgs([&] { ran_first = true; }), in TEST()
[all …]
H A Dgmock_link_test.h136 using testing::DoAll;
389 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
H A Dgmock-spec-builders_test.cc1789 EXPECT_CALL(*a, ReturnResult(_)).WillOnce(DoAll(Delete(a), Return(Result()))); in TEST()
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md101 | `DoAll(a1, a2, ..., an)` | Do all actions `a1` to `an` and return the result of `an` in eac…
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md1916 using ::testing::DoAll;
1924 .WillOnce(DoAll(action_1,
1948 .WillOnce(DoAll(SaveArg<1>(&actual_array), SaveArg<2>(&actual_proto)));
1987 `SetArgPointee()` with `Return()` using `DoAll()`, remembering to put the
1992 using ::testing::DoAll;
2004 .WillOnce(DoAll(SetArgPointee<0>(5),
2436 using ::testing::DoAll;
2457 .WillOnce(DoAll(IgnoreResult(DoSomething),
2621 using ::testing::DoAll;
2625 Action<bool(int*)> set_flag = DoAll(SetArgPointee<0>(5),
[all …]
H A Dgmock_faq.md379 doesn't say what the return value should be. You need `DoAll()` to chain a
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h1783 internal::DoAllAction<typename std::decay<Action>::type...> DoAll(