Lines Matching defs:test_info

2553   TestInfo* const test_info =
2556 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2557 return test_info;
2601 // Returns true iff the test name of test_info matches name_.
2602 bool operator()(const TestInfo * test_info) const {
2603 return test_info && test_info->name() == name_;
2753 void TestCase::AddTestInfo(TestInfo * test_info) {
2754 test_info_list_.push_back(test_info);
3009 void PrintFullTestCommentIfPresent(const TestInfo& test_info) {
3010 const char* const type_param = test_info.type_param();
3011 const char* const value_param = test_info.value_param();
3042 virtual void OnTestStart(const TestInfo& test_info);
3044 virtual void OnTestEnd(const TestInfo& test_info);
3111 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) {
3113 PrintTestName(test_info.test_case_name(), test_info.name());
3130 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) {
3131 if (test_info.result()->Passed()) {
3136 PrintTestName(test_info.test_case_name(), test_info.name());
3137 if (test_info.result()->Failed())
3138 PrintFullTestCommentIfPresent(test_info);
3142 test_info.result()->elapsed_time()).c_str());
3181 const TestInfo& test_info = *test_case.GetTestInfo(j);
3182 if (!test_info.should_run() || test_info.result()->Passed()) {
3186 printf("%s.%s", test_case.name(), test_info.name());
3187 PrintFullTestCommentIfPresent(test_info);
3253 virtual void OnTestStart(const TestInfo& test_info);
3255 virtual void OnTestEnd(const TestInfo& test_info);
3399 const TestInfo& test_info);
3627 const TestInfo& test_info) {
3628 const TestResult& result = *test_info.result();
3632 OutputXmlAttribute(stream, kTestcase, "name", test_info.name());
3634 if (test_info.value_param() != NULL) {
3636 test_info.value_param());
3638 if (test_info.type_param() != NULL) {
3639 OutputXmlAttribute(stream, kTestcase, "type_param", test_info.type_param());
3643 test_info.should_run() ? "run" : "notrun");
4807 TestInfo* const test_info = test_case->test_info_list()[j];
4808 const std::string test_name(test_info->name());
4816 test_info->is_disabled_ = is_disabled;
4821 test_info->matches_filter_ = matches_filter;
4835 test_info->should_run_ = is_selected;
4874 const TestInfo* const test_info =
4876 if (test_info->matches_filter_) {
4888 printf(" %s", test_info->name());
4889 if (test_info->value_param() != NULL) {
4893 PrintOnOneLine(test_info->value_param(), kMaxParamLength);