plct-lab/third-party/googletest-1.17.0/googlemock/include/gmock/internal/custom
2025-05-19 21:09:08 +08:00
..
gmock-generated-actions.h init: gtest and quiz 1. 2025-05-19 21:09:08 +08:00
gmock-matchers.h init: gtest and quiz 1. 2025-05-19 21:09:08 +08:00
gmock-port.h init: gtest and quiz 1. 2025-05-19 21:09:08 +08:00
README.md init: gtest and quiz 1. 2025-05-19 21:09:08 +08:00

Customization Points

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

Header gmock-port.h

The following macros can be defined:

  • 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)
  • GMOCK_FLAG_GET(flag_name)
  • GMOCK_FLAG_SET(flag_name, value)