# 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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
敏捷软件开发原则、模式与实践第19章C++源码 (206个子文件)
SalaryPayment.cpp 15KB
Date.cpp 5KB
Employee.cpp 2KB
CommissionedClassification.cpp 2KB
HourlyClassification.cpp 2KB
PayrollDatabase.cpp 2KB
UnionAffiliation.cpp 1KB
PaydayTransaction.cpp 1008B
AddEmployeeTransaction.cpp 956B
unit_test.cpp 926B
PayCheck.cpp 898B
SalesReceiptTransaction.cpp 868B
ServiceChargeTransaction.cpp 845B
TimeCardTransaction.cpp 810B
ChangeUnaffiliationTransaction.cpp 770B
AddCommissionedEmployee.cpp 692B
ChangeCommissionedTransaction.cpp 691B
ChangeMemberTransaction.cpp 638B
AddSalariedEmployee.cpp 592B
ChangeSalariedTransaction.cpp 579B
AddHourlyEmployee.cpp 575B
ChangeHourlyTransaction.cpp 574B
MonthlySchedule.cpp 508B
ChangeDirectTransaction.cpp 431B
ChangeEmployeeTransaction.cpp 426B
ChangeClassificationTransaction.cpp 411B
PaymentClassification.cpp 408B
SalariedClassification.cpp 400B
DeleteEmployeeTransaction.cpp 387B
ChangeMailTransaction.cpp 384B
ChangeAffiliationTransaction.cpp 379B
BiweeklySchedule.cpp 368B
ChangeAddressTransaction.cpp 363B
WeeklySchedule.cpp 353B
ChangeHoldTransaction.cpp 329B
ChangeNameTransaction.cpp 329B
stdafx.cpp 328B
ChangeMethodTransaction.cpp 315B
SalesReceipt.cpp 286B
TimeCard.cpp 258B
CommissionedEmployee.cpp 249B
DirectMethod.cpp 242B
HourlyEmployee.cpp 219B
NoAffiliation.cpp 217B
MailMethod.cpp 203B
pch.cpp 188B
ServiceCharge.cpp 187B
HoldMethod.cpp 164B
PaymentSchedule.cpp 144B
PaymentMethod.cpp 134B
Browse.VC.db 52.58MB
salarypayment.new.obj.enc 761KB
payrolldatabase.obj.enc 369KB
weeklyschedule.obj.enc 28KB
SalaryPayment.exe 2.61MB
SalaryPayment.vcxproj.filters 11KB
gtest-param-util-generated.h 219KB
gtest-type-util.h 185KB
gtest.h 90KB
gtest-port.h 89KB
gtest-param-test.h 76KB
gtest-internal.h 51KB
gtest-printers.h 35KB
gtest-param-util.h 28KB
gtest_pred_impl.h 15KB
gtest-death-test.h 14KB
gtest-typed-test.h 14KB
gtest-death-test-internal.h 11KB
gtest-spi.h 10KB
gtest-filepath.h 10KB
gtest-message.h 9KB
gtest-linked_ptr.h 8KB
gtest-string.h 7KB
gtest-test-part.h 7KB
gtest-port-arch.h 4KB
gtest_prod.h 3KB
gtest-printers.h 2KB
gtest-port.h 2KB
gtest.h 2KB
Date.h 2KB
Employee.h 1KB
PayCheck.h 655B
pch.h 614B
UnionAffiliation.h 609B
CommissionedClassification.h 580B
HourlyClassification.h 521B
AddEmployeeTransaction.h 517B
PayrollDatabase.h 504B
ChangeClassificationTransaction.h 448B
AddCommissionedEmployee.h 445B
ChangeCommissionedTransaction.h 442B
AddHourlyEmployee.h 386B
ChangeHourlyTransaction.h 380B
ChangeSalariedTransaction.h 379B
AddSalariedEmployee.h 378B
ChangeMemberTransaction.h 378B
targetver.h 370B
stdafx.h 366B
ChangeAffiliationTransaction.h 356B
ChangeDirectTransaction.h 348B
共 206 条
- 1
- 2
- 3
资源评论
- lnszyd2022-11-18系统显示有病毒
possible1990
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功