# 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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
utdemo-4-PrivateFunction.zip (95个子文件)
utdemo-4-PrivateFunction
utdemo
src
gtest
gmock
lib
x64-Debug
gmock.lib 13.8MB
x64-Release
gmock.lib 6.18MB
Win32-Release
gmock.lib 6.1MB
libgmock.a 807KB
Win32-Debug
gmock.lib 9.27MB
head
gmock
gmock-cardinalities.h 6KB
gmock-generated-actions.h.pump 27KB
gmock-actions.h 42KB
gmock-generated-nice-strict.h 18KB
gmock-generated-function-mockers.h.pump 11KB
gmock-generated-matchers.h 89KB
gmock-matchers.h 187KB
gmock.h 4KB
gmock-generated-matchers.h.pump 21KB
internal
gmock-port.h 4KB
gmock-generated-internal-utils.h.pump 5KB
custom
gmock-port.h 2KB
gmock-generated-actions.h.pump 451B
gmock-matchers.h 2KB
gmock-generated-actions.h 365B
README.md 439B
gmock-generated-internal-utils.h 11KB
gmock-internal-utils.h 22KB
gmock-generated-nice-strict.h.pump 6KB
gmock-spec-builders.h 71KB
gmock-more-matchers.h 3KB
gmock-generated-actions.h 111KB
gmock-more-actions.h 9KB
gmock-generated-function-mockers.h 73KB
lib
x64-Debug
gtestd.lib 9.65MB
x64-Release
gtest.lib 5.99MB
libgtest.a 1.8MB
Win32-Release
gtest.lib 4.87MB
Win32-Debug
gtestd.lib 6.88MB
cpp-stub
addr_pri.h 10KB
stub.h 10KB
gmock-global
gmock-global.h 47KB
head
gtest
gtest-param-test.h 75KB
gtest-test-part.h 7KB
gtest-death-test.h 14KB
gtest-message.h 9KB
internal
gtest-param-util-generated.h 213KB
gtest-type-util.h.pump 10KB
gtest-tuple.h.pump 9KB
gtest-type-util.h 182KB
gtest-port-arch.h 4KB
gtest-death-test-internal.h 11KB
gtest-param-util.h 27KB
gtest-param-util-generated.h.pump 9KB
gtest-string.h 7KB
gtest-tuple.h 28KB
custom
gtest-port.h 2KB
gtest.h 2KB
gtest-printers.h 2KB
README.md 2KB
gtest-port.h 93KB
gtest-internal.h 50KB
gtest-filepath.h 10KB
gtest-linked_ptr.h 8KB
gtest-spi.h 10KB
gtest.h 87KB
gtest-printers.h 39KB
gtest_pred_impl.h 15KB
gtest_prod.h 2KB
gtest-typed-test.h 13KB
gtest-param-test.h.pump 19KB
test_src
test_normal.cpp 2KB
test_model.cpp 2KB
head
test_model.h 638B
test_normal.h 704B
inc.h 721B
qt
utdemo
utdemo
pre_unittest.py 4KB
Makefile 1KB
utdemo.pro 2KB
callPY.sh 412B
main.cpp 648B
end_unittest.py 2KB
LICENSE 1KB
demo
demo.pro 1KB
main.cpp 494B
model
model.h 915B
device
hardware
usb
usb.h 668B
usb.cpp 549B
hardware.cpp 333B
hardware.h 763B
com
com.h 668B
com.cpp 549B
device.h 818B
device.cpp 692B
model.cpp 3KB
network
network.cpp 571B
network.h 526B
.gitignore 350B
README.en.md 1KB
README.md 479B
共 95 条
- 1
资源评论
不解之榬
- 粉丝: 549
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Linux Lab-linux
- ioGame-unity
- kdump-anaconda-addon-anaconda
- northstar-ai
- basic_framework-keil5安装教程
- 守月亮修行杂谈(2012年-2020年)
- 《Web开发实训》项目总结报告.doc
- 新年烟花LED效果,10分频,10khz变1khz,Multisim仿真
- vba自定清单.zip
- XamarinBleCodeBehind-main.zip
- mmexport1734999482214.png
- python-4.FBI树-虽然但是,不是那个.py
- IMG_20241220_204418_edit_64163654257396.png
- python-5.火星人-这题面,好抽象.py
- python-6.奖学金-语文给你多少?我数英给你…….py
- Screenshot_20241216_213107.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功