mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Update actions.md
Added instruction on which header to include to the top of the page
This commit is contained in:
parent
3791582b6f
commit
15de0806de
@ -1,8 +1,10 @@
|
|||||||
# Actions Reference
|
# Actions Reference
|
||||||
|
|
||||||
[**Actions**](../gmock_for_dummies.md#actions-what-should-it-do) specify what a
|
[**Actions**](../gmock_for_dummies.md#actions-what-should-it-do) specify what a
|
||||||
mock function should do when invoked. This page lists the built-in actions
|
mock function should do when invoked.
|
||||||
provided by GoogleTest. All actions are defined in the `::testing` namespace.
|
This page lists the built-in actions provided by GoogleTest.
|
||||||
|
To use them, add #include <gmock/gmock.h>.
|
||||||
|
All actions are defined in the `::testing` namespace.
|
||||||
|
|
||||||
## Returning a Value
|
## Returning a Value
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user