You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed some of the clunky coverage options behavior.
Moved logic spread across `ut_runner.run`, `ut_run` into one place.
Added replace of '\' with '/' when matching files to objects and simplified regex for file mapping.
Significant updates to coverage documentation.
Copy file name to clipboardExpand all lines: source/core/ut_suite_manager.pkb
+43-26Lines changed: 43 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -129,11 +129,41 @@ create or replace package body ut_suite_manager is
129
129
return l_schema_ut_packages;
130
130
end;
131
131
132
-
procedure resolve_schema_names(a_paths in out nocopy ut_varchar2_list) is
132
+
procedure validate_paths(a_paths in ut_varchar2_list) is
133
+
l_path varchar2(32767);
134
+
begin
135
+
if a_paths is null or a_paths.count = 0 then
136
+
raise_application_error(ut_utils.gc_path_list_is_empty, 'Path list is empty');
137
+
else
138
+
for i in 1 .. a_paths.count loop
139
+
l_path := a_paths(i);
140
+
if l_path is null or not (regexp_like(l_path, '^[A-Za-z0-9$#_]+(\.[A-Za-z0-9$#_]+){0,2}$') or regexp_like(l_path, '^([A-Za-z0-9$#_]+)?:[A-Za-z0-9$#_]+(\.[A-Za-z0-9$#_]+)*$')) then
@@ -163,32 +193,23 @@ create or replace package body ut_suite_manager is
163
193
end if;
164
194
end;
165
195
end if;
196
+
l_schema_names.extend;
197
+
l_schema_names(l_schema_names.last) := l_schema;
166
198
end loop;
199
+
return l_schema_names;
167
200
end;
168
201
169
-
procedure validate_paths(a_paths in ut_varchar2_list) is
170
-
l_path varchar2(32767);
202
+
procedure resolve_schema_names(a_paths in out nocopy ut_varchar2_list) is
203
+
l_schema_names ut_varchar2_rows;
171
204
begin
172
-
if a_paths is null or a_paths.count = 0 then
173
-
raise_application_error(ut_utils.gc_path_list_is_empty, 'Path list is empty');
174
-
else
175
-
for i in 1 .. a_paths.count loop
176
-
l_path := a_paths(i);
177
-
if l_path is null or not (regexp_like(l_path, '^[A-Za-z0-9$#_]+(\.[A-Za-z0-9$#_]+){0,2}$') or regexp_like(l_path, '^([A-Za-z0-9$#_]+)?:[A-Za-z0-9$#_]+(\.[A-Za-z0-9$#_]+)*$')) then
0 commit comments