summaryrefslogtreecommitdiffstats
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 (GMT)
committershiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925>2009-01-10 01:16:33 (GMT)
commitfe186c382905dcf57014985ccea8e067275e9f5f (patch)
treeb857251b28c8d30b4338f9107abb8a1541f355d2 /test/gtest_output_test_.cc
parent53e0dc4041f660b6517b15b08b496e164be614f1 (diff)
downloadgoogletest-fe186c382905dcf57014985ccea8e067275e9f5f.zip
googletest-fe186c382905dcf57014985ccea8e067275e9f5f.tar.gz
googletest-fe186c382905dcf57014985ccea8e067275e9f5f.tar.bz2
Implements --gtest_also_run_disabled_tests. By Eric Roman.
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.