summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925>2015-07-14 20:58:40 +0000
committerkosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925>2015-07-14 20:58:40 +0000
commit4038d212e6474c3a35244537143073029ac8199f (patch)
treeaf0fc6a7502efdc899284630718ddc691bbc9d2c
parent7e35a36faf29c9afeb1fbdbd14fd2b4d70dc08a9 (diff)
downloadgoogletest-4038d212e6474c3a35244537143073029ac8199f.tar.gz
Add comment.
git-svn-id: http://googletest.googlecode.com/svn/trunk@719 861a406c-534a-0410-8894-cb66d6ee9925
-rw-r--r--test/gtest_unittest.cc10
1 files changed, 10 insertions, 0 deletions
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 {