Searched refs:DoAll (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-actions_test.cc | 1034 .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 D | gmock-more-actions_test.cc | 812 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 D | gmock_link_test.h | 136 using testing::DoAll; 389 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
|
H A D | gmock-spec-builders_test.cc | 1789 EXPECT_CALL(*a, ReturnResult(_)).WillOnce(DoAll(Delete(a), Return(Result()))); in TEST()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | actions.md | 101 | `DoAll(a1, a2, ..., an)` | Do all actions `a1` to `an` and return the result of `an` in eac…
|
/freebsd/contrib/googletest/docs/ |
H A D | gmock_cook_book.md | 1916 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 D | gmock_faq.md | 379 doesn't say what the return value should be. You need `DoAll()` to chain a
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-actions.h | 1783 internal::DoAllAction<typename std::decay<Action>::type...> DoAll(
|