Lines Matching refs:test_info

2237   TestInfo* const test_info =  in MakeAndRegisterTestInfo()  local
2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2241 return test_info; in MakeAndRegisterTestInfo()
2395 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2396 test_info_list_.push_back(test_info); in AddTestInfo()
2638 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument
2639 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent()
2640 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent()
2671 void OnTestStart(const TestInfo &test_info) override;
2673 void OnTestEnd(const TestInfo &test_info) override;
2743 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
2745 PrintTestName(test_case_name_.c_str(), test_info.name()); in OnTestStart()
2762 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
2763 if (test_info.result()->Passed()) { in OnTestEnd()
2768 PrintTestName(test_case_name_.c_str(), test_info.name()); in OnTestEnd()
2769 if (test_info.result()->Failed()) in OnTestEnd()
2770 PrintFullTestCommentIfPresent(test_info); in OnTestEnd()
2774 test_info.result()->elapsed_time()).c_str()); in OnTestEnd()
2814 const TestInfo& test_info = *test_case.GetTestInfo(j); in PrintFailedTests() local
2815 if (!test_info.should_run() || test_info.result()->Passed()) { in PrintFailedTests()
2819 printf("%s.%s", test_case.name(), test_info.name()); in PrintFailedTests()
2820 PrintFullTestCommentIfPresent(test_info); in PrintFailedTests()
2886 void OnTestStart(const TestInfo &test_info) override;
2888 void OnTestEnd(const TestInfo &test_info) override;
3023 const TestInfo& test_info);
3198 const TestInfo& test_info) { in OutputXmlTestInfo() argument
3199 const TestResult& result = *test_info.result(); in OutputXmlTestInfo()
3201 << EscapeXmlAttribute(test_info.name()).c_str() << "\""; in OutputXmlTestInfo()
3203 if (test_info.value_param() != NULL) { in OutputXmlTestInfo()
3204 *stream << " value_param=\"" << EscapeXmlAttribute(test_info.value_param()) in OutputXmlTestInfo()
3207 if (test_info.type_param() != NULL) { in OutputXmlTestInfo()
3208 *stream << " type_param=\"" << EscapeXmlAttribute(test_info.type_param()) in OutputXmlTestInfo()
3213 << (test_info.should_run() ? "run" : "notrun") in OutputXmlTestInfo()
3355 void OnTestStart(const TestInfo &test_info) override { in OnTestStart() argument
3356 Send(String::Format("event=TestStart&name=%s\n", test_info.name())); in OnTestStart()
3359 void OnTestEnd(const TestInfo &test_info) override { in OnTestEnd() argument
3362 (test_info.result())->Passed(), in OnTestEnd()
3363 StreamableToString((test_info.result())->elapsed_time()).c_str())); in OnTestEnd()
4365 TestInfo* const test_info = test_case->test_info_list()[j]; in FilterTests() local
4366 const String test_name(test_info->name()); in FilterTests()
4374 test_info->is_disabled_ = is_disabled; in FilterTests()
4379 test_info->matches_filter_ = matches_filter; in FilterTests()
4393 test_info->should_run_ = is_selected; in FilterTests()
4407 const TestInfo* const test_info = in ListTestsMatchingFilter() local
4409 if (test_info->matches_filter_) { in ListTestsMatchingFilter()
4414 printf(" %s\n", test_info->name()); in ListTestsMatchingFilter()