Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02b89bd

Browse files
authored
Update ut_junit_reporter.tpb
1 parent 0af108d commit 02b89bd

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

source/reporters/ut_junit_reporter.tpb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,11 @@ create or replace type body ut_junit_reporter is
5757
ut_utils.append_to_list( l_results, '</error>');
5858
elsif a_test.result > ut_utils.gc_success then
5959
ut_utils.append_to_list( l_results, '<failure>');
60+
ut_utils.append_to_list( l_results, c_cddata_tag_start);
6061
for i in 1 .. a_test.failed_expectations.count loop
61-
62-
l_lines := a_test.failed_expectations(i).get_result_lines();
63-
64-
for j in 1 .. l_lines.count loop
65-
ut_utils.append_to_list( l_results, dbms_xmlgen.convert(l_lines(j)) );
66-
end loop;
67-
ut_utils.append_to_list( l_results, dbms_xmlgen.convert(a_test.failed_expectations(i).caller_info) );
62+
ut_utils.append_to_list( l_results, ut_utils.table_to_clob(a_test.failed_expectations(i).get_result_lines()));
6863
end loop;
64+
ut_utils.append_to_list( l_results, c_cddata_tag_end);
6965
ut_utils.append_to_list( l_results, '</failure>');
7066
end if;
7167
-- TODO - decide if we need/want to use the <system-err/> tag too

0 commit comments

Comments
 (0)