# Customization Points
The custom directory is an injection point for custom user configurations.
## Header `gtest.h`
### The following macros can be defined:
* `GTEST_OS_STACK_TRACE_GETTER_` - The name of an implementation of
`OsStackTraceGetterInterface`.
* `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
`testing::TempDir` for semantics and signature.
## Header `gtest-port.h`
The following macros can be defined:
### Logging:
* `GTEST_LOG_(severity)`
* `GTEST_CHECK_(condition)`
* Functions `LogToStderr()` and `FlushInfoLog()` have to be provided too.
### Threading:
* `GTEST_HAS_NOTIFICATION_` - Enabled if Notification is already provided.
* `GTEST_HAS_MUTEX_AND_THREAD_LOCAL_` - Enabled if `Mutex` and `ThreadLocal`
are already provided. Must also provide `GTEST_DECLARE_STATIC_MUTEX_(mutex)`
and `GTEST_DEFINE_STATIC_MUTEX_(mutex)`
* `GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)`
* `GTEST_LOCK_EXCLUDED_(locks)`
### Underlying library support features
* `GTEST_HAS_CXXABI_H_`
### Exporting API symbols:
* `GTEST_API_` - Specifier for exported symbols.
## Header `gtest-printers.h`
* See documentation at `gtest/gtest-printers.h` for details on how to define a
custom printer.
没有合适的资源?快使用搜索试试~ 我知道了~
GoogleTest测试C++框架
共183个文件
h:38个
cmake:27个
make:15个
需积分: 0 1 下载量 15 浏览量
2024-03-01
22:15:00
上传
评论
收藏 2.21MB ZIP 举报
温馨提示
环境配置要求: MinGW,x86_64-posix-sjlj; Cmake ,Windows x64 Installer
资源推荐
资源详情
资源评论
收起资源包目录
GoogleTest测试C++框架 (183个子文件)
libgtest.a 3.88MB
libgmock.a 1.14MB
objects.a 294KB
objects.a 128KB
objects.a 98KB
libgtest_main.a 4KB
libgmock_main.a 4KB
CMakeDetermineCompilerABI_CXX.bin 53KB
CMakeDetermineCompilerABI_CXX.bin 53KB
CMakeDetermineCompilerABI_CXX.bin 53KB
CMakeDetermineCompilerABI_C.bin 53KB
CMakeDetermineCompilerABI_C.bin 53KB
CMakeDetermineCompilerABI_C.bin 53KB
CMakeCCompilerId.c 28KB
CMakeCCompilerId.c 28KB
CMakeCCompilerId.c 28KB
cmake.check_cache 86B
cmake.check_cache 86B
cmake.check_cache 86B
Makefile.cmake 10KB
CMakeCXXCompiler.cmake 6KB
CMakeCXXCompiler.cmake 6KB
CMakeCXXCompiler.cmake 6KB
CMakeCCompiler.cmake 3KB
CMakeCCompiler.cmake 3KB
CMakeCCompiler.cmake 3KB
Makefile.cmake 3KB
Makefile.cmake 3KB
cmake_install.cmake 2KB
cmake_install.cmake 2KB
cmake_install.cmake 2KB
DependInfo.cmake 2KB
DependInfo.cmake 1KB
DependInfo.cmake 1KB
cmake_clean.cmake 940B
CMakeDirectoryInformation.cmake 725B
CMakeDirectoryInformation.cmake 725B
CMakeDirectoryInformation.cmake 685B
cmake_clean.cmake 624B
cmake_clean.cmake 582B
CMakeSystem.cmake 395B
CMakeSystem.cmake 395B
CMakeSystem.cmake 395B
CMakeRCCompiler.cmake 250B
CMakeRCCompiler.cmake 250B
CMakeRCCompiler.cmake 250B
my_googletest.code-workspace 1KB
CMakeCXXCompilerId.cpp 27KB
CMakeCXXCompilerId.cpp 27KB
CMakeCXXCompilerId.cpp 27KB
queue_test.cpp 721B
main.cpp 620B
add_test.cpp 455B
s.cpp 223B
p.cpp 210B
add.cpp 107B
queue.cpp 69B
queue_test.cpp.obj.d 37KB
add_test.cpp.obj.d 37KB
main.cpp.obj.d 29KB
s.cpp.obj.d 11KB
add.cpp.obj.d 11KB
s.cpp.obj.d 11KB
p.cpp.obj.d 11KB
add.cpp.obj.d 11KB
p.cpp.obj.d 11KB
queue.cpp.obj.d 5KB
queue_test.exe 2.36MB
add_test.exe 2.3MB
demo.exe 109KB
a.exe 53KB
a.exe 53KB
a.exe 53KB
a.exe 53KB
a.exe 53KB
a.exe 53KB
gmock-matchers.h 205KB
gtest.h 90KB
gtest-port.h 90KB
gmock-actions.h 87KB
gmock-spec-builders.h 80KB
gtest-internal.h 62KB
gtest-printers.h 41KB
gmock-more-actions.h 38KB
gtest-param-util.h 37KB
gtest-matchers.h 32KB
gmock-function-mocker.h 25KB
gtest-param-test.h 23KB
gmock-internal-utils.h 19KB
gtest-typed-test.h 16KB
gtest-death-test.h 15KB
gtest-death-test-internal.h 13KB
gmock-pp.h 13KB
gtest-spi.h 13KB
gtest_pred_impl.h 12KB
gmock-nice-strict.h 11KB
gtest-filepath.h 10KB
gtest-message.h 9KB
gtest-assertion-result.h 8KB
gtest-type-util.h 7KB
共 183 条
- 1
- 2
资源评论
自然醒欧
- 粉丝: 1279
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功