diff --git a/test/gtest_filter_unittest_.cc b/test/gtest_filter_unittest_.cc index dd4f7167..d496f531 100644 --- a/test/gtest_filter_unittest_.cc +++ b/test/gtest_filter_unittest_.cc @@ -40,7 +40,6 @@ #include - namespace { // Test case FooTest. @@ -55,7 +54,6 @@ TEST_F(FooTest, Xyz) { FAIL() << "Expected failure."; } - // Test case BarTest. TEST(BarTest, TestOne) { @@ -109,7 +107,6 @@ TEST(HasDeathTest, Test2) { #endif // GTEST_HAS_DEATH_TEST } - // Test case FoobarTest TEST(DISABLED_FoobarTest, Test1) { @@ -142,7 +139,6 @@ INSTANTIATE_TEST_CASE_P(SeqQ, ParamTest, testing::Values(5, 6)); } // namespace - int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); diff --git a/test/gtest_list_tests_unittest_.cc b/test/gtest_list_tests_unittest_.cc index b5e07ddd..1ba3922c 100644 --- a/test/gtest_list_tests_unittest_.cc +++ b/test/gtest_list_tests_unittest_.cc @@ -40,7 +40,6 @@ #include - namespace { // Several different test cases and tests that will be listed. @@ -79,7 +78,6 @@ TEST(FooDeathTest, Test1) { } // namespace - int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv);