@@ -79,19 +79,17 @@ create or replace package body ut_suite_manager is
79
79
if l_annotation_data.package_annotations.exists('suite') then
80
80
81
81
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 ;
85
85
end if;
86
86
87
87
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);
90
89
end if;
91
90
92
91
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;
95
93
l_suite_rollback := case lower(l_suite_rollback_annotation)
96
94
when 'manual' then
97
95
ut_utils.gc_rollback_manual
@@ -145,21 +143,21 @@ create or replace package body ut_suite_manager is
145
143
l_displayname varchar2(4000);
146
144
begin
147
145
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 ;
149
147
end if;
150
148
151
149
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 ;
153
151
end if;
154
152
155
153
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 ;
159
157
end if;
160
158
161
159
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 ;
163
161
l_rollback_type := case lower(l_rollback_annotation)
164
162
when 'manual' then
165
163
ut_utils.gc_rollback_manual
0 commit comments