# 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:
### Flag related macros:
* `GTEST_FLAG(flag_name)`
* `GTEST_USE_OWN_FLAGFILE_FLAG_` - Define to 0 when the system provides its
own flagfile flag parsing.
* `GTEST_DECLARE_bool_(name)`
* `GTEST_DECLARE_int32_(name)`
* `GTEST_DECLARE_string_(name)`
* `GTEST_DEFINE_bool_(name, default_val, doc)`
* `GTEST_DEFINE_int32_(name, default_val, doc)`
* `GTEST_DEFINE_string_(name, default_val, doc)`
### 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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
demo.rar (86个子文件)
demo3
.vs
demo3
v15
Browse.VC.db 5.45MB
.suo 36KB
ipch
AutoPCH
2ad875c391524360
DEMO.ipch 84.44MB
99f377df1f58bcb0
DEMO3.ipch 29.25MB
af21614bb308835e
TURTLE.ipch 27.75MB
64dd9d877f004993
DEMO3.ipch 29.75MB
6bcbb7ae29d60fd3
DEMO3.ipch 84.38MB
de5de2f7bdb94ba3
DEMO.ipch 27.75MB
c59cff337ceacff0
22.ipch 27.75MB
80a9739653b590f6
TURTEL.ipch 27.75MB
demo3.sln 1KB
demo3
gtest
gtest-test-part.h 7KB
gtest-death-test.h 14KB
internal
gtest-filepath.h 10KB
gtest-internal.h 50KB
custom
gtest-printers.h 2KB
gtest-port.h 2KB
README.md 2KB
gtest.h 2KB
gtest-type-util.h 182KB
gtest-param-util-generated.h.pump 9KB
gtest-string.h 7KB
gtest-port-arch.h 4KB
gtest-tuple.h.pump 9KB
gtest-death-test-internal.h 11KB
gtest-linked_ptr.h 8KB
gtest-port.h 93KB
gtest-param-util-generated.h 213KB
gtest-type-util.h.pump 10KB
gtest-param-util.h 27KB
gtest-tuple.h 28KB
gtest-typed-test.h 13KB
gtest-param-test.h 75KB
gtest-printers.h 39KB
gtest-message.h 9KB
gtest_pred_impl.h 15KB
gtest-param-test.h.pump 19KB
gtest-spi.h 10KB
gtest_prod.h 2KB
gtest.h 87KB
demo3.vcxproj.filters 1KB
demo.h 828B
gmock
gmock.h 4KB
internal
custom
gmock-port.h 2KB
gmock-matchers.h 2KB
README.md 439B
gmock-generated-actions.h 365B
gmock-generated-actions.h.pump 451B
gmock-port.h 4KB
gmock-generated-internal-utils.h 11KB
gmock-generated-internal-utils.h.pump 5KB
gmock-internal-utils.h 22KB
gmock-actions.h 42KB
gmock-more-matchers.h 3KB
gmock-generated-function-mockers.h 73KB
gmock-matchers.h 187KB
gmock-more-actions.h 9KB
gmock-generated-function-mockers.h.pump 11KB
gmock-generated-nice-strict.h 18KB
gmock-generated-matchers.h 89KB
gmock-spec-builders.h 71KB
gmock-generated-actions.h 111KB
gmock-generated-matchers.h.pump 21KB
gmock-cardinalities.h 6KB
gmock-generated-nice-strict.h.pump 6KB
gmock-generated-actions.h.pump 27KB
demo3.vcxproj 8KB
x64
Release
demo3.tlog
CL.write.1.tlog 276B
CL.read.1.tlog 27KB
CL.command.1.tlog 1KB
demo3.write.1u.tlog 22KB
demo3.lastbuildstate 196B
link.write.1.tlog 278B
link.command.1.tlog 1KB
link.read.1.tlog 4KB
demo.obj 2.17MB
demo3.obj 2.17MB
demo3.log 342B
vc141.pdb 1.39MB
lib
gmock.lib 6.99MB
demo3.vcxproj.user 165B
demo.cpp 2KB
x64
Release
demo3.pdb 9.96MB
demo3.ipdb 2.99MB
demo3.exe 639KB
demo3.iobj 9.49MB
共 86 条
- 1
wendy_ya
- 粉丝: 4w+
- 资源: 202
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0