Revert one file

This commit is contained in:
Gennadiy Civil 2018-01-09 15:46:44 -05:00
parent 9fce984a67
commit 5eecadf67a

View File

@ -359,7 +359,7 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
// this for you. // this for you.
// //
// The only time you derive from Test is when defining a test fixture // The only time you derive from Test is when defining a test fixture
// to be used in a TEST_F. For example: // to be used a TEST_F. For example:
// //
// class FooTest : public testing::Test { // class FooTest : public testing::Test {
// protected: // protected:
@ -699,7 +699,7 @@ class GTEST_API_ TestInfo {
// Returns true iff this test will appear in the XML report. // Returns true iff this test will appear in the XML report.
bool is_reportable() const { bool is_reportable() const {
// The XML report includes all tests matching the filter. // For now, the XML report includes all tests matching the filter.
// In the future, we may trim tests that are excluded because of // In the future, we may trim tests that are excluded because of
// sharding. // sharding.
return matches_filter_; return matches_filter_;
@ -1782,6 +1782,7 @@ template <typename T>
class TestWithParam : public Test, public WithParamInterface<T> { class TestWithParam : public Test, public WithParamInterface<T> {
}; };
// Macros for indicating success/failure in test code. // Macros for indicating success/failure in test code.
// ADD_FAILURE unconditionally adds a failure to the current test. // ADD_FAILURE unconditionally adds a failure to the current test.