Update actions.md

Added instruction on which header to include to the top of the page
This commit is contained in:
XAMeLeOH 2024-09-26 01:07:02 +02:00 committed by GitHub
parent 3791582b6f
commit 15de0806de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,10 @@
# Actions Reference
[**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
provided by GoogleTest. All actions are defined in the `::testing` namespace.
mock function should do when invoked.
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