@@ -79,19 +79,17 @@ create or replace package body ut_suite_manager is
7979 if l_annotation_data.package_annotations.exists('suite') then
8080
8181 if l_annotation_data.package_annotations.exists('displayname') then
82- l_suite_name := ut_annotations.get_annotation_param( l_annotation_data.package_annotations('displayname'), 1) ;
83- elsif l_annotation_data.package_annotations('suite').count>0 then
84- l_suite_name := ut_annotations.get_annotation_param( l_annotation_data.package_annotations('suite'), 1) ;
82+ l_suite_name := l_annotation_data.package_annotations('displayname').text ;
83+ else
84+ l_suite_name := l_annotation_data.package_annotations('suite').text ;
8585 end if;
8686
8787 if l_annotation_data.package_annotations.exists('suitepath') then
88- l_suite_path := ut_annotations.get_annotation_param(l_annotation_data.package_annotations('suitepath'), 1) || '.' ||
89- lower(l_object_name);
88+ l_suite_path := l_annotation_data.package_annotations('suitepath').text || '.' || lower(l_object_name);
9089 end if;
9190
9291 if l_annotation_data.package_annotations.exists('rollback') then
93- l_suite_rollback_annotation := ut_annotations.get_annotation_param(l_annotation_data.package_annotations('rollback')
94- ,1);
92+ l_suite_rollback_annotation := l_annotation_data.package_annotations('rollback').text;
9593 l_suite_rollback := case lower(l_suite_rollback_annotation)
9694 when 'manual' then
9795 ut_utils.gc_rollback_manual
@@ -145,21 +143,21 @@ create or replace package body ut_suite_manager is
145143 l_displayname varchar2(4000);
146144 begin
147145 if l_proc_annotations.exists('beforetest') then
148- l_beforetest_procedure := ut_annotations.get_annotation_param( l_proc_annotations('beforetest'), 1) ;
146+ l_beforetest_procedure := l_proc_annotations('beforetest').text ;
149147 end if;
150148
151149 if l_proc_annotations.exists('aftertest') then
152- l_aftertest_procedure := ut_annotations.get_annotation_param( l_proc_annotations('aftertest'), 1) ;
150+ l_aftertest_procedure := l_proc_annotations('aftertest').text ;
153151 end if;
154152
155153 if l_proc_annotations.exists('displayname') then
156- l_displayname := ut_annotations.get_annotation_param( l_proc_annotations('displayname'), 1) ;
157- elsif l_proc_annotations('test').count > 0 then
158- l_displayname := ut_annotations.get_annotation_param( l_proc_annotations('test'), 1) ;
154+ l_displayname := l_proc_annotations('displayname').text ;
155+ else
156+ l_displayname := l_proc_annotations('test').text ;
159157 end if;
160158
161159 if l_proc_annotations.exists('rollback') then
162- l_rollback_annotation := ut_annotations.get_annotation_param( l_proc_annotations('rollback'), 1) ;
160+ l_rollback_annotation := l_proc_annotations('rollback').text ;
163161 l_rollback_type := case lower(l_rollback_annotation)
164162 when 'manual' then
165163 ut_utils.gc_rollback_manual
0 commit comments