diff options
author | shiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-01-10 01:16:33 +0000 |
---|---|---|
committer | shiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-01-10 01:16:33 +0000 |
commit | fe186c382905dcf57014985ccea8e067275e9f5f (patch) | |
tree | b857251b28c8d30b4338f9107abb8a1541f355d2 /test/gtest_output_test_.cc | |
parent | 53e0dc4041f660b6517b15b08b496e164be614f1 (diff) | |
download | googletest-fe186c382905dcf57014985ccea8e067275e9f5f.tar.gz googletest-fe186c382905dcf57014985ccea8e067275e9f5f.tar.bz2 googletest-fe186c382905dcf57014985ccea8e067275e9f5f.zip |
Implements --gtest_also_run_disabled_tests. By Eric Roman.
Diffstat (limited to 'test/gtest_output_test_.cc')
-rw-r--r-- | test/gtest_output_test_.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gtest_output_test_.cc b/test/gtest_output_test_.cc index 203374ec..31a0672f 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. |