From 4038d212e6474c3a35244537143073029ac8199f Mon Sep 17 00:00:00 2001 From: "kosak@google.com" Date: Tue, 14 Jul 2015 20:58:40 +0000 Subject: Add comment. git-svn-id: http://googletest.googlecode.com/svn/trunk@719 861a406c-534a-0410-8894-cb66d6ee9925 --- test/gtest_unittest.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') diff --git a/test/gtest_unittest.cc b/test/gtest_unittest.cc index 8f8abb3..b3ee60a 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 { -- cgit v1.2.1