Lines Matching defs:action
315 // Tests using Invoke(f) as an action of a compatible type.
428 // Tests using Invoke(f) as an action of a compatible type.
436 // Tests using WithoutArgs with an action that takes no argument.
442 // Tests using WithArg with an action that takes 1 argument.
789 // When action 'a' is constructed, it makes a copy of the temporary
844 Action<int(int*, int*, char*, char*)> action = // NOLINT
847 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b)));
858 Action<int(int*, int*, char*, char*, char*)> action = // NOLINT
861 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c)));
873 Action<int(int*, int*, char*, char*, char*, char*)> action = // NOLINT
877 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d)));
892 action =
896 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d, &e)));
912 action = DoAll(SetArgPointee<0>(1), SetArgPointee<1>(2),
916 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d, &e, &f)));
934 action =
940 3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d, &e, &f, &g)));
992 // Tests that ACTION() can define an action that doesn't reference the
1004 // Tests that ACTION() can define an action that returns void.
1124 // Tests that ACTION_P can define a parameterized action.
1145 // Tests that a parameterized action can be used in any mock function
1261 // Tests that the action body can promote the parameter types.
1282 // Defines a generic action that doesn't restrict the types of its
1373 // Tests that an ACTION_P*() action can be explicitly instantiated