Home
last modified time | relevance | path

Searched refs:ActionInterface (Results 1 - 2 of 2) sorted by relevance

/third_party/googletest/googlemock/include/gmock/
H A Dgmock-actions.h106 // a new action, you should also consider implementing ActionInterface
157 // 1. a class FooAction that implements the ActionInterface interface, and
700 class ActionInterface { class
705 ActionInterface() {} in ActionInterface() function in testing::ActionInterface
706 virtual ~ActionInterface() {} in ~ActionInterface()
715 ActionInterface(const ActionInterface&) = delete;
716 ActionInterface& operator=(const ActionInterface&) = delete;
725 // std::shared_ptr to const ActionInterface<
[all...]
/third_party/googletest/googlemock/test/
H A Dgmock-actions_test.cc511 // Tests that ActionInterface can be implemented by defining the
516 class MyActionImpl : public ActionInterface<MyGlobalFunction> {
540 // ActionInterface<F>.
545 // Tests that Action<F> delegates actual work to ActionInterface<F>.
580 class IsNotZero : public ActionInterface<bool(int)> { // NOLINT
1512 class SubtractAction : public ActionInterface<int(int, int)> {

Completed in 6 milliseconds