summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-07-31 18:14:49 (GMT)
committerGennadiy Civil <misterg@google.com>2019-08-01 20:05:41 (GMT)
commita3eee98cad958b740c508d1fb0ac98ef7633fbac (patch)
tree239ac209f4b6a9c843a63efa75539f0555542003
parent2221875d0bc7b835e93d6c562f4879251037fa1f (diff)
downloadgoogletest-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
-rw-r--r--googletest/include/gtest/gtest.h4
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