From 1cc9514de5a9b361e7a000eb34da9175b6de0593 Mon Sep 17 00:00:00 2001 From: kosak Date: Tue, 14 Jul 2015 20:58:40 +0000 Subject: [PATCH] Add comment. --- test/gtest_unittest.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/gtest_unittest.cc b/test/gtest_unittest.cc index 8f8abb35..b3ee60a5 100644 --- a/test/gtest_unittest.cc +++ b/test/gtest_unittest.cc @@ -1517,6 +1517,16 @@ TEST(TestResultPropertyTest, GetTestProperty) { EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(-1), ""); } +// Tests the Test class. +// +// It's difficult to test every public method of this class (we are +// already stretching the limit of Google Test by using it to test itself!). +// Fortunately, we don't have to do that, as we are already testing +// the functionalities of the Test class extensively by using Google Test +// alone. +// +// Therefore, this section only contains one test. + // Tests that GTestFlagSaver works on Windows and Mac. class GTestFlagSaverTest : public Test {