Searched refs:PolymorphicAction (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h405 // The PolymorphicAction class template makes it easy to implement a
427 class PolymorphicAction { class in namespace:testing
429 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {} function in class:testing::PolymorphicAction
457 GTEST_DISALLOW_ASSIGN_(PolymorphicAction);
468 // easier to use than the PolymorphicAction<Impl> constructor as it
473 // PolymorphicAction<TypeOfFoo>(foo);
475 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
476 return PolymorphicAction<Impl>(impl);
1066 inline PolymorphicAction<internal::ReturnNullAction> ReturnNull() {
1071 inline PolymorphicAction<interna
[all...]
H A Dgmock-more-actions.h114 PolymorphicAction<internal::InvokeAction<FunctionImpl> > Invoke(
123 PolymorphicAction<internal::InvokeMethodAction<Class, MethodPtr> > Invoke(
/gem5/ext/googletest/googlemock/test/
H A Dgmock-actions_test.cc61 using testing::PolymorphicAction;
488 // PolymorphicAction<T> where T is the argument's type.
490 PolymorphicAction<ReturnSecondArgumentAction> ReturnSecondArgument() {
494 PolymorphicAction<ReturnZeroFromNullaryFunctionAction>
1169 TEST(IgnoreResultTest, PolymorphicAction) {

Completed in 15 milliseconds