summaryrefslogtreecommitdiff
path: root/test/gtest_output_test_.cc
diff options
context:
space:
mode:
authorshiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2009-01-10 01:16:33 +0000
committershiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2009-01-10 01:16:33 +0000
commitca6949fd2a0a317fd7c7c48aa86670aac50a48c6 (patch)
treeb857251b28c8d30b4338f9107abb8a1541f355d2 /test/gtest_output_test_.cc
parent21d43d1a7e09d960b790d992f1bb4e92c70391d4 (diff)
downloadgoogletest-ca6949fd2a0a317fd7c7c48aa86670aac50a48c6.tar.gz
Implements --gtest_also_run_disabled_tests. By Eric Roman.
git-svn-id: http://googletest.googlecode.com/svn/trunk@171 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'test/gtest_output_test_.cc')
-rw-r--r--test/gtest_output_test_.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gtest_output_test_.cc b/test/gtest_output_test_.cc
index 203374e..31a0672 100644
--- a/test/gtest_output_test_.cc
+++ b/test/gtest_output_test_.cc
@@ -212,6 +212,14 @@ TEST(SCOPED_TRACETest, CanBeRepeated) {
<< "trace point A, B, and D.";
}
+TEST(DisabledTestsWarningTest,
+ DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning) {
+ // This test body is intentionally empty. Its sole purpose is for
+ // verifying that the --gtest_also_run_disabled_tests flag
+ // suppresses the "YOU HAVE 12 DISABLED TESTS" warning at the end of
+ // the test output.
+}
+
// Tests using assertions outside of TEST and TEST_F.
//
// This function creates two failures intentionally.