@@ -21,12 +21,14 @@ create or replace type body ut_coverage_html_reporter is
2121 a_project_name varchar2 := null,
2222 a_schema_names ut_varchar2_list := null,
2323 a_include_object_list ut_varchar2_list := null,
24- a_exclude_object_list ut_varchar2_list := null
24+ a_exclude_object_list ut_varchar2_list := null,
25+ a_html_report_assets_path varchar2 := null
2526 ) return self as result is
2627 begin
2728 self.init($$plsql_unit);
2829 ut_coverage.init(a_schema_names, a_include_object_list, a_exclude_object_list);
2930 self.project_name := a_project_name;
31+ assets_path := nvl(a_html_report_assets_path, ut_coverage_report_html_helper.get_default_html_assets_path());
3032 return;
3133 end;
3234
@@ -41,7 +43,8 @@ create or replace type body ut_coverage_html_reporter is
4143 a_object_type_subexpression positive,
4244 a_file_to_object_type_mapping ut_key_value_pairs,
4345 a_include_object_list ut_varchar2_list := null,
44- a_exclude_object_list ut_varchar2_list := null
46+ a_exclude_object_list ut_varchar2_list := null,
47+ a_html_report_assets_path varchar2 := null
4548 ) return self as result is
4649 l_mappings ut_coverage_file_mappings;
4750 begin
@@ -52,6 +55,7 @@ create or replace type body ut_coverage_html_reporter is
5255 self.init($$plsql_unit);
5356 ut_coverage.init(l_mappings, a_include_object_list, a_exclude_object_list);
5457 self.project_name := a_project_name;
58+ assets_path := nvl(a_html_report_assets_path, ut_coverage_report_html_helper.get_default_html_assets_path());
5559 return;
5660 end;
5761
@@ -61,14 +65,16 @@ create or replace type body ut_coverage_html_reporter is
6165 a_object_owner varchar2 := null,
6266 a_file_paths ut_varchar2_list,
6367 a_include_object_list ut_varchar2_list := null,
64- a_exclude_object_list ut_varchar2_list := null
68+ a_exclude_object_list ut_varchar2_list := null,
69+ a_html_report_assets_path varchar2 := null
6570 ) return self as result is
6671 l_mappings ut_coverage_file_mappings;
6772 begin
6873 l_mappings := ut_coverage.build_file_mappings( a_object_owner, a_file_paths );
6974 self.init($$plsql_unit);
7075 ut_coverage.init(l_mappings, a_include_object_list, a_exclude_object_list);
7176 self.project_name := a_project_name;
77+ assets_path := nvl(a_html_report_assets_path, ut_coverage_report_html_helper.get_default_html_assets_path());
7278 return;
7379 end;
7480
@@ -77,12 +83,14 @@ create or replace type body ut_coverage_html_reporter is
7783 a_project_name varchar2 := null,
7884 a_file_mappings ut_coverage_file_mappings,
7985 a_include_object_list ut_varchar2_list := null,
80- a_exclude_object_list ut_varchar2_list := null
86+ a_exclude_object_list ut_varchar2_list := null,
87+ a_html_report_assets_path varchar2 := null
8188 ) return self as result is
8289 begin
8390 self.init($$plsql_unit);
8491 ut_coverage.init(a_file_mappings, a_include_object_list, a_exclude_object_list);
8592 self.project_name := a_project_name;
93+ assets_path := nvl(a_html_report_assets_path, ut_coverage_report_html_helper.get_default_html_assets_path());
8694 return;
8795 end;
8896
0 commit comments