summaryrefslogtreecommitdiffstats
path: root/testing/gtest/mozilla/gmock-custom/README.md
blob: f6c93f616d62414bc599efa06cd76742eb9977b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Customization Points

The custom directory is an injection point for custom user configurations.

## Header `gmock-port.h`

The following macros can be defined:

### Flag related macros:

*   `GMOCK_DECLARE_bool_(name)`
*   `GMOCK_DECLARE_int32_(name)`
*   `GMOCK_DECLARE_string_(name)`
*   `GMOCK_DEFINE_bool_(name, default_val, doc)`
*   `GMOCK_DEFINE_int32_(name, default_val, doc)`
*   `GMOCK_DEFINE_string_(name, default_val, doc)`