@@ -20,7 +20,7 @@ create or replace type body ut_run as
2020 self in out nocopy ut_run, a_items ut_suite_items, a_run_paths ut_varchar2_list := null,
2121 a_coverage_options ut_coverage_options := null, a_test_file_mappings ut_file_mappings := null
2222 ) return self as result is
23- l_run_schemes ut_varchar2_list;
23+ l_coverage_schema_names ut_varchar2_list;
2424 begin
2525 self.run_paths := a_run_paths;
2626 self.self_type := $$plsql_unit;
@@ -29,15 +29,15 @@ create or replace type body ut_run as
2929 self.coverage_options := a_coverage_options;
3030 self.test_file_mappings := coalesce(a_test_file_mappings, ut_file_mappings());
3131 if self.coverage_options is not null then
32- l_run_schemes := get_run_schemes();
33- coverage_options.schema_names := l_run_schemes ;
32+ l_coverage_schema_names := coalesce(coverage_options.schema_names, get_run_schemes() );
33+ coverage_options.schema_names := l_coverage_schema_names ;
3434 if coverage_options.exclude_objects is not null then
3535 coverage_options.exclude_objects :=
3636 coverage_options.exclude_objects
3737 multiset union all
38- ut_suite_manager.get_schema_ut_packages(l_run_schemes );
38+ ut_suite_manager.get_schema_ut_packages(l_coverage_schema_names );
3939 else
40- coverage_options.exclude_objects := ut_suite_manager.get_schema_ut_packages(l_run_schemes );
40+ coverage_options.exclude_objects := ut_suite_manager.get_schema_ut_packages(l_coverage_schema_names );
4141 end if;
4242 end if;
4343 return;
0 commit comments