Lines Matching refs:test_name
67 def push_xml_output_passed(test_name) argument
68 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '"/>'
72 def push_xml_output_failed(test_name, reason) argument
73 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '">'
79 def push_xml_output_ignored(test_name, reason) argument
80 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '">'
89 test_name = test_suite_name.split(@path_delim)
92 base_name = test_name[test_name.size - 1].split('.')[0]
115 test_name = array[1]
117 printf "%-40s PASS\n", test_name
119 push_xml_output_passed(test_name) if @xml_out
126 test_name = array[1]
131 printf "%-40s FAILED\n", test_name
133 push_xml_output_failed(test_name, reason) if @xml_out
140 test_name = array[1]
148 printf "%-40s IGNORED\n", test_name
150 push_xml_output_ignored(test_name, reason) if @xml_out
156 test_name = array[last_item - 1]
158 printf "%-40s PASS\n", test_name
162 push_xml_output_passed(test_name) if @xml_out
168 test_name = array[last_item - 2]
172 if test_name.start_with? 'TEST('
173 array2 = test_name.split(' ')
179 test_name = array2[1].sub(')', '')
183 printf "%-40s FAILED\n", test_name
185 push_xml_output_failed(test_name, reason) if @xml_out
191 test_name = array[last_item - 2]
195 if test_name.start_with? 'TEST('
196 array2 = test_name.split(' ')
202 test_name = array2[1].sub(')', '')
206 printf "%-40s IGNORED\n", test_name
208 push_xml_output_ignored(test_name, reason) if @xml_out