diff options
author | Abseil Team <absl-team@google.com> | 2020-04-30 12:34:43 -0400 |
---|---|---|
committer | Gennadiy Rozental <rogeeff@google.com> | 2020-05-01 17:12:28 -0400 |
commit | 0eea2e9fc63461761dea5f2f517bd6af2ca024fa (patch) | |
tree | 2ef7bfc9ebcaaa76ed244b54456fd61bcac358cd | |
parent | 3cfb4117f7e56f8a7075d83f3e59551dc9e9f328 (diff) | |
download | googletest-0eea2e9fc63461761dea5f2f517bd6af2ca024fa.tar.gz googletest-0eea2e9fc63461761dea5f2f517bd6af2ca024fa.tar.bz2 googletest-0eea2e9fc63461761dea5f2f517bd6af2ca024fa.zip |
Fix documentation. This address https://github.com/google/googletest/pull/2827.
PiperOrigin-RevId: 309241571
-rw-r--r-- | googletest/docs/advanced.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md index 3c3c6fe9..5a3401ce 100644 --- a/googletest/docs/advanced.md +++ b/googletest/docs/advanced.md @@ -1776,7 +1776,7 @@ In frameworks that report a failure by throwing an exception, you could catch the exception and assert on it. But googletest doesn't use exceptions, so how do we test that a piece of code generates an expected failure? -gunit-spi.h contains some constructs to do this. After #including this header, +`"gtest/gtest-spi.h"` contains some constructs to do this. After #including this header, you can use ```c++ @@ -1924,8 +1924,8 @@ To obtain a `TestInfo` object for the currently running test, call ``` `current_test_info()` returns a null pointer if no test is running. In -particular, you cannot find the test suite name in `TestSuiteSetUp()`, -`TestSuiteTearDown()` (where you know the test suite name implicitly), or +particular, you cannot find the test suite name in `SetUpTestSuite()`, +`TearDownTestSuite()` (where you know the test suite name implicitly), or functions called from them. ## Extending googletest by Handling Test Events |