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

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h139 // WithArg<k>(an_action) creates an action that passes the k-th
146 WithArg(const InnerAction& action) { function in namespace:testing
/gem5/ext/googletest/googlemock/test/
H A Dgmock_link_test.h55 // WithArg
176 using testing::WithArg;
352 // Tests the linkage of the WithArg action.
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString)));
H A Dgmock-more-actions_test.cc67 using testing::WithArg;
480 // Tests using WithArg with an action that takes 1 argument.
482 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT

Completed in 12 milliseconds