Lines Matching refs:test_info
2164 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2167 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2168 return test_info; in MakeAndRegisterTestInfo()
2371 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2372 test_info_list_.push_back(test_info); in AddTestInfo()
2407 bool TestCase::TestPassed(const TestInfo * test_info) { in TestPassed() argument
2408 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed()
2413 bool TestCase::TestFailed(const TestInfo * test_info) { in TestFailed() argument
2414 const internal::TestInfoImpl* const impl = test_info->impl(); in TestFailed()
2419 bool TestCase::TestDisabled(const TestInfo * test_info) { in TestDisabled() argument
2420 return test_info->impl()->is_disabled(); in TestDisabled()
2424 bool TestCase::ShouldRunTest(const TestInfo *test_info) { in ShouldRunTest() argument
2425 return test_info->impl()->should_run(); in ShouldRunTest()
2647 virtual void OnTestStart(const TestInfo& test_info);
2649 virtual void OnTestEnd(const TestInfo& test_info);
2718 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
2720 PrintTestName(test_case_name_.c_str(), test_info.name()); in OnTestStart()
2721 if (test_info.comment()[0] == '\0') { in OnTestStart()
2724 printf(", where %s\n", test_info.comment()); in OnTestStart()
2741 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
2742 if (test_info.result()->Passed()) { in OnTestEnd()
2747 PrintTestName(test_case_name_.c_str(), test_info.name()); in OnTestEnd()
2750 test_info.result()->elapsed_time()).c_str()); in OnTestEnd()
2790 const TestInfo& test_info = *test_case.GetTestInfo(j); in PrintFailedTests() local
2791 if (!test_info.should_run() || test_info.result()->Passed()) { in PrintFailedTests()
2795 printf("%s.%s", test_case.name(), test_info.name()); in PrintFailedTests()
2797 test_info.comment()[0] != '\0') { in PrintFailedTests()
2800 test_info.comment()[0] != '\0') { in PrintFailedTests()
2804 printf("%s\n", test_info.comment()); in PrintFailedTests()
2869 virtual void OnTestStart(const TestInfo& test_info);
2871 virtual void OnTestEnd(const TestInfo& test_info);
3006 const TestInfo& test_info);
3184 const TestInfo& test_info) { in OutputXmlTestInfo() argument
3185 const TestResult& result = *test_info.result(); in OutputXmlTestInfo()
3187 << EscapeXmlAttribute(test_info.name()).c_str() in OutputXmlTestInfo()
3189 << (test_info.should_run() ? "run" : "notrun") in OutputXmlTestInfo()
4154 TestInfo* const test_info = test_case->test_info_list()[j]; in UnitTestImpl() local
4155 const String test_name(test_info->name()); in UnitTestImpl()
4163 test_info->impl()->set_is_disabled(is_disabled); in UnitTestImpl()
4168 test_info->impl()->set_matches_filter(matches_filter); in UnitTestImpl()
4182 test_info->impl()->set_should_run(is_selected); in UnitTestImpl()
4196 const TestInfo* const test_info = in UnitTestImpl() local
4198 if (test_info->matches_filter()) { in UnitTestImpl()
4203 printf(" %s\n", test_info->name()); in UnitTestImpl()