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
1337 EXPECT_CALL(mock, Call).WillOnce(DoAll(InitialAction{}, FinalAction{})); in TEST()
1345 TEST(DoAll, ProvidesLvalueReferencesToInitialActions) { in TEST() argument
1360 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](Obj&&) {})) in TEST()
1361 .WillRepeatedly(DoAll(InitialAction{}, InitialAction{}, [](Obj&&) {})); in TEST()
1379 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](const Obj&) {})) in TEST()
1381 DoAll(InitialAction{}, InitialAction{}, [](const Obj&) {})); in TEST()
1397 .WillOnce(DoAll(InitialAction{}, InitialAction{}, [](Obj&) {})) in TEST()
1398 .WillRepeatedly(DoAll(InitialAction{}, InitialAction{}, [](Obj&) {})); in TEST()
[all …]
H A Dgmock-more-actions_test.cc850 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
859 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
871 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
884 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
898 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
913 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
932 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
951 action = DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), in TEST()
974 DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2), SetArgPointee<2>('a'), in TEST()
994 DoAll([&] { ran_first = true; }, [&] { return ran_first; }); in TEST()
[all …]
H A Dgmock_link_test.h136 using testing::DoAll;
390 .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.md1910 Want to do more than one thing when a function is called? That's fine. `DoAll()`
1916 using ::testing::DoAll;
1924 .WillOnce(DoAll(action_1,
1933 signature of `DoAll` would not match the signature expected by `WillOnce`, which
1954 .WillOnce(DoAll(SaveArg<1>(&actual_array), SaveArg<2>(&actual_proto)));
1993 `SetArgPointee()` with `Return()` using `DoAll()`, remembering to put the
1998 using ::testing::DoAll;
2010 .WillOnce(DoAll(SetArgPointee<0>(5),
2437 `void`, or perhaps it needs to be used in `DoAll()` and it's not the last in the
2442 using ::testing::DoAll;
[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.h1797 internal::DoAllAction<typename std::decay<Action>::type...> DoAll(