diff options
author | Abseil Team <absl-team@google.com> | 2018-12-13 17:47:22 (GMT) |
---|---|---|
committer | jueminyang <jueminyang@google.com> | 2018-12-13 21:00:21 (GMT) |
commit | c6cb7e033591528a5fe2c63157a0d8ce927740dc (patch) | |
tree | 212842474025d7adfa4a2711b74287a3680de45d /googletest/test/gtest_xml_output_unittest_.cc | |
parent | 81f00260668d1124df94eb1266163043882db0ca (diff) | |
download | googletest-c6cb7e033591528a5fe2c63157a0d8ce927740dc.zip googletest-c6cb7e033591528a5fe2c63157a0d8ce927740dc.tar.gz googletest-c6cb7e033591528a5fe2c63157a0d8ce927740dc.tar.bz2 |
Googletest export
Support skipped in XML and JSON output
PiperOrigin-RevId: 225386540
Diffstat (limited to 'googletest/test/gtest_xml_output_unittest_.cc')
-rw-r--r-- | googletest/test/gtest_xml_output_unittest_.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/googletest/test/gtest_xml_output_unittest_.cc b/googletest/test/gtest_xml_output_unittest_.cc index 2ee8838..39d9b4e 100644 --- a/googletest/test/gtest_xml_output_unittest_.cc +++ b/googletest/test/gtest_xml_output_unittest_.cc @@ -67,6 +67,13 @@ TEST_F(DisabledTest, DISABLED_test_not_run) { FAIL() << "Unexpected failure: Disabled test should not be run"; } +class SkippedTest : public Test { +}; + +TEST_F(SkippedTest, Skipped) { + GTEST_SKIP(); +} + TEST(MixedResultTest, Succeeds) { EXPECT_EQ(1, 1); ASSERT_EQ(1, 1); |