diff options
author | Abseil Team <absl-team@google.com> | 2019-07-31 18:14:49 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-08-01 20:05:41 (GMT) |
commit | a3eee98cad958b740c508d1fb0ac98ef7633fbac (patch) | |
tree | 239ac209f4b6a9c843a63efa75539f0555542003 /googletest | |
parent | 2221875d0bc7b835e93d6c562f4879251037fa1f (diff) | |
download | googletest-a3eee98cad958b740c508d1fb0ac98ef7633fbac.zip googletest-a3eee98cad958b740c508d1fb0ac98ef7633fbac.tar.gz googletest-a3eee98cad958b740c508d1fb0ac98ef7633fbac.tar.bz2 |
Googletest export
Document the fact that {Setup,TearDown}TestSuite failures are currently being dropped.
PiperOrigin-RevId: 260962695
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/include/gtest/gtest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index d12563c..fbff73e 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -412,6 +412,8 @@ class GTEST_API_ Test { // test in test case Foo. Hence a sub-class can define its own // SetUpTestSuite() method to shadow the one defined in the super // class. + // Failures that happen during SetUpTestSuite are logged but otherwise + // ignored. static void SetUpTestSuite() {} // Tears down the stuff shared by all tests in this test suite. @@ -420,6 +422,8 @@ class GTEST_API_ Test { // test in test case Foo. Hence a sub-class can define its own // TearDownTestSuite() method to shadow the one defined in the super // class. + // Failures that happen during TearDownTestSuite are logged but otherwise + // ignored. static void TearDownTestSuite() {} // Legacy API is deprecated but still available |