11create or replace package body test_ut_utils as
22
33 procedure clob_to_table_test(
4- a_clob clob, a_expected ut_varchar2_list,
4+ a_clob clob, a_expected ut3. ut_varchar2_list,
55 a_delimiter varchar2 := ',',
66 a_overflow_limit integer := 1000
77 ) is
8- l_result ut_varchar2_list;
8+ l_result ut3. ut_varchar2_list;
99 begin
1010 --Act
1111 l_result := ut3.ut_utils.clob_to_table(a_clob, a_overflow_limit, a_delimiter);
@@ -15,21 +15,21 @@ create or replace package body test_ut_utils as
1515
1616 procedure clob_to_table_by_delim is
1717 begin
18- clob_to_table_test( a_clob => 'a,b,c,d', a_expected => ut_varchar2_list('a','b','c','d') );
18+ clob_to_table_test( a_clob => 'a,b,c,d', a_expected => ut3. ut_varchar2_list('a','b','c','d') );
1919 end;
2020
2121 --%test(clob_to_table returns empty table for null clob)
2222 procedure clob_to_table_null_data is
2323 begin
24- clob_to_table_test( a_clob => null, a_expected => ut_varchar2_list() );
24+ clob_to_table_test( a_clob => null, a_expected => ut3. ut_varchar2_list() );
2525 end;
2626
2727 --%test(clob_to_table splits table by char limit when no delimiter)
2828 procedure clob_to_table_char_limit is
2929 begin
3030 clob_to_table_test(
3131 a_clob => '1,2,3,4',
32- a_expected => ut_varchar2_list('1,2,','3,4'),
32+ a_expected => ut3. ut_varchar2_list('1,2,','3,4'),
3333 a_delimiter => '',
3434 a_overflow_limit => 4
3535 );
@@ -40,7 +40,7 @@ create or replace package body test_ut_utils as
4040 begin
4141 clob_to_table_test(
4242 a_clob => 'abcdefg,hijk,axa,a',
43- a_expected => ut_varchar2_list('abc','def','g','hij','k','axa','a'),
43+ a_expected => ut3. ut_varchar2_list('abc','def','g','hij','k','axa','a'),
4444 a_overflow_limit => 3
4545 );
4646 end;
@@ -50,33 +50,33 @@ create or replace package body test_ut_utils as
5050 begin
5151 clob_to_table_test(
5252 a_clob => ',a,,c,d,',
53- a_expected => ut_varchar2_list('','a','','c','d','')
53+ a_expected => ut3. ut_varchar2_list('','a','','c','d','')
5454 );
5555 end;
5656
5757 --%test(test_result_to_char)
5858 procedure test_result_to_char is
5959 begin
60- ut.expect( ut_utils.test_result_to_char(NULL)).to_equal('Unknown(NULL)');
61- ut.expect( ut_utils.test_result_to_char(-1)).to_equal('Unknown(-1)');
62- ut.expect( ut_utils.test_result_to_char(ut_utils.tr_disabled)).to_equal(ut_utils.tr_disabled_char);
63- ut.expect( ut_utils.test_result_to_char(ut_utils.tr_success)).to_equal(ut_utils.tr_success_char);
64- ut.expect( ut_utils.test_result_to_char(ut_utils.tr_failure)).to_equal(ut_utils.tr_failure_char);
65- ut.expect( ut_utils.test_result_to_char(ut_utils.tr_error)).to_equal(ut_utils.tr_error_char);
60+ ut.expect( ut3. ut_utils.test_result_to_char(NULL)).to_equal('Unknown(NULL)');
61+ ut.expect( ut3. ut_utils.test_result_to_char(-1)).to_equal('Unknown(-1)');
62+ ut.expect( ut3. ut_utils.test_result_to_char(ut3. ut_utils.tr_disabled)).to_equal(ut3. ut_utils.tr_disabled_char);
63+ ut.expect( ut3. ut_utils.test_result_to_char(ut3. ut_utils.tr_success)).to_equal(ut3. ut_utils.tr_success_char);
64+ ut.expect( ut3. ut_utils.test_result_to_char(ut3. ut_utils.tr_failure)).to_equal(ut3. ut_utils.tr_failure_char);
65+ ut.expect( ut3. ut_utils.test_result_to_char(ut3. ut_utils.tr_error)).to_equal(ut3. ut_utils.tr_error_char);
6666 end;
6767
6868 --%test(to_test_result converts boolean value to test result integer)
6969 procedure to_test_result is
7070 begin
71- ut.expect( ut_utils.to_test_result(true)).to_equal(ut_utils.tr_success);
72- ut.expect( ut_utils.to_test_result(false)).to_equal(ut_utils.tr_failure);
73- ut.expect( ut_utils.to_test_result(null)).to_equal(ut_utils.tr_failure);
71+ ut.expect( ut3. ut_utils.to_test_result(true)).to_equal(ut3. ut_utils.tr_success);
72+ ut.expect( ut3. ut_utils.to_test_result(false)).to_equal(ut3. ut_utils.tr_failure);
73+ ut.expect( ut3. ut_utils.to_test_result(null)).to_equal(ut3. ut_utils.tr_failure);
7474 end;
7575
7676 --%test(to_string on null blob)
7777 procedure to_string_null_blob is
7878 begin
79- ut.expect( ut_utils.to_string(to_blob(null)) ).to_equal('NULL');
79+ ut.expect( ut3. ut_utils.to_string(to_blob(null)) ).to_equal('NULL');
8080 end;
8181
8282 --%test(to_string on blob)
@@ -85,7 +85,7 @@ create or replace package body test_ut_utils as
8585 l_value blob := utl_raw.cast_to_raw(l_text);
8686 l_expected varchar2(32767) := ''''||rawtohex(l_value)||'''';
8787 begin
88- ut.expect( ut_utils.to_string(l_value) ).to_equal(l_expected);
88+ ut.expect( ut3. ut_utils.to_string(l_value) ).to_equal(l_expected);
8989 end;
9090
9191-- --%test(to_string on null clob)
@@ -128,3 +128,5 @@ create or replace package body test_ut_utils as
128128
129129end;
130130/
131+
132+ show errors
0 commit comments