diff options
author | Abseil Team <absl-team@google.com> | 2021-01-26 01:51:26 (GMT) |
---|---|---|
committer | CJ Johnson <johnsoncj@google.com> | 2021-01-26 20:43:46 (GMT) |
commit | 8a7618672a4ddd576a4e0feba2e3597c3b602434 (patch) | |
tree | a502b8e7ba8b9eca4db89c7901a8d5a6adeb7767 /docs/faq.md | |
parent | 3351eba0aa33668f8f4cf5d24eb5f68fce17e034 (diff) | |
download | googletest-8a7618672a4ddd576a4e0feba2e3597c3b602434.zip googletest-8a7618672a4ddd576a4e0feba2e3597c3b602434.tar.gz googletest-8a7618672a4ddd576a4e0feba2e3597c3b602434.tar.bz2 |
Googletest export
Delete internal tags from docs
PiperOrigin-RevId: 353769887
Diffstat (limited to 'docs/faq.md')
-rw-r--r-- | docs/faq.md | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/faq.md b/docs/faq.md index 4c9f2a2..d3c84ff 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -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 |