38using ::testing::EmptyTestEventListener;
39using ::testing::InitGoogleTest;
40using ::testing::Message;
42using ::testing::TestEventListeners;
43using ::testing::TestInfo;
44using ::testing::UnitTest;
45using ::testing::internal::scoped_ptr;
50class A :
public Test {};
75TEST(DISABLED_D, DISABLED_B) {}
79class TestNamePrinter :
public EmptyTestEventListener {
81 virtual void OnTestIterationStart(
const UnitTest& ,
86 virtual void OnTestStart(
const TestInfo& test_info) {
87 printf(
"%s.%s\n", test_info.test_case_name(), test_info.name());
94 InitGoogleTest(&argc,
argv);
98 TestEventListeners& listeners = UnitTest::GetInstance()->listeners();
99 delete listeners.Release(listeners.default_result_printer());
100 listeners.Append(
new TestNamePrinter);
#define TEST_F(test_fixture, test_name)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
#define TEST(test_case_name, test_name)
LOGGING_API void printf(Category category, const char *format,...)