<commit_before>set termout off
create or replace package tst_documrep_mult_warn as
  --%suite

  --%test
  procedure test1;
end;
/

create or replace package body tst_documrep_mult_warn as
  procedure test1 is begin commit; end;
end;
/
create or replace package tst_documrep_mult_warn2 as
  --%suite

  --%test
  procedure test1;
end;
/

create or replace package body tst_documrep_mult_warn2 as
  procedure test1 is begin commit; end;
end;
/

set termout on

declare
  l_test_report ut_varchar2_list;
  l_output_data       ut_varchar2_list;
  l_output            varchar2(32767);
  l_expected          varchar2(32767);
begin
  l_expected := q'[%Warnings:
%1)%tst_documrep_mult_warn%
%2)%tst_documrep_mult_warn%]';

  --act
  select *
  bulk collect into l_output_data
  from table(ut.run(ut_varchar2_list('tst_documrep_mult_warn','tst_documrep_mult_warn2'),ut_xunit_reporter()));

  l_output := ut_utils.table_to_clob(l_output_data);

  --assert
  if l_output like l_expected then
    :test_result := ut_utils.tr_success;
  else
    dbms_output.put_line('Actual:"'||l_output||'"');
  end if;
end;
/

drop package tst_documrep_mult_warn;
drop package tst_documrep_mult_warn2;<commit_msg>fixed test<commit_after>set termout off
create or replace package tst_documrep_mult_warn as
  --%suite

  --%test
  procedure test1;
end;
/

create or replace package body tst_documrep_mult_warn as
  procedure test1 is begin commit; end;
end;
/
create or replace package tst_documrep_mult_warn2 as
  --%suite

  --%test
  procedure test1;
end;
/

create or replace package body tst_documrep_mult_warn2 as
  procedure test1 is begin commit; end;
end;
/

set termout on

declare
  l_test_report ut_varchar2_list;
  l_output_data       ut_varchar2_list;
  l_output            varchar2(32767);
  l_expected          varchar2(32767);
begin
  l_expected := q'[%Warnings:
%1)%tst_documrep_mult_warn%
%2)%tst_documrep_mult_warn%]';

  --act
  select *
  bulk collect into l_output_data
  from table(ut.run(ut_varchar2_list('tst_documrep_mult_warn','tst_documrep_mult_warn2'),ut_documentation_reporter()));

  l_output := ut_utils.table_to_clob(l_output_data);

  --assert
  if l_output like l_expected then
    :test_result := ut_utils.tr_success;
  else
    dbms_output.put_line('Actual:"'||l_output||'"');
  end if;
end;
/

drop package tst_documrep_mult_warn;
drop package tst_documrep_mult_warn2;
{'fraction_non_alphanumeric': 0.0891130727196301, 'fraction_numerical': 0.021017234131988232, 'mean_word_length': 4.483870967741935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2655044', 'n_tokens_mistral': 934, 'n_tokens_neox': 921, 'n_words': 198}