Lines Matching refs:test_name

85   def push_xml_output_passed(test_name, execution_time = 0)
86 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} />"
90 def push_xml_output_failed(test_name, reason, execution_time = 0)
91 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} >"
97 def push_xml_output_ignored(test_name, reason, execution_time = 0)
98 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} >"
107 test_name = test_suite_name.split(@path_delim)
110 base_name = test_name[test_name.size - 1].split('.')[0]
133 test_name = array[1]
135 printf "%-40s PASS\n", test_name
137 push_xml_output_passed(test_name) if @xml_out
144 test_name = array[1]
149 printf "%-40s FAILED\n", test_name
151 push_xml_output_failed(test_name, reason) if @xml_out
158 test_name = array[1]
166 printf "%-40s IGNORED\n", test_name
168 push_xml_output_ignored(test_name, reason) if @xml_out
179 test_name = array[last_item - 1]
181 printf "%-40s PASS %10d ms\n", test_name, test_time
185 push_xml_output_passed(test_name, test_time) if @xml_out
196 test_name = array[last_item - 2]
200 if test_name.start_with? 'TEST('
201 array2 = test_name.split(' ')
207 test_name = array2[1].sub(')', '')
211 printf "%-40s FAILED %10d ms\n", test_name, test_time
213 push_xml_output_failed(test_name, reason, test_time) if @xml_out
224 test_name = array[last_item - 2]
228 if test_name.start_with? 'TEST('
229 array2 = test_name.split(' ')
235 test_name = array2[1].sub(')', '')
239 printf "%-40s IGNORED %10d ms\n", test_name, test_time
241 push_xml_output_ignored(test_name, reason, test_time) if @xml_out