Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/gtest/internal/custom/README.md is written in an unsupported language. File is not indexed.

0001 # Customization Points
0002 
0003 The custom directory is an injection point for custom user configurations.
0004 
0005 ## Header `gtest.h`
0006 
0007 ### The following macros can be defined:
0008 
0009 *   `GTEST_OS_STACK_TRACE_GETTER_` - The name of an implementation of
0010     `OsStackTraceGetterInterface`.
0011 *   `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
0012     `testing::TempDir` for semantics and signature.
0013 
0014 ## Header `gtest-port.h`
0015 
0016 The following macros can be defined:
0017 
0018 ### Logging:
0019 
0020 *   `GTEST_LOG_(severity)`
0021 *   `GTEST_CHECK_(condition)`
0022 *   Functions `LogToStderr()` and `FlushInfoLog()` have to be provided too.
0023 
0024 ### Threading:
0025 
0026 *   `GTEST_HAS_NOTIFICATION_` - Enabled if Notification is already provided.
0027 *   `GTEST_HAS_MUTEX_AND_THREAD_LOCAL_` - Enabled if `Mutex` and `ThreadLocal`
0028     are already provided. Must also provide `GTEST_DECLARE_STATIC_MUTEX_(mutex)`
0029     and `GTEST_DEFINE_STATIC_MUTEX_(mutex)`
0030 *   `GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)`
0031 *   `GTEST_LOCK_EXCLUDED_(locks)`
0032 
0033 ### Underlying library support features
0034 
0035 *   `GTEST_HAS_CXXABI_H_`
0036 
0037 ### Exporting API symbols:
0038 
0039 *   `GTEST_API_` - Specifier for exported symbols.
0040 
0041 ## Header `gtest-printers.h`
0042 
0043 *   See documentation at `gtest/gtest-printers.h` for details on how to define a
0044     custom printer.