Googletest export

Delete internal tags from docs

PiperOrigin-RevId: 353769887
This commit is contained in:
Abseil Team
2021-01-25 20:51:26 -05:00
committed by CJ Johnson
parent 3351eba0aa
commit 8a7618672a
8 changed files with 3 additions and 63 deletions

View File

@@ -1,9 +1,5 @@
# Googletest FAQ
go/gunitfaq
[TOC]
## Why should test suite names and test names not contain underscore?
Note: Googletest reserves underscore (`_`) for special purpose keywords, such as
@@ -350,8 +346,8 @@ You may still want to use `SetUp()/TearDown()` in the following cases:
* In the body of a constructor (or destructor), it's not possible to use the
`ASSERT_xx` macros. Therefore, if the set-up operation could cause a fatal
test failure that should prevent the test from running, it's necessary to
use `abort` (in google3, use `CHECK`) and abort the whole test executable,
or to use `SetUp()` instead of a constructor.
use `abort` and abort the whole test
executable, or to use `SetUp()` instead of a constructor.
* If the tear-down operation could throw an exception, you must use
`TearDown()` as opposed to the destructor, as throwing in a destructor leads
to undefined behavior and usually will kill your program right away. Note