utPLSQL has been supported by Redgate in the form of sponsored stickers and t-shirts. Thank you for helping us spread the word!
-
-
-
+utPLSQL is free and open source (Apache 2.0). Sponsorship funds development of new features and tools, maintaining compatibility with new Oracle versions and platforms, documentation.
+See [Sponsorship](https://www.utplsql.org/sponsorship.html) for organization tiers, commercial support and individual sponsorship. All current and past sponsors are listed in [SPONSORS.md](SPONSORS.md).
----
+
+
-[Authors](docs/about/authors.md)
+## License
+
+utPLSQL is free and open source, licensed under the [Apache 2.0 license](LICENSE).
+
+## Stewardship
+
+utPLSQL is stewarded by utPLSQL Development Labs Ltd, which holds the utPLSQL name, branding and project assets, and manages sponsorships and funded development.
+Contributors retain copyright of their contributions, which are licensed under the Apache 2.0 license.
+See the [announcement](https://www.utplsql.org/announcements/incorporation-of-utplsql-development-labs-ltd.html) for details.
diff --git a/sonar-project.properties b/sonar-project.properties
index efcaeb5e6..0a835a2f3 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -3,7 +3,7 @@ sonar.organization=utplsql
sonar.projectKey=utPLSQL_utPLSQL
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=utPLSQL
-sonar.projectVersion=v3.2.01-develop
+sonar.projectVersion=v3.2.4-develop
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set.
diff --git a/source/api/be_between.syn b/source/api/be_between.syn
index c0972595d..233dd65bf 100644
--- a/source/api/be_between.syn
+++ b/source/api/be_between.syn
@@ -1 +1 @@
-create synonym be_between for ut_be_between;
+create noneditionable synonym be_between for ut_be_between;
diff --git a/source/api/be_empty.syn b/source/api/be_empty.syn
index a8e28de6e..f63366fa3 100644
--- a/source/api/be_empty.syn
+++ b/source/api/be_empty.syn
@@ -1 +1 @@
-create synonym be_empty for ut_be_empty;
+create noneditionable synonym be_empty for ut_be_empty;
diff --git a/source/api/be_false.syn b/source/api/be_false.syn
index c2665bbcb..cdf497235 100644
--- a/source/api/be_false.syn
+++ b/source/api/be_false.syn
@@ -1 +1 @@
-create synonym be_false for ut_be_false;
+create noneditionable synonym be_false for ut_be_false;
diff --git a/source/api/be_greater_or_equal.syn b/source/api/be_greater_or_equal.syn
index 386fe7f32..67616dc1d 100644
--- a/source/api/be_greater_or_equal.syn
+++ b/source/api/be_greater_or_equal.syn
@@ -1 +1 @@
-create synonym be_greater_or_equal for ut_be_greater_or_equal;
+create noneditionable synonym be_greater_or_equal for ut_be_greater_or_equal;
diff --git a/source/api/be_greater_than.syn b/source/api/be_greater_than.syn
index 6f97b7d22..c180f3d43 100644
--- a/source/api/be_greater_than.syn
+++ b/source/api/be_greater_than.syn
@@ -1 +1 @@
-create synonym be_greater_than for ut_be_greater_than;
+create noneditionable synonym be_greater_than for ut_be_greater_than;
diff --git a/source/api/be_less_or_equal.syn b/source/api/be_less_or_equal.syn
index b2f836144..0069f52ba 100644
--- a/source/api/be_less_or_equal.syn
+++ b/source/api/be_less_or_equal.syn
@@ -1 +1 @@
-create synonym be_less_or_equal for ut_be_less_or_equal;
+create noneditionable synonym be_less_or_equal for ut_be_less_or_equal;
diff --git a/source/api/be_less_than.syn b/source/api/be_less_than.syn
index fbef3b4c3..5d2766d05 100644
--- a/source/api/be_less_than.syn
+++ b/source/api/be_less_than.syn
@@ -1 +1 @@
-create synonym be_less_than for ut_be_less_than;
+create noneditionable synonym be_less_than for ut_be_less_than;
diff --git a/source/api/be_like.syn b/source/api/be_like.syn
index a8be1de71..6f62f21a0 100644
--- a/source/api/be_like.syn
+++ b/source/api/be_like.syn
@@ -1 +1 @@
-create synonym be_like for ut_be_like;
+create noneditionable synonym be_like for ut_be_like;
diff --git a/source/api/be_not_null.syn b/source/api/be_not_null.syn
index d6458683a..a9e02b94d 100644
--- a/source/api/be_not_null.syn
+++ b/source/api/be_not_null.syn
@@ -1 +1 @@
-create synonym be_not_null for ut_be_not_null;
+create noneditionable synonym be_not_null for ut_be_not_null;
diff --git a/source/api/be_null.syn b/source/api/be_null.syn
index 42f6516c3..4fe3fb9dd 100644
--- a/source/api/be_null.syn
+++ b/source/api/be_null.syn
@@ -1 +1 @@
-create synonym be_null for ut_be_null;
+create noneditionable synonym be_null for ut_be_null;
diff --git a/source/api/be_true.syn b/source/api/be_true.syn
index bf7392a62..1aa348c7e 100644
--- a/source/api/be_true.syn
+++ b/source/api/be_true.syn
@@ -1 +1 @@
-create synonym be_true for ut_be_true;
+create noneditionable synonym be_true for ut_be_true;
diff --git a/source/api/be_within.syn b/source/api/be_within.syn
index e00005bb7..4f4f77606 100644
--- a/source/api/be_within.syn
+++ b/source/api/be_within.syn
@@ -1 +1 @@
-create synonym be_within for ut_be_within;
+create noneditionable synonym be_within for ut_be_within;
diff --git a/source/api/be_within_pct.syn b/source/api/be_within_pct.syn
index 40e3fb8b9..b9fc1cd53 100644
--- a/source/api/be_within_pct.syn
+++ b/source/api/be_within_pct.syn
@@ -1 +1 @@
-create synonym be_within_pct for ut_be_within_pct;
+create noneditionable synonym be_within_pct for ut_be_within_pct;
diff --git a/source/api/contain.syn b/source/api/contain.syn
index 5bce7d1d2..5b4158635 100644
--- a/source/api/contain.syn
+++ b/source/api/contain.syn
@@ -1 +1 @@
-create synonym contain for ut_contain;
+create noneditionable synonym contain for ut_contain;
diff --git a/source/api/equal.syn b/source/api/equal.syn
index 71ba58b53..0d81fcf6f 100644
--- a/source/api/equal.syn
+++ b/source/api/equal.syn
@@ -1 +1 @@
-create synonym equal for ut_equal;
+create noneditionable synonym equal for ut_equal;
diff --git a/source/api/have_count.syn b/source/api/have_count.syn
index a406d47ec..9cbf8ebf2 100644
--- a/source/api/have_count.syn
+++ b/source/api/have_count.syn
@@ -1 +1 @@
-create synonym have_count for ut_have_count;
+create noneditionable synonym have_count for ut_have_count;
diff --git a/source/api/match.syn b/source/api/match.syn
index ffbda35b1..13e8cc97d 100644
--- a/source/api/match.syn
+++ b/source/api/match.syn
@@ -1 +1 @@
-create synonym match for ut_match;
+create noneditionable synonym match for ut_match;
diff --git a/source/api/ut.pkb b/source/api/ut.pkb
index d61de040a..d2cd65f1d 100644
--- a/source/api/ut.pkb
+++ b/source/api/ut.pkb
@@ -1,11 +1,11 @@
-create or replace package body ut is
+create or replace noneditionable package body ut is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/api/ut.pks b/source/api/ut.pks
index 6fd98dd9f..2fb843f22 100644
--- a/source/api/ut.pks
+++ b/source/api/ut.pks
@@ -1,11 +1,11 @@
-create or replace package ut authid current_user as
+create or replace noneditionable package ut authid current_user as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/api/ut_runner.pkb b/source/api/ut_runner.pkb
index 755683cc9..3366562af 100644
--- a/source/api/ut_runner.pkb
+++ b/source/api/ut_runner.pkb
@@ -1,11 +1,11 @@
-create or replace package body ut_runner is
+create or replace noneditionable package body ut_runner is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/api/ut_runner.pks b/source/api/ut_runner.pks
index 2c6bba888..6f73138ea 100644
--- a/source/api/ut_runner.pks
+++ b/source/api/ut_runner.pks
@@ -1,11 +1,11 @@
-create or replace package ut_runner authid current_user is
+create or replace noneditionable package ut_runner authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/api/ut_suite_item_info.tpb b/source/api/ut_suite_item_info.tpb
index 727707ae9..7005ded37 100644
--- a/source/api/ut_suite_item_info.tpb
+++ b/source/api/ut_suite_item_info.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_suite_item_info is
+create or replace noneditionable type body ut_suite_item_info is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/api/ut_suite_item_info.tps b/source/api/ut_suite_item_info.tps
index f632b2f52..c6fdbeb72 100644
--- a/source/api/ut_suite_item_info.tps
+++ b/source/api/ut_suite_item_info.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite_item_info as object (
+create or replace noneditionable type ut_suite_item_info as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/api/ut_suite_items_info.tps b/source/api/ut_suite_items_info.tps
index e47b350e5..ac0d52a93 100644
--- a/source/api/ut_suite_items_info.tps
+++ b/source/api/ut_suite_items_info.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite_items_info as
+create or replace noneditionable type ut_suite_items_info as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/check_object_grants.sql b/source/check_object_grants.sql
index 0e7a9b4c9..87e821003 100644
--- a/source/check_object_grants.sql
+++ b/source/check_object_grants.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -16,11 +16,7 @@
*/
declare
- $if dbms_db_version.version >= 18 $then
- c_expected_grants constant dbmsoutput_linesarray := dbmsoutput_linesarray('DBMS_CRYPTO');
- $else
- c_expected_grants constant dbmsoutput_linesarray := dbmsoutput_linesarray('DBMS_LOCK','DBMS_CRYPTO');
- $end
+ c_expected_grants constant dbmsoutput_linesarray := dbmsoutput_linesarray('DBMS_CRYPTO');
l_missing_grants varchar2(4000);
l_target_table varchar2(128);
l_owner_column varchar2(128);
diff --git a/source/check_sys_grants.sql b/source/check_sys_grants.sql
index f81157183..9e1a64e0b 100644
--- a/source/check_sys_grants.sql
+++ b/source/check_sys_grants.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotated_object.tps b/source/core/annotations/ut_annotated_object.tps
index 21f6ab330..a8b767212 100644
--- a/source/core/annotations/ut_annotated_object.tps
+++ b/source/core/annotations/ut_annotated_object.tps
@@ -1,10 +1,10 @@
-create type ut_annotated_object as object(
+create or replace noneditionable type ut_annotated_object as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotated_objects.tps b/source/core/annotations/ut_annotated_objects.tps
index 63679b699..fe8fc62f7 100644
--- a/source/core/annotations/ut_annotated_objects.tps
+++ b/source/core/annotations/ut_annotated_objects.tps
@@ -1,10 +1,10 @@
-create type ut_annotated_objects as
+create or replace noneditionable type ut_annotated_objects as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation.tps b/source/core/annotations/ut_annotation.tps
index 18747516a..5b8208b8a 100644
--- a/source/core/annotations/ut_annotation.tps
+++ b/source/core/annotations/ut_annotation.tps
@@ -1,10 +1,10 @@
-create type ut_annotation as object(
+create or replace noneditionable type ut_annotation as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_cache.sql b/source/core/annotations/ut_annotation_cache.sql
index 7d69b1db6..2ebcb245f 100644
--- a/source/core/annotations/ut_annotation_cache.sql
+++ b/source/core/annotations/ut_annotation_cache.sql
@@ -2,8 +2,8 @@ create table ut_annotation_cache (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/annotations/ut_annotation_cache_info.sql b/source/core/annotations/ut_annotation_cache_info.sql
index 6248f4fbc..d8d9ab663 100644
--- a/source/core/annotations/ut_annotation_cache_info.sql
+++ b/source/core/annotations/ut_annotation_cache_info.sql
@@ -2,8 +2,8 @@ create table ut_annotation_cache_info (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/annotations/ut_annotation_cache_manager.pkb b/source/core/annotations/ut_annotation_cache_manager.pkb
index 52184e17d..2917102c0 100644
--- a/source/core/annotations/ut_annotation_cache_manager.pkb
+++ b/source/core/annotations/ut_annotation_cache_manager.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_annotation_cache_manager as
+create or replace noneditionable package body ut_annotation_cache_manager as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_cache_manager.pks b/source/core/annotations/ut_annotation_cache_manager.pks
index 55d109f91..cfd9a0280 100644
--- a/source/core/annotations/ut_annotation_cache_manager.pks
+++ b/source/core/annotations/ut_annotation_cache_manager.pks
@@ -1,10 +1,10 @@
-create or replace package ut_annotation_cache_manager authid definer as
+create or replace noneditionable package ut_annotation_cache_manager authid definer as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_cache_schema.sql b/source/core/annotations/ut_annotation_cache_schema.sql
index b8ebaa40b..46c49739d 100644
--- a/source/core/annotations/ut_annotation_cache_schema.sql
+++ b/source/core/annotations/ut_annotation_cache_schema.sql
@@ -2,8 +2,8 @@ create table ut_annotation_cache_schema (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/annotations/ut_annotation_cache_seq.sql b/source/core/annotations/ut_annotation_cache_seq.sql
index f0f1f17d7..0313abde5 100644
--- a/source/core/annotations/ut_annotation_cache_seq.sql
+++ b/source/core/annotations/ut_annotation_cache_seq.sql
@@ -2,8 +2,8 @@ create sequence ut_annotation_cache_seq
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/annotations/ut_annotation_manager.pkb b/source/core/annotations/ut_annotation_manager.pkb
index e7d9f2719..c10b99708 100644
--- a/source/core/annotations/ut_annotation_manager.pkb
+++ b/source/core/annotations/ut_annotation_manager.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_annotation_manager as
+create or replace noneditionable package body ut_annotation_manager as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -277,15 +277,8 @@ create or replace package body ut_annotation_manager as
begin
if ora_dict_obj_type in ('PACKAGE','PROCEDURE','FUNCTION','TYPE') then
- $if dbms_db_version.version < 12 $then
- l_restricted_users := ora_name_list_t(
- 'ANONYMOUS','APPQOSSYS','AUDSYS','DBSFWUSER','DBSNMP','DIP','GGSYS','GSMADMIN_INTERNAL',
- 'GSMCATUSER','GSMUSER','ORACLE_OCM','OUTLN','REMOTE_SCHEDULER_AGENT','SYS','SYS$UMF',
- 'SYSBACKUP','SYSDG','SYSKM','SYSRAC','SYSTEM','WMSYS','XDB','XS$NULL');
- $else
- select /*+ no_parallel */ username bulk collect into l_restricted_users
- from all_users where oracle_maintained = 'Y';
- $end
+ select /*+ no_parallel */ username bulk collect into l_restricted_users
+ from all_users where oracle_maintained = 'Y';
if ora_dict_obj_owner member of l_restricted_users then
return;
end if;
diff --git a/source/core/annotations/ut_annotation_manager.pks b/source/core/annotations/ut_annotation_manager.pks
index 637577d59..37809e88c 100644
--- a/source/core/annotations/ut_annotation_manager.pks
+++ b/source/core/annotations/ut_annotation_manager.pks
@@ -1,10 +1,10 @@
-create or replace package ut_annotation_manager authid current_user as
+create or replace noneditionable package ut_annotation_manager authid current_user as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_obj_cache_info.tps b/source/core/annotations/ut_annotation_obj_cache_info.tps
index f7bdfa9a8..1e2d9d265 100644
--- a/source/core/annotations/ut_annotation_obj_cache_info.tps
+++ b/source/core/annotations/ut_annotation_obj_cache_info.tps
@@ -1,10 +1,10 @@
-create type ut_annotation_obj_cache_info as object(
+create or replace noneditionable type ut_annotation_obj_cache_info as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_objs_cache_info.tps b/source/core/annotations/ut_annotation_objs_cache_info.tps
index eb69f41e9..1e1d730b6 100644
--- a/source/core/annotations/ut_annotation_objs_cache_info.tps
+++ b/source/core/annotations/ut_annotation_objs_cache_info.tps
@@ -1,10 +1,10 @@
-create type ut_annotation_objs_cache_info as
+create or replace noneditionable type ut_annotation_objs_cache_info as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_parser.pkb b/source/core/annotations/ut_annotation_parser.pkb
index 8682604f6..f7314c2a0 100644
--- a/source/core/annotations/ut_annotation_parser.pkb
+++ b/source/core/annotations/ut_annotation_parser.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_annotation_parser as
+create or replace noneditionable package body ut_annotation_parser as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotation_parser.pks b/source/core/annotations/ut_annotation_parser.pks
index 5bc2700a4..84d54df81 100644
--- a/source/core/annotations/ut_annotation_parser.pks
+++ b/source/core/annotations/ut_annotation_parser.pks
@@ -1,10 +1,10 @@
-create or replace package ut_annotation_parser authid current_user as
+create or replace noneditionable package ut_annotation_parser authid current_user as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_annotations.tps b/source/core/annotations/ut_annotations.tps
index 7669f008b..2295dc797 100644
--- a/source/core/annotations/ut_annotations.tps
+++ b/source/core/annotations/ut_annotations.tps
@@ -1,10 +1,10 @@
-create type ut_annotations
+create or replace noneditionable type ut_annotations
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_trigger_annotation_parsing.trg b/source/core/annotations/ut_trigger_annotation_parsing.trg
index 75caea5e8..60d1fec16 100644
--- a/source/core/annotations/ut_trigger_annotation_parsing.trg
+++ b/source/core/annotations/ut_trigger_annotation_parsing.trg
@@ -6,8 +6,8 @@ begin
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/annotations/ut_trigger_check.pkb b/source/core/annotations/ut_trigger_check.pkb
index d533044bb..c9b5172f7 100644
--- a/source/core/annotations/ut_trigger_check.pkb
+++ b/source/core/annotations/ut_trigger_check.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_trigger_check is
+create or replace noneditionable package body ut_trigger_check is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -22,7 +22,7 @@ create or replace package body ut_trigger_check is
function is_alive return boolean is
pragma autonomous_transaction;
begin
- execute immediate 'create or replace synonym '||ut_utils.ut_owner||'.'||gc_check_object_name||' for no_object';
+ execute immediate 'create or replace noneditionable synonym '||ut_utils.ut_owner||'.'||gc_check_object_name||' for no_object';
return g_is_trigger_live;
end;
diff --git a/source/core/annotations/ut_trigger_check.pks b/source/core/annotations/ut_trigger_check.pks
index 8c095c71a..a473c859b 100644
--- a/source/core/annotations/ut_trigger_check.pks
+++ b/source/core/annotations/ut_trigger_check.pks
@@ -1,10 +1,10 @@
-create or replace package ut_trigger_check authid definer is
+create or replace noneditionable package ut_trigger_check authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage.pkb b/source/core/coverage/ut_coverage.pkb
index f3181fdc7..257d809ed 100644
--- a/source/core/coverage/ut_coverage.pkb
+++ b/source/core/coverage/ut_coverage.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage is
+create or replace noneditionable package body ut_coverage is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -277,41 +277,38 @@ create or replace package body ut_coverage is
l_result_profiler_enrich := ut_coverage_profiler.get_coverage_data( l_coverage_options );
ut_event_manager.trigger_event('profiler coverage data retrieved');
- -- If block coverage available we will use it.
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- l_result_block := ut_coverage_block.get_coverage_data( l_coverage_options );
- ut_event_manager.trigger_event('block coverage data retrieved');
-
- -- Enrich profiler results with some of the block results
- l_object := l_result_profiler_enrich.objects.first;
- while (l_object is not null) loop
-
- l_line_no := l_result_profiler_enrich.objects(l_object).lines.first;
-
- -- to avoid no data found check if we got object in profiler
- if l_result_block.objects.exists(l_object) then
- while (l_line_no is not null) loop
- -- To avoid no data check for object line
- if l_result_block.objects(l_object).lines.exists(l_line_no) then
- -- enrich line level stats
- l_result_profiler_enrich.objects(l_object).lines(l_line_no).partcove := l_result_block.objects(l_object).lines(l_line_no).partcove;
- l_result_profiler_enrich.objects(l_object).lines(l_line_no).covered_blocks := l_result_block.objects(l_object).lines(l_line_no).covered_blocks;
- l_result_profiler_enrich.objects(l_object).lines(l_line_no).no_blocks := l_result_block.objects(l_object).lines(l_line_no).no_blocks;
- -- enrich object level stats
- l_result_profiler_enrich.objects(l_object).partcovered_lines := nvl(l_result_profiler_enrich.objects(l_object).partcovered_lines,0) + l_result_block.objects(l_object).lines(l_line_no).partcove;
- end if;
- --At the end go to next line
- l_line_no := l_result_profiler_enrich.objects(l_object).lines.next(l_line_no);
- end loop;
- --total level stats enrich
- l_result_profiler_enrich.partcovered_lines := nvl(l_result_profiler_enrich.partcovered_lines,0) + l_result_profiler_enrich.objects(l_object).partcovered_lines;
- -- At the end go to next object
- end if;
-
- l_object := l_result_profiler_enrich.objects.next(l_object);
- end loop;
- ut_event_manager.trigger_event('coverage data combined');
- $end
+ l_result_block := ut_coverage_block.get_coverage_data( l_coverage_options );
+ ut_event_manager.trigger_event('block coverage data retrieved');
+
+ -- Enrich profiler results with some of the block results
+ l_object := l_result_profiler_enrich.objects.first;
+ while (l_object is not null) loop
+
+ l_line_no := l_result_profiler_enrich.objects(l_object).lines.first;
+
+ -- to avoid no data found check if we got object in profiler
+ if l_result_block.objects.exists(l_object) then
+ while (l_line_no is not null) loop
+ -- To avoid no data check for object line
+ if l_result_block.objects(l_object).lines.exists(l_line_no) then
+ -- enrich line level stats
+ l_result_profiler_enrich.objects(l_object).lines(l_line_no).partcove := l_result_block.objects(l_object).lines(l_line_no).partcove;
+ l_result_profiler_enrich.objects(l_object).lines(l_line_no).covered_blocks := l_result_block.objects(l_object).lines(l_line_no).covered_blocks;
+ l_result_profiler_enrich.objects(l_object).lines(l_line_no).no_blocks := l_result_block.objects(l_object).lines(l_line_no).no_blocks;
+ -- enrich object level stats
+ l_result_profiler_enrich.objects(l_object).partcovered_lines := nvl(l_result_profiler_enrich.objects(l_object).partcovered_lines,0) + l_result_block.objects(l_object).lines(l_line_no).partcove;
+ end if;
+ --At the end go to next line
+ l_line_no := l_result_profiler_enrich.objects(l_object).lines.next(l_line_no);
+ end loop;
+ --total level stats enrich
+ l_result_profiler_enrich.partcovered_lines := nvl(l_result_profiler_enrich.partcovered_lines,0) + l_result_profiler_enrich.objects(l_object).partcovered_lines;
+ -- At the end go to next object
+ end if;
+
+ l_object := l_result_profiler_enrich.objects.next(l_object);
+ end loop;
+ ut_event_manager.trigger_event('coverage data combined');
return l_result_profiler_enrich;
end get_coverage_data;
diff --git a/source/core/coverage/ut_coverage.pks b/source/core/coverage/ut_coverage.pks
index 6bcde8e64..f777fde4e 100644
--- a/source/core/coverage/ut_coverage.pks
+++ b/source/core/coverage/ut_coverage.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage authid current_user is
+create or replace noneditionable package ut_coverage authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_block.pkb b/source/core/coverage/ut_coverage_block.pkb
index 2d7e8bdac..d6f52d9db 100644
--- a/source/core/coverage/ut_coverage_block.pkb
+++ b/source/core/coverage/ut_coverage_block.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage_block is
+create or replace noneditionable package body ut_coverage_block is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -32,7 +32,6 @@ create or replace package body ut_coverage_block is
l_source_object ut_coverage_helper.t_tmp_table_object;
begin
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
l_source_objects_crsr := ut_coverage_helper.get_tmp_table_objects_cursor();
loop
fetch l_source_objects_crsr
@@ -151,7 +150,6 @@ create or replace package body ut_coverage_block is
end loop;
close l_source_objects_crsr;
- $end
return l_result;
end get_coverage_data;
diff --git a/source/core/coverage/ut_coverage_block.pks b/source/core/coverage/ut_coverage_block.pks
index 1bd9c2d39..68451e1ed 100644
--- a/source/core/coverage/ut_coverage_block.pks
+++ b/source/core/coverage/ut_coverage_block.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage_block authid current_user is
+create or replace noneditionable package ut_coverage_block authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_helper.pkb b/source/core/coverage/ut_coverage_helper.pkb
index 16e0bf7a1..555c12fa4 100644
--- a/source/core/coverage/ut_coverage_helper.pkb
+++ b/source/core/coverage/ut_coverage_helper.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage_helper is
+create or replace noneditionable package body ut_coverage_helper is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_helper.pks b/source/core/coverage/ut_coverage_helper.pks
index da4cba087..3b51bddb3 100644
--- a/source/core/coverage/ut_coverage_helper.pks
+++ b/source/core/coverage/ut_coverage_helper.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage_helper authid definer is
+create or replace noneditionable package ut_coverage_helper authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_helper_block.pkb b/source/core/coverage/ut_coverage_helper_block.pkb
index 0cf009a10..6aa9f6912 100644
--- a/source/core/coverage/ut_coverage_helper_block.pkb
+++ b/source/core/coverage/ut_coverage_helper_block.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage_helper_block is
+create or replace noneditionable package body ut_coverage_helper_block is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -25,20 +25,12 @@ create or replace package body ut_coverage_helper_block is
function coverage_start(a_run_comment varchar2) return integer is
begin
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- return dbms_plsql_code_coverage.start_coverage(run_comment => a_run_comment);
- $else
- return null;
- $end
+ return dbms_plsql_code_coverage.start_coverage(run_comment => a_run_comment);
end;
procedure coverage_stop is
begin
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- dbms_plsql_code_coverage.stop_coverage();
- $else
- null;
- $end
+ dbms_plsql_code_coverage.stop_coverage();
exception
when others then
if sqlcode = -08402 then
@@ -89,21 +81,19 @@ create or replace package body ut_coverage_helper_block is
l_results ut_coverage_helper.t_unit_line_calls;
begin
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- l_tmp_data := block_results(a_object, a_coverage_run_id);
+ l_tmp_data := block_results(a_object, a_coverage_run_id);
- for i in 1 .. l_tmp_data.count loop
- l_results(l_tmp_data(i).line).blocks := l_tmp_data(i).blocks;
- l_results(l_tmp_data(i).line).covered_blocks := l_tmp_data(i).covered_blocks;
- l_results(l_tmp_data(i).line).partcovered :=
- case
- when (l_tmp_data(i).covered_blocks > 0)
- and (l_tmp_data(i).blocks > l_tmp_data(i).covered_blocks)
- then 1
- else 0
- end;
- end loop;
- $end
+ for i in 1 .. l_tmp_data.count loop
+ l_results(l_tmp_data(i).line).blocks := l_tmp_data(i).blocks;
+ l_results(l_tmp_data(i).line).covered_blocks := l_tmp_data(i).covered_blocks;
+ l_results(l_tmp_data(i).line).partcovered :=
+ case
+ when (l_tmp_data(i).covered_blocks > 0)
+ and (l_tmp_data(i).blocks > l_tmp_data(i).covered_blocks)
+ then 1
+ else 0
+ end;
+ end loop;
return l_results;
end;
end;
diff --git a/source/core/coverage/ut_coverage_helper_block.pks b/source/core/coverage/ut_coverage_helper_block.pks
index 3ee1f266c..0bef1ebce 100644
--- a/source/core/coverage/ut_coverage_helper_block.pks
+++ b/source/core/coverage/ut_coverage_helper_block.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage_helper_block authid current_user is
+create or replace noneditionable package ut_coverage_helper_block authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_helper_profiler.pkb b/source/core/coverage/ut_coverage_helper_profiler.pkb
index 7f6e6e51d..f1c9ab921 100644
--- a/source/core/coverage/ut_coverage_helper_profiler.pkb
+++ b/source/core/coverage/ut_coverage_helper_profiler.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage_helper_profiler is
+create or replace noneditionable package body ut_coverage_helper_profiler is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_helper_profiler.pks b/source/core/coverage/ut_coverage_helper_profiler.pks
index 2e56d10f7..841235080 100644
--- a/source/core/coverage/ut_coverage_helper_profiler.pks
+++ b/source/core/coverage/ut_coverage_helper_profiler.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage_helper_profiler authid definer is
+create or replace noneditionable package ut_coverage_helper_profiler authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_profiler.pkb b/source/core/coverage/ut_coverage_profiler.pkb
index 1dc40bcbc..1bd037083 100644
--- a/source/core/coverage/ut_coverage_profiler.pkb
+++ b/source/core/coverage/ut_coverage_profiler.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage_profiler is
+create or replace noneditionable package body ut_coverage_profiler is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_profiler.pks b/source/core/coverage/ut_coverage_profiler.pks
index 16145c34a..4cdab2ae1 100644
--- a/source/core/coverage/ut_coverage_profiler.pks
+++ b/source/core/coverage/ut_coverage_profiler.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage_profiler authid current_user is
+create or replace noneditionable package ut_coverage_profiler authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_reporter_base.tpb b/source/core/coverage/ut_coverage_reporter_base.tpb
index f28226428..70d27afc3 100644
--- a/source/core/coverage/ut_coverage_reporter_base.tpb
+++ b/source/core/coverage/ut_coverage_reporter_base.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_coverage_reporter_base is
+create or replace noneditionable type body ut_coverage_reporter_base is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_reporter_base.tps b/source/core/coverage/ut_coverage_reporter_base.tps
index b917ea707..3de89e8bb 100644
--- a/source/core/coverage/ut_coverage_reporter_base.tps
+++ b/source/core/coverage/ut_coverage_reporter_base.tps
@@ -1,10 +1,10 @@
-create or replace type ut_coverage_reporter_base under ut_output_reporter_base(
+create or replace noneditionable type ut_coverage_reporter_base under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/coverage/ut_coverage_sources_tmp.sql b/source/core/coverage/ut_coverage_sources_tmp.sql
index 35eb05510..90fe38171 100644
--- a/source/core/coverage/ut_coverage_sources_tmp.sql
+++ b/source/core/coverage/ut_coverage_sources_tmp.sql
@@ -2,8 +2,8 @@ create global temporary table ut_coverage_sources_tmp(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/events/ut_event_item.tps b/source/core/events/ut_event_item.tps
index bb4556e03..28391a8d2 100644
--- a/source/core/events/ut_event_item.tps
+++ b/source/core/events/ut_event_item.tps
@@ -1,10 +1,10 @@
-create or replace type ut_event_item authid current_user as object (
+create or replace noneditionable type ut_event_item authid current_user as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/events/ut_event_listener.tps b/source/core/events/ut_event_listener.tps
index ee34bb009..c16d00065 100644
--- a/source/core/events/ut_event_listener.tps
+++ b/source/core/events/ut_event_listener.tps
@@ -1,10 +1,10 @@
-create or replace type ut_event_listener authid current_user as object (
+create or replace noneditionable type ut_event_listener authid current_user as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/events/ut_event_manager.pkb b/source/core/events/ut_event_manager.pkb
index 0b80b5a98..bbc342a1f 100644
--- a/source/core/events/ut_event_manager.pkb
+++ b/source/core/events/ut_event_manager.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_event_manager as
+create or replace noneditionable package body ut_event_manager as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/events/ut_event_manager.pks b/source/core/events/ut_event_manager.pks
index 9cea89898..d6480b83f 100644
--- a/source/core/events/ut_event_manager.pks
+++ b/source/core/events/ut_event_manager.pks
@@ -1,10 +1,10 @@
-create or replace package ut_event_manager authid current_user as
+create or replace noneditionable package ut_event_manager authid current_user as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_buffer_base.tpb b/source/core/output_buffers/ut_output_buffer_base.tpb
index dc9b34b88..5ce32eb23 100644
--- a/source/core/output_buffers/ut_output_buffer_base.tpb
+++ b/source/core/output_buffers/ut_output_buffer_base.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_output_buffer_base is
+create or replace noneditionable type body ut_output_buffer_base is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_buffer_base.tps b/source/core/output_buffers/ut_output_buffer_base.tps
index 9615cdc5e..e2d1c6731 100644
--- a/source/core/output_buffers/ut_output_buffer_base.tps
+++ b/source/core/output_buffers/ut_output_buffer_base.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_buffer_base force authid definer as object(
+create or replace noneditionable type ut_output_buffer_base force authid definer as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_buffer_info_tmp.sql b/source/core/output_buffers/ut_output_buffer_info_tmp.sql
index 2aba5a55c..b8bb10095 100644
--- a/source/core/output_buffers/ut_output_buffer_info_tmp.sql
+++ b/source/core/output_buffers/ut_output_buffer_info_tmp.sql
@@ -2,8 +2,8 @@ create table ut_output_buffer_info_tmp(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/output_buffers/ut_output_buffer_tmp.sql b/source/core/output_buffers/ut_output_buffer_tmp.sql
index 68b738d3f..535246bde 100644
--- a/source/core/output_buffers/ut_output_buffer_tmp.sql
+++ b/source/core/output_buffers/ut_output_buffer_tmp.sql
@@ -2,8 +2,8 @@ create table ut_output_buffer_tmp(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/output_buffers/ut_output_bulk_buffer.tpb b/source/core/output_buffers/ut_output_bulk_buffer.tpb
index bc0ec6128..bd5b66339 100644
--- a/source/core/output_buffers/ut_output_bulk_buffer.tpb
+++ b/source/core/output_buffers/ut_output_bulk_buffer.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_output_bulk_buffer is
+create or replace noneditionable type body ut_output_bulk_buffer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_bulk_buffer.tps b/source/core/output_buffers/ut_output_bulk_buffer.tps
index 31d7271fa..7534e8fa8 100644
--- a/source/core/output_buffers/ut_output_bulk_buffer.tps
+++ b/source/core/output_buffers/ut_output_bulk_buffer.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_bulk_buffer under ut_output_buffer_base (
+create or replace noneditionable type ut_output_bulk_buffer under ut_output_buffer_base (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_clob_buffer_tmp.sql b/source/core/output_buffers/ut_output_clob_buffer_tmp.sql
index fa61191ce..d8b3b8db9 100644
--- a/source/core/output_buffers/ut_output_clob_buffer_tmp.sql
+++ b/source/core/output_buffers/ut_output_clob_buffer_tmp.sql
@@ -7,8 +7,8 @@ begin
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/output_buffers/ut_output_clob_table_buffer.tpb b/source/core/output_buffers/ut_output_clob_table_buffer.tpb
index 8f1cd3187..91dd10e29 100644
--- a/source/core/output_buffers/ut_output_clob_table_buffer.tpb
+++ b/source/core/output_buffers/ut_output_clob_table_buffer.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_output_clob_table_buffer is
+create or replace noneditionable type body ut_output_clob_table_buffer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_clob_table_buffer.tps b/source/core/output_buffers/ut_output_clob_table_buffer.tps
index 2cfb2538b..22d6ac227 100644
--- a/source/core/output_buffers/ut_output_clob_table_buffer.tps
+++ b/source/core/output_buffers/ut_output_clob_table_buffer.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_clob_table_buffer under ut_output_buffer_base (
+create or replace noneditionable type ut_output_clob_table_buffer under ut_output_buffer_base (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_data_row.tps b/source/core/output_buffers/ut_output_data_row.tps
index ecfde404a..a8f0743ee 100644
--- a/source/core/output_buffers/ut_output_data_row.tps
+++ b/source/core/output_buffers/ut_output_data_row.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_data_row as object (
+create or replace noneditionable type ut_output_data_row as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_data_rows.tps b/source/core/output_buffers/ut_output_data_rows.tps
index c505e2fbf..6067e0d3b 100644
--- a/source/core/output_buffers/ut_output_data_rows.tps
+++ b/source/core/output_buffers/ut_output_data_rows.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_data_rows as
+create or replace noneditionable type ut_output_data_rows as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_table_buffer.tpb b/source/core/output_buffers/ut_output_table_buffer.tpb
index 5fbd39907..a4ea2be8d 100644
--- a/source/core/output_buffers/ut_output_table_buffer.tpb
+++ b/source/core/output_buffers/ut_output_table_buffer.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_output_table_buffer is
+create or replace noneditionable type body ut_output_table_buffer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/output_buffers/ut_output_table_buffer.tps b/source/core/output_buffers/ut_output_table_buffer.tps
index 6c75421db..06e157d90 100644
--- a/source/core/output_buffers/ut_output_table_buffer.tps
+++ b/source/core/output_buffers/ut_output_table_buffer.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_table_buffer under ut_output_buffer_base (
+create or replace noneditionable type ut_output_table_buffer under ut_output_buffer_base (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/session_context/ut_session_context.pkb b/source/core/session_context/ut_session_context.pkb
index 2443a350a..2db83506e 100644
--- a/source/core/session_context/ut_session_context.pkb
+++ b/source/core/session_context/ut_session_context.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_session_context as
+create or replace noneditionable package body ut_session_context as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/session_context/ut_session_context.pks b/source/core/session_context/ut_session_context.pks
index 8df2decee..1221bccda 100644
--- a/source/core/session_context/ut_session_context.pks
+++ b/source/core/session_context/ut_session_context.pks
@@ -1,10 +1,10 @@
-create or replace package ut_session_context as
+create or replace noneditionable package ut_session_context as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/session_context/ut_session_info.tpb b/source/core/session_context/ut_session_info.tpb
index d9d576fb9..fd1b80069 100644
--- a/source/core/session_context/ut_session_info.tpb
+++ b/source/core/session_context/ut_session_info.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_session_info as
+create or replace noneditionable type body ut_session_info as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/session_context/ut_session_info.tps b/source/core/session_context/ut_session_info.tps
index aeb3361c3..741d6cb59 100644
--- a/source/core/session_context/ut_session_info.tps
+++ b/source/core/session_context/ut_session_info.tps
@@ -1,10 +1,10 @@
-create or replace type ut_session_info under ut_event_listener (
+create or replace noneditionable type ut_session_info under ut_event_listener (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_console_reporter_base.tpb b/source/core/types/ut_console_reporter_base.tpb
index 282a52a9a..635a4d456 100644
--- a/source/core/types/ut_console_reporter_base.tpb
+++ b/source/core/types/ut_console_reporter_base.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_console_reporter_base is
+create or replace noneditionable type body ut_console_reporter_base is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_console_reporter_base.tps b/source/core/types/ut_console_reporter_base.tps
index 077af7e37..d23c6d9e4 100644
--- a/source/core/types/ut_console_reporter_base.tps
+++ b/source/core/types/ut_console_reporter_base.tps
@@ -1,10 +1,10 @@
-create or replace type ut_console_reporter_base under ut_output_reporter_base(
+create or replace noneditionable type ut_console_reporter_base under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_coverage_options.tpb b/source/core/types/ut_coverage_options.tpb
index 6c81af773..f4e07bf9b 100644
--- a/source/core/types/ut_coverage_options.tpb
+++ b/source/core/types/ut_coverage_options.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_coverage_options as
+create or replace noneditionable type body ut_coverage_options as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_coverage_options.tps b/source/core/types/ut_coverage_options.tps
index 3813232df..81a04101f 100644
--- a/source/core/types/ut_coverage_options.tps
+++ b/source/core/types/ut_coverage_options.tps
@@ -1,10 +1,10 @@
-create or replace type ut_coverage_options force as object (
+create or replace noneditionable type ut_coverage_options force as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_executable.tpb b/source/core/types/ut_executable.tpb
index c78cf4d77..5d454989d 100644
--- a/source/core/types/ut_executable.tpb
+++ b/source/core/types/ut_executable.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_executable is
+create or replace noneditionable type body ut_executable is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -38,20 +38,30 @@ create or replace type body ut_executable is
return ut_metadata.form_name(l_owner_name, object_name, procedure_name);
end;
- member procedure do_execute(self in out nocopy ut_executable, a_item in out nocopy ut_suite_item) is
+ member procedure do_execute(
+ self in out nocopy ut_executable,
+ a_item in out nocopy ut_suite_item,
+ a_ignored_exception_names in ut_varchar2_rows := null,
+ a_ignored_exception_numbers in ut_varchar2_rows :=null)
+ is
l_completed_without_errors boolean;
begin
- l_completed_without_errors := self.do_execute(a_item);
+ l_completed_without_errors := self.do_execute(a_item, a_ignored_exception_names, a_ignored_exception_numbers);
end do_execute;
- member function do_execute(self in out nocopy ut_executable, a_item in out nocopy ut_suite_item) return boolean is
- l_statement varchar2(4000);
- l_status number;
- l_cursor_number number;
- l_completed_without_errors boolean := true;
- l_failed_with_invalid_pck boolean := true;
- l_start_transaction_id varchar2(250);
- l_end_transaction_id varchar2(250);
+ member function do_execute(
+ self in out nocopy ut_executable,
+ a_item in out nocopy ut_suite_item,
+ a_ignored_exception_names in ut_varchar2_rows := null,
+ a_ignored_exception_numbers in ut_varchar2_rows :=null)
+ return boolean is
+ l_statement varchar2(4000);
+ l_status number;
+ l_cursor_number number;
+ l_completed_without_errors boolean := true;
+ l_failed_with_invalid_pck boolean := true;
+ l_start_transaction_id varchar2(250);
+ l_end_transaction_id varchar2(250);
function is_defined return boolean is
l_result boolean := false;
@@ -111,19 +121,33 @@ create or replace type body ut_executable is
if l_completed_without_errors then
l_statement :=
'declare' || chr(10) ||
- ' l_error_stack varchar2(32767);' || chr(10) ||
- ' l_error_backtrace varchar2(32767);' || chr(10) ||
+ ' l_error_stack varchar2(32767);' || chr(10) ||
+ ' l_error_backtrace varchar2(32767);' || chr(10) ||
+ ' l_ignored_exception_detected integer := 0;' || chr(10) ||
'begin' || chr(10) ||
' begin' || chr(10) ||
' ' || self.form_name( a_skip_current_user_schema => true ) || ';' || chr(10) ||
' exception' || chr(10) ||
+ case when a_ignored_exception_names is not empty then
+ ' when ' || ut_utils.table_to_clob( a_ignored_exception_names, ' or ' ) || ' then ' || chr(10) ||
+ ' l_ignored_exception_detected := 1;'
+ end ||
' when others then ' || chr(10) ||
+ case when a_ignored_exception_numbers is not empty then
+ ' if sqlcode in (' || ut_utils.table_to_clob( a_ignored_exception_numbers, ', ' ) || ') then ' || chr(10) ||
+ ' l_ignored_exception_detected := 1; ' || chr(10) ||
+ ' else ' || chr(10) ||
+ ' l_error_stack := dbms_utility.format_error_stack;' || chr(10) ||
+ ' l_error_backtrace := dbms_utility.format_error_backtrace;' || chr(10) ||
+ ' end if;'
+ else
' l_error_stack := dbms_utility.format_error_stack;' || chr(10) ||
- ' l_error_backtrace := dbms_utility.format_error_backtrace;' || chr(10) ||
- ' --raise on ORA-04068, ORA-04061: existing state of packages has been discarded to avoid unrecoverable session exception' || chr(10) ||
+ ' l_error_backtrace := dbms_utility.format_error_backtrace;'
+ end || chr(10) ||
' end;' || chr(10) ||
' :a_error_stack := l_error_stack;' || chr(10) ||
' :a_error_backtrace := l_error_backtrace;' || chr(10) ||
+ ' :a_ignored_exception_detected := l_ignored_exception_detected;' || chr(10) ||
'end;';
ut_utils.debug_log('ut_executable.do_execute l_statement: ' || l_statement);
@@ -139,9 +163,11 @@ create or replace type body ut_executable is
dbms_sql.parse(l_cursor_number, statement => l_statement, language_flag => dbms_sql.native);
dbms_sql.bind_variable(l_cursor_number, 'a_error_stack', to_char(null), 32767);
dbms_sql.bind_variable(l_cursor_number, 'a_error_backtrace', to_char(null), 32767);
+ dbms_sql.bind_variable(l_cursor_number, 'a_ignored_exception_detected', to_number(null));
l_status := dbms_sql.execute(l_cursor_number);
dbms_sql.variable_value(l_cursor_number, 'a_error_stack', self.error_stack);
dbms_sql.variable_value(l_cursor_number, 'a_error_backtrace', self.error_backtrace);
+ dbms_sql.variable_value(l_cursor_number, 'a_ignored_exception_detected', self.ignored_exception_detected);
dbms_sql.close_cursor(l_cursor_number);
exception
when ut_utils.ex_invalid_package then
diff --git a/source/core/types/ut_executable.tps b/source/core/types/ut_executable.tps
index 7d04c4e41..4e263402d 100644
--- a/source/core/types/ut_executable.tps
+++ b/source/core/types/ut_executable.tps
@@ -1,10 +1,10 @@
-create or replace type ut_executable under ut_event_item(
+create or replace noneditionable type ut_executable under ut_event_item(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -18,26 +18,37 @@ create or replace type ut_executable under ut_event_item(
/**
* The name of the event to be executed before and after the executable is invoked
*/
- executable_type varchar2(250 char),
- owner_name varchar2(250 char),
- object_name varchar2(250 char),
- procedure_name varchar2(250 char),
- error_backtrace varchar2(4000),
- error_stack varchar2(4000),
- serveroutput clob,
+ executable_type varchar2(250 char),
+ owner_name varchar2(250 char),
+ object_name varchar2(250 char),
+ procedure_name varchar2(250 char),
+ error_backtrace varchar2(4000),
+ error_stack varchar2(4000),
+ ignored_exception_detected integer,
+ serveroutput clob,
/**
* Used for ordering of executables, as Oracle doesn not guarantee ordering of items in a nested table.
*/
seq_no integer,
constructor function ut_executable( self in out nocopy ut_executable, a_owner varchar2, a_package varchar2, a_procedure_name varchar2, a_executable_type varchar2) return self as result,
member function form_name(a_skip_current_user_schema boolean := false) return varchar2,
- member procedure do_execute(self in out nocopy ut_executable, a_item in out nocopy ut_suite_item),
+ member procedure do_execute(
+ self in out nocopy ut_executable,
+ a_item in out nocopy ut_suite_item,
+ a_ignored_exception_names in ut_varchar2_rows := null,
+ a_ignored_exception_numbers in ut_varchar2_rows := null
+ ),
/**
* executes the defines executable
* returns true if executed without exceptions
* returns false if exceptions were raised
*/
- member function do_execute(self in out nocopy ut_executable, a_item in out nocopy ut_suite_item) return boolean,
+ member function do_execute(
+ self in out nocopy ut_executable,
+ a_item in out nocopy ut_suite_item,
+ a_ignored_exception_names in ut_varchar2_rows := null,
+ a_ignored_exception_numbers in ut_varchar2_rows :=null
+ ) return boolean,
member function get_error_stack_trace return varchar2
) not final
/
diff --git a/source/core/types/ut_executable_test.tpb b/source/core/types/ut_executable_test.tpb
index e816a1b1b..06851a007 100644
--- a/source/core/types/ut_executable_test.tpb
+++ b/source/core/types/ut_executable_test.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_executable_test as
+create or replace noneditionable type body ut_executable_test as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -31,141 +31,129 @@ create or replace type body ut_executable_test as
member procedure do_execute(
self in out nocopy ut_executable_test, a_item in out nocopy ut_suite_item,
- a_expected_error_codes in ut_varchar2_rows
+ a_expected_errors in ut_varchar2_rows
) is
l_completed_without_errors boolean;
begin
- l_completed_without_errors := self.do_execute(a_item, a_expected_error_codes);
+ l_completed_without_errors := self.do_execute(a_item, a_expected_errors);
end do_execute;
member function do_execute(
self in out nocopy ut_executable_test, a_item in out nocopy ut_suite_item,
- a_expected_error_codes in ut_varchar2_rows
+ a_expected_errors in ut_varchar2_rows
) return boolean is
- l_expected_except_message varchar2(4000);
- l_expected_error_numbers ut_integer_list;
-
- function build_exception_numbers_list(
- a_item in out nocopy ut_suite_item,
- a_expected_error_codes in ut_varchar2_rows
- ) return ut_integer_list is
+ l_failure_message varchar2(32767);
+ l_expected_error_names ut_varchar2_rows;
+ l_expected_error_numbers ut_varchar2_rows;
+ l_all_expected_errors ut_varchar2_rows;
+
+ procedure build_expected_exceptions(
+ a_item in out nocopy ut_suite_item,
+ a_exception_definitions in ut_varchar2_rows,
+ a_exception_names_list out ut_varchar2_rows,
+ a_exception_numbers_list out ut_varchar2_rows
+ ) is
l_exception_number integer;
- l_exception_number_list ut_integer_list := ut_integer_list();
- c_regexp_for_exception_no constant varchar2(30) := '^-?[[:digit:]]{1,5}$';
-
- c_integer_exception constant varchar2(1) := 'I';
- c_named_exception constant varchar2(1) := 'N';
-
- function is_valid_qualified_name (a_name varchar2) return boolean is
- l_name varchar2(500);
- begin
- l_name := dbms_assert.qualified_sql_name(a_name);
- return true;
- exception when others then
- return false;
- end;
-
- function check_exception_type(a_exception_name in varchar2) return varchar2 is
- l_exception_type varchar2(50);
- begin
- --check if it is a predefined exception
+ l_exception_name varchar2(128);
+ function to_exception_number (a_exception_var in varchar2, a_item ut_suite_item) return integer is
+ function get_exception_no(a_exception_var in varchar2) return integer is
+ l_exc_no integer;
begin
- execute immediate 'begin null; exception when '||a_exception_name||' then null; end;';
- l_exception_type := c_named_exception;
+ execute immediate 'declare l_exception integer; begin :l_exception := '||a_exception_var||'; end;'
+ using out l_exc_no;
+ return l_exc_no;
exception
when others then
- if dbms_utility.format_error_stack() like '%PLS-00485%' then
- declare
- e_invalid_number exception;
- pragma exception_init ( e_invalid_number, -6502 );
- begin
- execute immediate 'declare x integer := '||a_exception_name||'; begin null; end;';
- l_exception_type := c_integer_exception;
- exception
- when others then
- null;
- end;
- end if;
+ return null;
end;
- return l_exception_type;
- end;
-
- function get_exception_number (a_exception_var in varchar2) return integer is
- l_exc_no integer;
- l_exc_type varchar2(50);
function remap_no_data_found (a_number integer) return integer is
begin
return case a_number when 100 then -1403 else a_number end;
end;
begin
- l_exc_type := check_exception_type(a_exception_var);
-
- execute immediate
- case l_exc_type
- when c_integer_exception then
- 'declare l_exception number; begin :l_exception := '||a_exception_var||'; end;'
- when c_named_exception then
- 'begin raise '||a_exception_var||'; exception when others then :l_exception := sqlcode; end;'
- else
- 'begin :l_exception := null; end;'
- end
- using out l_exc_no;
+ return remap_no_data_found(
+ coalesce(
+ get_exception_no(a_exception_var),
+ get_exception_no(a_item.object_name||'.'||a_exception_var),
+ get_exception_no(a_item.object_owner||'.'||a_exception_var),
+ get_exception_no(a_item.object_owner||'.'||a_item.object_name||'.'||a_exception_var)
+ )
+ );
+ end;
+
+ function to_exception_name (a_exception_var in varchar2, a_item ut_suite_item) return varchar2 is
+ function verify_name(a_exception_name in varchar2) return varchar2 is
+ begin
+ --check if it is an existing, named exception
+ execute immediate 'begin null; exception when '||a_exception_name||' then null; end;';
+ return a_exception_name;
+ exception
+ when others then
+ return null;
+ end;
+ begin
+ return coalesce(
+ verify_name(a_exception_var),
+ verify_name(a_item.object_name||'.'||a_exception_var),
+ verify_name(a_item.object_owner||'.'||a_exception_var),
+ verify_name(a_item.object_owner||'.'||a_item.object_name||'.'||a_exception_var)
+ );
- return remap_no_data_found(l_exc_no);
end;
begin
- if a_expected_error_codes is not empty then
- for i in 1 .. a_expected_error_codes.count loop
- /**
- * Check if its a valid qualified name and if so try to resolve name to an exception number
- */
- if is_valid_qualified_name(a_expected_error_codes(i)) then
- l_exception_number := get_exception_number(a_expected_error_codes(i));
- elsif regexp_like(a_expected_error_codes(i), c_regexp_for_exception_no) then
- l_exception_number := a_expected_error_codes(i);
- end if;
-
- if l_exception_number is null then
+ a_exception_names_list := ut_varchar2_rows();
+ a_exception_numbers_list := ut_varchar2_rows();
+ if a_exception_definitions is not empty then
+ for i in 1 .. a_exception_definitions.count loop
+ l_exception_number :=
+ coalesce(
+ to_exception_number(a_exception_definitions(i), a_item),
+ to_number(a_exception_definitions(i) default null on conversion error )
+ );
+ l_exception_name := to_exception_name(a_exception_definitions(i), a_item);
+
+ if l_exception_number is null and l_exception_name is null then
a_item.put_warning(
- 'Invalid parameter value "'||a_expected_error_codes(i)||'" for "--%throws" annotation. Parameter ignored.',
+ 'Invalid parameter value "'||a_exception_definitions(i)||'" for "--%throws" annotation. Parameter ignored.',
self.procedure_name,
a_item.line_no
);
elsif l_exception_number >= 0 then
a_item.put_warning(
- 'Invalid parameter value "'||a_expected_error_codes(i)||'" for "--%throws" annotation. Exception value must be a negative integer. Parameter ignored.',
+ 'Invalid parameter value "'||a_exception_definitions(i)||'" for "--%throws" annotation. Exception value must be a negative integer. Parameter ignored.',
self.procedure_name,
a_item.line_no
);
- else
- l_exception_number_list.extend;
- l_exception_number_list(l_exception_number_list.last) := l_exception_number;
+ elsif l_exception_number is not null then
+ a_exception_numbers_list.extend;
+ a_exception_numbers_list(a_exception_numbers_list.last) := l_exception_number;
+ elsif l_exception_name is not null then
+ a_exception_names_list.extend;
+ a_exception_names_list(a_exception_names_list.last) := l_exception_name;
end if;
- l_exception_number := null;
end loop;
end if;
-
- return l_exception_number_list;
end;
- function failed_expec_errnum_message(a_expected_error_codes in ut_integer_list) return varchar is
+
+ function get_exception_failure_message(a_expected_errors_list ut_varchar2_rows) return varchar2 is
l_actual_error_no integer;
- l_expected_error_codes varchar2(4000);
+ l_expected_errors varchar2(4000);
l_fail_message varchar2(4000);
begin
--Convert the ut_varchar2_list to string to can construct the message
- l_expected_error_codes := ut_utils.table_to_clob(a_expected_error_codes, ', ');
+ l_expected_errors := ut_utils.table_to_clob(a_expected_errors_list, ', ');
if self.error_stack is null then
- l_fail_message := 'Expected one of exceptions ('||l_expected_error_codes||') but nothing was raised.';
+ l_fail_message := 'Expected one of exceptions ('|| l_expected_errors|| ') but nothing was raised.';
else
l_actual_error_no := regexp_substr(self.error_stack, '^[[:alpha:]]{3}(-[0-9]+)', subexpression=>1);
- if not l_actual_error_no member of a_expected_error_codes or l_actual_error_no is null then
+ if not l_actual_error_no member of a_expected_errors_list or l_actual_error_no is null then
l_fail_message := 'Actual: '||l_actual_error_no||' was expected to ';
- if cardinality(a_expected_error_codes) > 1 then
- l_fail_message := l_fail_message || 'be one of: ('||l_expected_error_codes||')';
+ if cardinality(a_expected_errors_list) > 1 then
+ l_fail_message := l_fail_message || 'be one of: ('|| l_expected_errors|| ')';
else
- l_fail_message := l_fail_message || 'equal: '||l_expected_error_codes;
+ l_fail_message := l_fail_message || 'equal: '||l_expected_errors;
end if;
l_fail_message := substr( l_fail_message||chr(10)||self.error_stack||chr(10)||self.error_backtrace, 1, 4000 );
end if;
@@ -175,14 +163,16 @@ create or replace type body ut_executable_test as
end;
begin
--Create a ut_executable object and call do_execute after that get the data to know the test's execution result
- self.do_execute(a_item);
- l_expected_error_numbers := build_exception_numbers_list(a_item, a_expected_error_codes);
- if l_expected_error_numbers is not null and l_expected_error_numbers is not empty then
- l_expected_except_message := failed_expec_errnum_message( l_expected_error_numbers );
+ build_expected_exceptions(a_item, a_expected_errors, l_expected_error_names, l_expected_error_numbers );
+
+ self.do_execute(a_item, l_expected_error_names, l_expected_error_numbers);
+ l_all_expected_errors := l_expected_error_names multiset union all l_expected_error_numbers;
+ if l_all_expected_errors is not empty and self.ignored_exception_detected = 0 then
+ l_failure_message := get_exception_failure_message( l_all_expected_errors);
- if l_expected_except_message is not null then
+ if l_failure_message is not null then
ut_expectation_processor.add_expectation_result(
- ut_expectation_result(ut_utils.gc_failure, null, l_expected_except_message, false)
+ ut_expectation_result(ut_utils.gc_failure, null, l_failure_message, false)
);
end if;
self.error_stack := null;
diff --git a/source/core/types/ut_executable_test.tps b/source/core/types/ut_executable_test.tps
index 76f2d1c7d..2f9a5f236 100644
--- a/source/core/types/ut_executable_test.tps
+++ b/source/core/types/ut_executable_test.tps
@@ -1,10 +1,10 @@
-create or replace type ut_executable_test authid current_user under ut_executable (
+create or replace noneditionable type ut_executable_test authid current_user under ut_executable (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -22,12 +22,12 @@ create or replace type ut_executable_test authid current_user under ut_executabl
member procedure do_execute(
self in out nocopy ut_executable_test, a_item in out nocopy ut_suite_item,
- a_expected_error_codes in ut_varchar2_rows
+ a_expected_errors in ut_varchar2_rows
),
member function do_execute(
self in out nocopy ut_executable_test, a_item in out nocopy ut_suite_item,
- a_expected_error_codes in ut_varchar2_rows
+ a_expected_errors in ut_varchar2_rows
) return boolean
) final;
diff --git a/source/core/types/ut_executables.tps b/source/core/types/ut_executables.tps
index f5fbbdfad..fb08b287d 100644
--- a/source/core/types/ut_executables.tps
+++ b/source/core/types/ut_executables.tps
@@ -1,10 +1,10 @@
-create or replace type ut_executables as
+create or replace noneditionable type ut_executables as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_expectation_result.tpb b/source/core/types/ut_expectation_result.tpb
index cf445b705..b98853efc 100644
--- a/source/core/types/ut_expectation_result.tpb
+++ b/source/core/types/ut_expectation_result.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_expectation_result is
+create or replace noneditionable type body ut_expectation_result is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_expectation_result.tps b/source/core/types/ut_expectation_result.tps
index 5a430fe64..5fc296bfe 100644
--- a/source/core/types/ut_expectation_result.tps
+++ b/source/core/types/ut_expectation_result.tps
@@ -1,10 +1,10 @@
-create or replace type ut_expectation_result under ut_event_item(
+create or replace noneditionable type ut_expectation_result under ut_event_item(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_expectation_results.tps b/source/core/types/ut_expectation_results.tps
index 50cc046ec..361bb8669 100644
--- a/source/core/types/ut_expectation_results.tps
+++ b/source/core/types/ut_expectation_results.tps
@@ -1,10 +1,10 @@
-create or replace type ut_expectation_results as
+create or replace noneditionable type ut_expectation_results as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_file_mapping.tpb b/source/core/types/ut_file_mapping.tpb
index 5b7133c56..4286bb171 100644
--- a/source/core/types/ut_file_mapping.tpb
+++ b/source/core/types/ut_file_mapping.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_file_mapping as
+create or replace noneditionable type body ut_file_mapping as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_file_mapping.tps b/source/core/types/ut_file_mapping.tps
index 8fed2df00..bd048a218 100644
--- a/source/core/types/ut_file_mapping.tps
+++ b/source/core/types/ut_file_mapping.tps
@@ -1,10 +1,10 @@
-create or replace type ut_file_mapping as object(
+create or replace noneditionable type ut_file_mapping as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_file_mappings.tps b/source/core/types/ut_file_mappings.tps
index 0e1653969..8ad94d2ec 100644
--- a/source/core/types/ut_file_mappings.tps
+++ b/source/core/types/ut_file_mappings.tps
@@ -1,10 +1,10 @@
-create or replace type ut_file_mappings as
+create or replace noneditionable type ut_file_mappings as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_integer_list.tps b/source/core/types/ut_integer_list.tps
index 00bce87c4..86316e630 100644
--- a/source/core/types/ut_integer_list.tps
+++ b/source/core/types/ut_integer_list.tps
@@ -1,10 +1,10 @@
-create or replace type ut_integer_list as
+create or replace noneditionable type ut_integer_list as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_key_value_pair.tps b/source/core/types/ut_key_value_pair.tps
index 38dee5a7d..0082affd3 100644
--- a/source/core/types/ut_key_value_pair.tps
+++ b/source/core/types/ut_key_value_pair.tps
@@ -1,10 +1,10 @@
-create or replace type ut_key_value_pair force as object(
+create or replace noneditionable type ut_key_value_pair force as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_key_value_pairs.tps b/source/core/types/ut_key_value_pairs.tps
index 327986e19..4b76438d4 100644
--- a/source/core/types/ut_key_value_pairs.tps
+++ b/source/core/types/ut_key_value_pairs.tps
@@ -1,10 +1,10 @@
-create or replace type ut_key_value_pairs as
+create or replace noneditionable type ut_key_value_pairs as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_logical_suite.tpb b/source/core/types/ut_logical_suite.tpb
index ea9b42857..47a154399 100644
--- a/source/core/types/ut_logical_suite.tpb
+++ b/source/core/types/ut_logical_suite.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_logical_suite as
+create or replace noneditionable type body ut_logical_suite as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_logical_suite.tps b/source/core/types/ut_logical_suite.tps
index ab2271e32..5993ee4f8 100644
--- a/source/core/types/ut_logical_suite.tps
+++ b/source/core/types/ut_logical_suite.tps
@@ -1,10 +1,10 @@
-create or replace type ut_logical_suite force under ut_suite_item (
+create or replace noneditionable type ut_logical_suite force under ut_suite_item (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_object_name.tpb b/source/core/types/ut_object_name.tpb
index e39231b0f..ce5d3b052 100644
--- a/source/core/types/ut_object_name.tpb
+++ b/source/core/types/ut_object_name.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_object_name as
+create or replace noneditionable type body ut_object_name as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_object_name.tps b/source/core/types/ut_object_name.tps
index dc4fe2bca..23ab1b161 100644
--- a/source/core/types/ut_object_name.tps
+++ b/source/core/types/ut_object_name.tps
@@ -1,10 +1,10 @@
-create or replace type ut_object_name as object (
+create or replace noneditionable type ut_object_name as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_object_names.tps b/source/core/types/ut_object_names.tps
index 2b42cce21..10159fbbb 100644
--- a/source/core/types/ut_object_names.tps
+++ b/source/core/types/ut_object_names.tps
@@ -1,10 +1,10 @@
-create or replace type ut_object_names as
+create or replace noneditionable type ut_object_names as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_output_reporter_base.tpb b/source/core/types/ut_output_reporter_base.tpb
index fec4ebfab..4857036a6 100644
--- a/source/core/types/ut_output_reporter_base.tpb
+++ b/source/core/types/ut_output_reporter_base.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_output_reporter_base is
+create or replace noneditionable type body ut_output_reporter_base is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_output_reporter_base.tps b/source/core/types/ut_output_reporter_base.tps
index f5827a97d..585069cf7 100644
--- a/source/core/types/ut_output_reporter_base.tps
+++ b/source/core/types/ut_output_reporter_base.tps
@@ -1,10 +1,10 @@
-create or replace type ut_output_reporter_base under ut_reporter_base(
+create or replace noneditionable type ut_output_reporter_base under ut_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_path_item.tpb b/source/core/types/ut_path_item.tpb
index 685178987..3d85c4e3e 100644
--- a/source/core/types/ut_path_item.tpb
+++ b/source/core/types/ut_path_item.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_path_item as
+create or replace noneditionable type body ut_path_item as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_path_item.tps b/source/core/types/ut_path_item.tps
index 5946cacbf..e90cf6099 100644
--- a/source/core/types/ut_path_item.tps
+++ b/source/core/types/ut_path_item.tps
@@ -1,10 +1,10 @@
-create or replace type ut_path_item as object (
+create or replace noneditionable type ut_path_item as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_path_items.tps b/source/core/types/ut_path_items.tps
index 7ae04e0b9..0cf12fa1a 100644
--- a/source/core/types/ut_path_items.tps
+++ b/source/core/types/ut_path_items.tps
@@ -1,10 +1,10 @@
-create or replace type ut_path_items as
+create or replace noneditionable type ut_path_items as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_reporter_base.tpb b/source/core/types/ut_reporter_base.tpb
index 445d9d351..5dca1db44 100644
--- a/source/core/types/ut_reporter_base.tpb
+++ b/source/core/types/ut_reporter_base.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_reporter_base is
+create or replace noneditionable type body ut_reporter_base is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_reporter_base.tps b/source/core/types/ut_reporter_base.tps
index 9df353060..f90162791 100644
--- a/source/core/types/ut_reporter_base.tps
+++ b/source/core/types/ut_reporter_base.tps
@@ -1,10 +1,10 @@
-create or replace type ut_reporter_base under ut_event_listener (
+create or replace noneditionable type ut_reporter_base under ut_event_listener (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_reporter_info.tps b/source/core/types/ut_reporter_info.tps
index 3491f7679..6f7219f7c 100644
--- a/source/core/types/ut_reporter_info.tps
+++ b/source/core/types/ut_reporter_info.tps
@@ -1,10 +1,10 @@
-create or replace type ut_reporter_info as object (
+create or replace noneditionable type ut_reporter_info as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_reporters.tps b/source/core/types/ut_reporters.tps
index ab6439dce..d47240e8b 100644
--- a/source/core/types/ut_reporters.tps
+++ b/source/core/types/ut_reporters.tps
@@ -1,10 +1,10 @@
-create or replace type ut_reporters as
+create or replace noneditionable type ut_reporters as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_reporters_info.tps b/source/core/types/ut_reporters_info.tps
index 3639f4c2c..b100789df 100644
--- a/source/core/types/ut_reporters_info.tps
+++ b/source/core/types/ut_reporters_info.tps
@@ -1,10 +1,10 @@
-create or replace type ut_reporters_info as
+create or replace noneditionable type ut_reporters_info as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_results_counter.tpb b/source/core/types/ut_results_counter.tpb
index 87fd83cf9..64be5d5a4 100644
--- a/source/core/types/ut_results_counter.tpb
+++ b/source/core/types/ut_results_counter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_results_counter as
+create or replace noneditionable type body ut_results_counter as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_results_counter.tps b/source/core/types/ut_results_counter.tps
index 62b3d9ffd..d53d37e21 100644
--- a/source/core/types/ut_results_counter.tps
+++ b/source/core/types/ut_results_counter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_results_counter as object(
+create or replace noneditionable type ut_results_counter as object(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_run.tpb b/source/core/types/ut_run.tpb
index 0956be32d..1e70a2fc4 100644
--- a/source/core/types/ut_run.tpb
+++ b/source/core/types/ut_run.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_run as
+create or replace noneditionable type body ut_run as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_run.tps b/source/core/types/ut_run.tps
index ef3631082..f55a84dda 100644
--- a/source/core/types/ut_run.tps
+++ b/source/core/types/ut_run.tps
@@ -1,10 +1,10 @@
-create or replace type ut_run under ut_suite_item (
+create or replace noneditionable type ut_run under ut_suite_item (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_run_info.tpb b/source/core/types/ut_run_info.tpb
index 1370de3cc..509960b05 100644
--- a/source/core/types/ut_run_info.tpb
+++ b/source/core/types/ut_run_info.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_run_info as
+create or replace noneditionable type body ut_run_info as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -12,7 +12,7 @@ create or replace type body ut_run_info as
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions andTEST_GET_REPORTERS_LIST
+ See the License for the specific language governing permissions and
limitations under the License.
*/
constructor function ut_run_info(self in out nocopy ut_run_info) return self as result is
diff --git a/source/core/types/ut_run_info.tps b/source/core/types/ut_run_info.tps
index df82c380d..b8ad8c55b 100644
--- a/source/core/types/ut_run_info.tps
+++ b/source/core/types/ut_run_info.tps
@@ -1,10 +1,10 @@
-create or replace type ut_run_info under ut_event_item (
+create or replace noneditionable type ut_run_info under ut_event_item (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_stack.tpb b/source/core/types/ut_stack.tpb
index da0c371a6..40ba8982b 100644
--- a/source/core/types/ut_stack.tpb
+++ b/source/core/types/ut_stack.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_stack as
+create or replace noneditionable type body ut_stack as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_stack.tps b/source/core/types/ut_stack.tps
index 5a5f90263..9356c4eb2 100644
--- a/source/core/types/ut_stack.tps
+++ b/source/core/types/ut_stack.tps
@@ -1,12 +1,12 @@
-create or replace type ut_stack as object (
+create or replace noneditionable type ut_stack as object (
top integer,
tokens ut_varchar2_list,
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite.tpb b/source/core/types/ut_suite.tpb
index 9558565ed..7012dee97 100644
--- a/source/core/types/ut_suite.tpb
+++ b/source/core/types/ut_suite.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_suite as
+create or replace noneditionable type body ut_suite as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite.tps b/source/core/types/ut_suite.tps
index 199e05ea4..3ed0def80 100644
--- a/source/core/types/ut_suite.tps
+++ b/source/core/types/ut_suite.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite under ut_logical_suite (
+create or replace noneditionable type ut_suite under ut_logical_suite (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_cache_row.tps b/source/core/types/ut_suite_cache_row.tps
index f294b3697..2293f9273 100644
--- a/source/core/types/ut_suite_cache_row.tps
+++ b/source/core/types/ut_suite_cache_row.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite_cache_row as object (
+create or replace noneditionable type ut_suite_cache_row as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_cache_rows.tps b/source/core/types/ut_suite_cache_rows.tps
index c69c8672f..cb3b573eb 100644
--- a/source/core/types/ut_suite_cache_rows.tps
+++ b/source/core/types/ut_suite_cache_rows.tps
@@ -1,10 +1,10 @@
-create type ut_suite_cache_rows as
+create or replace noneditionable type ut_suite_cache_rows as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_context.tpb b/source/core/types/ut_suite_context.tpb
index 52e57924a..9221cb160 100644
--- a/source/core/types/ut_suite_context.tpb
+++ b/source/core/types/ut_suite_context.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_suite_context as
+create or replace noneditionable type body ut_suite_context as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_context.tps b/source/core/types/ut_suite_context.tps
index 51d318235..a60899f9b 100644
--- a/source/core/types/ut_suite_context.tps
+++ b/source/core/types/ut_suite_context.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite_context under ut_suite (
+create or replace noneditionable type ut_suite_context under ut_suite (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_item.tpb b/source/core/types/ut_suite_item.tpb
index 965d2416e..01b9b0ee0 100644
--- a/source/core/types/ut_suite_item.tpb
+++ b/source/core/types/ut_suite_item.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_suite_item as
+create or replace noneditionable type body ut_suite_item as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_item.tps b/source/core/types/ut_suite_item.tps
index 8ba3c6183..556ff7f0b 100644
--- a/source/core/types/ut_suite_item.tps
+++ b/source/core/types/ut_suite_item.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite_item force under ut_event_item (
+create or replace noneditionable type ut_suite_item force under ut_event_item (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_suite_items.tps b/source/core/types/ut_suite_items.tps
index ee3466c5d..fe11b732a 100644
--- a/source/core/types/ut_suite_items.tps
+++ b/source/core/types/ut_suite_items.tps
@@ -1,10 +1,10 @@
-create or replace type ut_suite_items as
+create or replace noneditionable type ut_suite_items as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_test.tpb b/source/core/types/ut_test.tpb
index 21ca44713..c3577274c 100644
--- a/source/core/types/ut_test.tpb
+++ b/source/core/types/ut_test.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_test as
+create or replace noneditionable type body ut_test as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_test.tps b/source/core/types/ut_test.tps
index 215e3e9d6..7590abc35 100644
--- a/source/core/types/ut_test.tps
+++ b/source/core/types/ut_test.tps
@@ -1,10 +1,10 @@
-create or replace type ut_test force under ut_suite_item (
+create or replace noneditionable type ut_test force under ut_suite_item (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_varchar2_list.tps b/source/core/types/ut_varchar2_list.tps
index 95a5545a8..86c26d4de 100644
--- a/source/core/types/ut_varchar2_list.tps
+++ b/source/core/types/ut_varchar2_list.tps
@@ -1,10 +1,10 @@
-create or replace type ut_varchar2_list as
+create or replace noneditionable type ut_varchar2_list as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/types/ut_varchar2_rows.tps b/source/core/types/ut_varchar2_rows.tps
index c6f05df86..f34f990e6 100644
--- a/source/core/types/ut_varchar2_rows.tps
+++ b/source/core/types/ut_varchar2_rows.tps
@@ -1,10 +1,10 @@
-create or replace type ut_varchar2_rows as
+create or replace noneditionable type ut_varchar2_rows as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_dbms_output_cache.sql b/source/core/ut_dbms_output_cache.sql
index 802f30942..344afc7aa 100644
--- a/source/core/ut_dbms_output_cache.sql
+++ b/source/core/ut_dbms_output_cache.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/ut_expectation_processor.pkb b/source/core/ut_expectation_processor.pkb
index 654a838ca..8876cbb30 100644
--- a/source/core/ut_expectation_processor.pkb
+++ b/source/core/ut_expectation_processor.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_expectation_processor as
+create or replace noneditionable package body ut_expectation_processor as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -155,8 +155,7 @@ create or replace package body ut_expectation_processor as
l_owner varchar2(1000);
l_object_name varchar2(1000);
l_result varchar2(4000);
- -- in 12.2 format_call_stack reportes not only package name, but also the procedure name
- -- when 11g and 12c reports only package name
+ -- format_call_stack reports not only package name, but also the procedure name
function cut_header_and_expectations( a_stack varchar2 ) return varchar2 is
begin
return regexp_substr( a_stack, '(.*\.(UT_EQUAL|UT_BE_WITHIN[[:alnum:]$#_]*|UT_EXPECTATION[[:alnum:]$#_]*|UT|UTASSERT2?)(\.[[:alnum:]$#_]+)?\s+)+((.|\s)*)', 1, 1, 'm', 4);
diff --git a/source/core/ut_expectation_processor.pks b/source/core/ut_expectation_processor.pks
index 1837188eb..8d19becce 100644
--- a/source/core/ut_expectation_processor.pks
+++ b/source/core/ut_expectation_processor.pks
@@ -1,10 +1,10 @@
-create or replace package ut_expectation_processor authid current_user as
+create or replace noneditionable package ut_expectation_processor authid current_user as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_file_mapper.pkb b/source/core/ut_file_mapper.pkb
index 077319d76..8cb3f3911 100644
--- a/source/core/ut_file_mapper.pkb
+++ b/source/core/ut_file_mapper.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_file_mapper is
+create or replace noneditionable package body ut_file_mapper is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_file_mapper.pks b/source/core/ut_file_mapper.pks
index 71e045d7e..e1ce48a54 100644
--- a/source/core/ut_file_mapper.pks
+++ b/source/core/ut_file_mapper.pks
@@ -1,10 +1,10 @@
-create or replace package ut_file_mapper authid current_user is
+create or replace noneditionable package ut_file_mapper authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_metadata.pkb b/source/core/ut_metadata.pkb
index aec9a3c8d..7c89dc5ef 100644
--- a/source/core/ut_metadata.pkb
+++ b/source/core/ut_metadata.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_metadata as
+create or replace noneditionable package body ut_metadata as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_metadata.pks b/source/core/ut_metadata.pks
index 31cf4889b..f320e7bf8 100644
--- a/source/core/ut_metadata.pks
+++ b/source/core/ut_metadata.pks
@@ -1,10 +1,10 @@
-create or replace package ut_metadata authid current_user as
+create or replace noneditionable package ut_metadata authid current_user as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_savepoint_seq.sql b/source/core/ut_savepoint_seq.sql
index 2026ab0e3..393c2419a 100644
--- a/source/core/ut_savepoint_seq.sql
+++ b/source/core/ut_savepoint_seq.sql
@@ -2,8 +2,8 @@ create sequence ut_savepoint_seq
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/ut_suite_builder.pkb b/source/core/ut_suite_builder.pkb
index 2ebdb980c..0c9bbc982 100644
--- a/source/core/ut_suite_builder.pkb
+++ b/source/core/ut_suite_builder.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_suite_builder is
+create or replace noneditionable package body ut_suite_builder is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -754,7 +754,7 @@ create or replace package body ut_suite_builder is
l_used_context_names(l_context_name) := true;
l_context := ut_suite_context(a_parent.object_owner, a_parent.object_name, l_context_name, l_context_pos );
- l_context.path := a_parent.path||'.'||l_context_name;
+ l_context.path := a_parent.path||'.'||l_context.name;
l_context.description := coalesce( a_annotations.by_line( l_context_pos ).text, l_context_name );
l_context.parse_time := a_annotations.parse_time;
diff --git a/source/core/ut_suite_builder.pks b/source/core/ut_suite_builder.pks
index 7e43a720e..31b76e2c6 100644
--- a/source/core/ut_suite_builder.pks
+++ b/source/core/ut_suite_builder.pks
@@ -1,10 +1,10 @@
-create or replace package ut_suite_builder authid current_user is
+create or replace noneditionable package ut_suite_builder authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_suite_cache.sql b/source/core/ut_suite_cache.sql
index 1d7389e9f..296851a10 100644
--- a/source/core/ut_suite_cache.sql
+++ b/source/core/ut_suite_cache.sql
@@ -2,8 +2,8 @@ create table ut_suite_cache
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/ut_suite_cache_manager.pkb b/source/core/ut_suite_cache_manager.pkb
index fb7c2c888..efbd6e91e 100644
--- a/source/core/ut_suite_cache_manager.pkb
+++ b/source/core/ut_suite_cache_manager.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_suite_cache_manager is
+create or replace noneditionable package body ut_suite_cache_manager is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_suite_cache_manager.pks b/source/core/ut_suite_cache_manager.pks
index bd236678d..6253f391e 100644
--- a/source/core/ut_suite_cache_manager.pks
+++ b/source/core/ut_suite_cache_manager.pks
@@ -1,10 +1,10 @@
-create or replace package ut_suite_cache_manager authid definer is
+create or replace noneditionable package ut_suite_cache_manager authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_suite_cache_package.sql b/source/core/ut_suite_cache_package.sql
index 40b7b8dec..1f05c633f 100644
--- a/source/core/ut_suite_cache_package.sql
+++ b/source/core/ut_suite_cache_package.sql
@@ -2,8 +2,8 @@ create table ut_suite_cache_package (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/ut_suite_cache_schema.sql b/source/core/ut_suite_cache_schema.sql
index cace332e3..a49b92f7e 100644
--- a/source/core/ut_suite_cache_schema.sql
+++ b/source/core/ut_suite_cache_schema.sql
@@ -2,8 +2,8 @@ create table ut_suite_cache_schema (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/ut_suite_cache_seq.sql b/source/core/ut_suite_cache_seq.sql
index 020c25c4d..ce7b5d19a 100644
--- a/source/core/ut_suite_cache_seq.sql
+++ b/source/core/ut_suite_cache_seq.sql
@@ -2,8 +2,8 @@ create sequence ut_suite_cache_seq
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/core/ut_suite_manager.pkb b/source/core/ut_suite_manager.pkb
index ad7f27f59..080c8d05c 100644
--- a/source/core/ut_suite_manager.pkb
+++ b/source/core/ut_suite_manager.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_suite_manager is
+create or replace noneditionable package body ut_suite_manager is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_suite_manager.pks b/source/core/ut_suite_manager.pks
index 8ac7cc8ad..373ef1702 100644
--- a/source/core/ut_suite_manager.pks
+++ b/source/core/ut_suite_manager.pks
@@ -1,10 +1,10 @@
-create or replace package ut_suite_manager authid current_user is
+create or replace noneditionable package ut_suite_manager authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_suite_tag_filter.pkb b/source/core/ut_suite_tag_filter.pkb
index 17b5ba4b0..870099ea4 100644
--- a/source/core/ut_suite_tag_filter.pkb
+++ b/source/core/ut_suite_tag_filter.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_suite_tag_filter is
+create or replace noneditionable package body ut_suite_tag_filter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_suite_tag_filter.pks b/source/core/ut_suite_tag_filter.pks
index 0493bd194..afb634014 100644
--- a/source/core/ut_suite_tag_filter.pks
+++ b/source/core/ut_suite_tag_filter.pks
@@ -1,10 +1,10 @@
-create or replace package ut_suite_tag_filter authid definer is
+create or replace noneditionable package ut_suite_tag_filter authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_utils.pkb b/source/core/ut_utils.pkb
index 32cbb3f8c..865e9e17c 100644
--- a/source/core/ut_utils.pkb
+++ b/source/core/ut_utils.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_utils is
+create or replace noneditionable package body ut_utils is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/core/ut_utils.pks b/source/core/ut_utils.pks
index 092c25583..f32bc4afe 100644
--- a/source/core/ut_utils.pks
+++ b/source/core/ut_utils.pks
@@ -1,10 +1,10 @@
-create or replace package ut_utils authid definer is
+create or replace noneditionable package ut_utils authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -21,7 +21,7 @@ create or replace package ut_utils authid definer is
*
*/
- gc_version constant varchar2(50) := 'v3.2.01.4414-develop';
+ gc_version constant varchar2(50) := 'v3.2.4.4571-develop';
subtype t_executable_type is varchar2(30);
gc_before_all constant t_executable_type := 'beforeall';
diff --git a/source/create_grants.sql b/source/create_grants.sql
index 0656ec82f..6cc7f6b37 100644
--- a/source/create_grants.sql
+++ b/source/create_grants.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -108,7 +108,6 @@ grant execute on &&ut3_owner..ut_tap_reporter to &ut3_user;
--reporters - coverage
grant execute on &&ut3_owner..ut_coverage_html_reporter to &ut3_user;
grant execute on &&ut3_owner..ut_coverage_sonar_reporter to &ut3_user;
-grant execute on &&ut3_owner..ut_coveralls_reporter to &ut3_user;
grant execute on &&ut3_owner..ut_coverage_cobertura_reporter to &ut3_user;
--reporters - debug
grant execute on &&ut3_owner..ut_debug_reporter to &ut3_user;
diff --git a/source/create_synonyms.sql b/source/create_synonyms.sql
index 3cc642921..c862a389c 100644
--- a/source/create_synonyms.sql
+++ b/source/create_synonyms.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -36,10 +36,10 @@ set termout off
spool params.sql.tmp
select
case
- when upper('&&ut3_user') = 'PUBLIC' then q'[define action_type='or replace public'
+ when upper('&&ut3_user') = 'PUBLIC' then q'[define action_type='or replace noneditionable public'
]'||q'[define ut3_user=''
]'||q'[define grantee='PUBLIC']'
- else q'[define action_type='or replace'
+ else q'[define action_type='or replace noneditionable'
]'||q'[define grantee='&&ut3_user']
]'||q'[define ut3_user='&&ut3_user..']'
end
@@ -123,7 +123,6 @@ create &action_type. synonym &ut3_user.ut_tap_reporter for &&ut3_owner..ut_tap_r
--reporters - coverage
create &action_type. synonym &ut3_user.ut_coverage_html_reporter for &&ut3_owner..ut_coverage_html_reporter;
create &action_type. synonym &ut3_user.ut_coverage_sonar_reporter for &&ut3_owner..ut_coverage_sonar_reporter;
-create &action_type. synonym &ut3_user.ut_coveralls_reporter for &&ut3_owner..ut_coveralls_reporter;
create &action_type. synonym &ut3_user.ut_coverage_cobertura_reporter for &&ut3_owner..ut_coverage_cobertura_reporter;
--reporters - debug
create &action_type. synonym &ut3_user.ut_debug_reporter for &&ut3_owner..ut_debug_reporter;
diff --git a/source/create_synonyms_and_grants_for_public.sql b/source/create_synonyms_and_grants_for_public.sql
index 25f14217e..572ed7d8f 100644
--- a/source/create_synonyms_and_grants_for_public.sql
+++ b/source/create_synonyms_and_grants_for_public.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/create_user_grants.sql b/source/create_user_grants.sql
index c1b81efa4..60b2725b5 100644
--- a/source/create_user_grants.sql
+++ b/source/create_user_grants.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/create_user_synonyms.sql b/source/create_user_synonyms.sql
index 7b0e49553..7fbc5b247 100644
--- a/source/create_user_synonyms.sql
+++ b/source/create_user_synonyms.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/create_utplsql_owner.sql b/source/create_utplsql_owner.sql
index a5b70ffda..0720a0d06 100644
--- a/source/create_utplsql_owner.sql
+++ b/source/create_utplsql_owner.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/define_ut3_owner_param.sql b/source/define_ut3_owner_param.sql
index 192e810b7..27fbfe705 100644
--- a/source/define_ut3_owner_param.sql
+++ b/source/define_ut3_owner_param.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/dummy.sql b/source/dummy.sql
deleted file mode 100644
index 36d9f8778..000000000
--- a/source/dummy.sql
+++ /dev/null
@@ -1 +0,0 @@
-whenever sqlerror exit failure rollback
diff --git a/source/expectations/data_values/ut_compound_data_diff_tmp.sql b/source/expectations/data_values/ut_compound_data_diff_tmp.sql
index edd27f766..cffa5fd26 100644
--- a/source/expectations/data_values/ut_compound_data_diff_tmp.sql
+++ b/source/expectations/data_values/ut_compound_data_diff_tmp.sql
@@ -2,8 +2,8 @@ create global temporary table ut_compound_data_diff_tmp(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/expectations/data_values/ut_compound_data_helper.pkb b/source/expectations/data_values/ut_compound_data_helper.pkb
index 42feb2a47..ac429e408 100644
--- a/source/expectations/data_values/ut_compound_data_helper.pkb
+++ b/source/expectations/data_values/ut_compound_data_helper.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_compound_data_helper is
+create or replace noneditionable package body ut_compound_data_helper is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_compound_data_helper.pks b/source/expectations/data_values/ut_compound_data_helper.pks
index dd2e2ec3d..3c13c85e8 100644
--- a/source/expectations/data_values/ut_compound_data_helper.pks
+++ b/source/expectations/data_values/ut_compound_data_helper.pks
@@ -1,10 +1,10 @@
-create or replace package ut_compound_data_helper authid definer is
+create or replace noneditionable package ut_compound_data_helper authid definer is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_compound_data_tmp.sql b/source/expectations/data_values/ut_compound_data_tmp.sql
index 01cedd97b..902bf29fc 100644
--- a/source/expectations/data_values/ut_compound_data_tmp.sql
+++ b/source/expectations/data_values/ut_compound_data_tmp.sql
@@ -2,8 +2,8 @@ create global temporary table ut_compound_data_tmp(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
diff --git a/source/expectations/data_values/ut_compound_data_value.tpb b/source/expectations/data_values/ut_compound_data_value.tpb
index 5fd3154b1..27c19455b 100644
--- a/source/expectations/data_values/ut_compound_data_value.tpb
+++ b/source/expectations/data_values/ut_compound_data_value.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_compound_data_value as
+create or replace noneditionable type body ut_compound_data_value as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_compound_data_value.tps b/source/expectations/data_values/ut_compound_data_value.tps
index ca2206e2a..6272e04a7 100644
--- a/source/expectations/data_values/ut_compound_data_value.tps
+++ b/source/expectations/data_values/ut_compound_data_value.tps
@@ -1,10 +1,10 @@
-create or replace type ut_compound_data_value force under ut_data_value(
+create or replace noneditionable type ut_compound_data_value force under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_cursor_column.tpb b/source/expectations/data_values/ut_cursor_column.tpb
index 13fbb86b7..a3c5d9171 100644
--- a/source/expectations/data_values/ut_cursor_column.tpb
+++ b/source/expectations/data_values/ut_cursor_column.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_cursor_column as
+create or replace noneditionable type body ut_cursor_column as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_cursor_column.tps b/source/expectations/data_values/ut_cursor_column.tps
index 98ca78b6e..45c14c154 100644
--- a/source/expectations/data_values/ut_cursor_column.tps
+++ b/source/expectations/data_values/ut_cursor_column.tps
@@ -1,10 +1,10 @@
-create or replace type ut_cursor_column authid current_user as object (
+create or replace noneditionable type ut_cursor_column authid current_user as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_cursor_column_tab.tps b/source/expectations/data_values/ut_cursor_column_tab.tps
index 258624691..6dfe98824 100644
--- a/source/expectations/data_values/ut_cursor_column_tab.tps
+++ b/source/expectations/data_values/ut_cursor_column_tab.tps
@@ -1,10 +1,10 @@
-create or replace type ut_cursor_column_tab as
+create or replace noneditionable type ut_cursor_column_tab as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_cursor_details.tpb b/source/expectations/data_values/ut_cursor_details.tpb
index cce0751d1..bfbe435e5 100644
--- a/source/expectations/data_values/ut_cursor_details.tpb
+++ b/source/expectations/data_values/ut_cursor_details.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_cursor_details as
+create or replace noneditionable type body ut_cursor_details as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -108,11 +108,7 @@ create or replace type body ut_cursor_details as
a_cursor_number in number
) return self as result is
l_columns_count pls_integer;
- $if dbms_db_version.version = 12 and dbms_db_version.release = 1 or dbms_db_version.version < 12 $then
- l_columns_desc dbms_sql.desc_tab3;
- $else
l_columns_desc dbms_sql.desc_tab4;
- $end
l_is_collection boolean;
l_hierarchy_level integer := 1;
begin
diff --git a/source/expectations/data_values/ut_cursor_details.tps b/source/expectations/data_values/ut_cursor_details.tps
index 981fda8e5..19f5b3f39 100644
--- a/source/expectations/data_values/ut_cursor_details.tps
+++ b/source/expectations/data_values/ut_cursor_details.tps
@@ -1,10 +1,10 @@
-create or replace type ut_cursor_details authid current_user as object (
+create or replace noneditionable type ut_cursor_details authid current_user as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value.tpb b/source/expectations/data_values/ut_data_value.tpb
index 6eb352b77..a94e88660 100644
--- a/source/expectations/data_values/ut_data_value.tpb
+++ b/source/expectations/data_values/ut_data_value.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value as
+create or replace noneditionable type body ut_data_value as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value.tps b/source/expectations/data_values/ut_data_value.tps
index 91a07e463..d5f00489e 100644
--- a/source/expectations/data_values/ut_data_value.tps
+++ b/source/expectations/data_values/ut_data_value.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value force authid current_user as object (
+create or replace noneditionable type ut_data_value force authid current_user as object (
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_anydata.tpb b/source/expectations/data_values/ut_data_value_anydata.tpb
index 189d2e032..6794beaa9 100644
--- a/source/expectations/data_values/ut_data_value_anydata.tpb
+++ b/source/expectations/data_values/ut_data_value_anydata.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_anydata as
+create or replace noneditionable type body ut_data_value_anydata as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_anydata.tps b/source/expectations/data_values/ut_data_value_anydata.tps
index ee9725d58..3c56ce178 100644
--- a/source/expectations/data_values/ut_data_value_anydata.tps
+++ b/source/expectations/data_values/ut_data_value_anydata.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_anydata under ut_data_value_refcursor(
+create or replace noneditionable type ut_data_value_anydata under ut_data_value_refcursor(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_blob.tpb b/source/expectations/data_values/ut_data_value_blob.tpb
index 42e35fc55..bf52d4056 100644
--- a/source/expectations/data_values/ut_data_value_blob.tpb
+++ b/source/expectations/data_values/ut_data_value_blob.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_blob as
+create or replace noneditionable type body ut_data_value_blob as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_blob.tps b/source/expectations/data_values/ut_data_value_blob.tps
index 08813371e..5c93a5fac 100644
--- a/source/expectations/data_values/ut_data_value_blob.tps
+++ b/source/expectations/data_values/ut_data_value_blob.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_blob under ut_data_value(
+create or replace noneditionable type ut_data_value_blob under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_boolean.tpb b/source/expectations/data_values/ut_data_value_boolean.tpb
index 84af1c34c..5a499afb6 100644
--- a/source/expectations/data_values/ut_data_value_boolean.tpb
+++ b/source/expectations/data_values/ut_data_value_boolean.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_boolean as
+create or replace noneditionable type body ut_data_value_boolean as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_boolean.tps b/source/expectations/data_values/ut_data_value_boolean.tps
index 4d7af837b..35c05b384 100644
--- a/source/expectations/data_values/ut_data_value_boolean.tps
+++ b/source/expectations/data_values/ut_data_value_boolean.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_boolean under ut_data_value(
+create or replace noneditionable type ut_data_value_boolean under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_clob.tpb b/source/expectations/data_values/ut_data_value_clob.tpb
index 2dd00c023..6d5a9764d 100644
--- a/source/expectations/data_values/ut_data_value_clob.tpb
+++ b/source/expectations/data_values/ut_data_value_clob.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_clob as
+create or replace noneditionable type body ut_data_value_clob as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_clob.tps b/source/expectations/data_values/ut_data_value_clob.tps
index abcc635c9..8027e4481 100644
--- a/source/expectations/data_values/ut_data_value_clob.tps
+++ b/source/expectations/data_values/ut_data_value_clob.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_clob under ut_data_value(
+create or replace noneditionable type ut_data_value_clob under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_date.tpb b/source/expectations/data_values/ut_data_value_date.tpb
index dc1c4d22f..f6a588940 100644
--- a/source/expectations/data_values/ut_data_value_date.tpb
+++ b/source/expectations/data_values/ut_data_value_date.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_date as
+create or replace noneditionable type body ut_data_value_date as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_date.tps b/source/expectations/data_values/ut_data_value_date.tps
index 8db1850c2..7e3379f31 100644
--- a/source/expectations/data_values/ut_data_value_date.tps
+++ b/source/expectations/data_values/ut_data_value_date.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_date under ut_data_value(
+create or replace noneditionable type ut_data_value_date under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_dsinterval.tpb b/source/expectations/data_values/ut_data_value_dsinterval.tpb
index bcfb48a2b..a01766425 100644
--- a/source/expectations/data_values/ut_data_value_dsinterval.tpb
+++ b/source/expectations/data_values/ut_data_value_dsinterval.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_dsinterval as
+create or replace noneditionable type body ut_data_value_dsinterval as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_dsinterval.tps b/source/expectations/data_values/ut_data_value_dsinterval.tps
index 5add4adf9..9fc81bb6a 100644
--- a/source/expectations/data_values/ut_data_value_dsinterval.tps
+++ b/source/expectations/data_values/ut_data_value_dsinterval.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_dsinterval under ut_data_value(
+create or replace noneditionable type ut_data_value_dsinterval under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_json.tpb b/source/expectations/data_values/ut_data_value_json.tpb
index 9f65ef618..da4f3ac79 100644
--- a/source/expectations/data_values/ut_data_value_json.tpb
+++ b/source/expectations/data_values/ut_data_value_json.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_json as
+create or replace noneditionable type body ut_data_value_json as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_json.tps b/source/expectations/data_values/ut_data_value_json.tps
index 46a78e00e..e8778051b 100644
--- a/source/expectations/data_values/ut_data_value_json.tps
+++ b/source/expectations/data_values/ut_data_value_json.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_json under ut_compound_data_value(
+create or replace noneditionable type ut_data_value_json under ut_compound_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_number.tpb b/source/expectations/data_values/ut_data_value_number.tpb
index 53b8ce413..da17e51c9 100644
--- a/source/expectations/data_values/ut_data_value_number.tpb
+++ b/source/expectations/data_values/ut_data_value_number.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_number as
+create or replace noneditionable type body ut_data_value_number as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_number.tps b/source/expectations/data_values/ut_data_value_number.tps
index 914252b9f..8bd590515 100644
--- a/source/expectations/data_values/ut_data_value_number.tps
+++ b/source/expectations/data_values/ut_data_value_number.tps
@@ -1,10 +1,10 @@
-create or replace type ut_data_value_number under ut_data_value(
+create or replace noneditionable type ut_data_value_number under ut_data_value(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/expectations/data_values/ut_data_value_refcursor.tpb b/source/expectations/data_values/ut_data_value_refcursor.tpb
index ee1408b56..af6d1791b 100644
--- a/source/expectations/data_values/ut_data_value_refcursor.tpb
+++ b/source/expectations/data_values/ut_data_value_refcursor.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_data_value_refcursor as
+create or replace noneditionable type body ut_data_value_refcursor as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -51,12 +51,8 @@ create or replace type body ut_data_value_refcursor as
loop
l_xml := dbms_xmlgen.getxmltype(l_ctx);
exit when dbms_xmlgen.getNumRowsProcessed(l_ctx) = 0;
- --Bug in oracle 12.2+ where XML binary storage trimming insignificant whitespaces.
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- l_xml := xmltype( replace(l_xml.getClobVal(),'= 2
- or dbms_db_version.version > 12
- then
- :V_FILE_NAME := '&&FILE_NAME';
- else
- :V_FILE_NAME := 'dummy.sql';
- end if;
-end;
-/
-
-set verify off
-select :V_FILE_NAME as SCRIPT_NAME from dual;
-set termout on
-
-set heading off
-set feedback off
-exec dbms_output.put_line('Installing component '||upper(regexp_substr('&&1','\/(\w*)\.',1,1,'i',1)));
-@@&&SCRIPT_NAME
-exec dbms_output.put_line('&&line_separator');
-
-
-
diff --git a/source/install_component.sql b/source/install_component.sql
index 1189df496..a7394fe9a 100644
--- a/source/install_component.sql
+++ b/source/install_component.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/install_ddl_trigger.sql b/source/install_ddl_trigger.sql
index b23b4bc63..a9ede374f 100644
--- a/source/install_ddl_trigger.sql
+++ b/source/install_ddl_trigger.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/install_headless.sql b/source/install_headless.sql
index be1e5becf..04c0109b0 100644
--- a/source/install_headless.sql
+++ b/source/install_headless.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/install_headless_with_trigger.sql b/source/install_headless_with_trigger.sql
index 2c05403c5..7953b0205 100644
--- a/source/install_headless_with_trigger.sql
+++ b/source/install_headless_with_trigger.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_ansiconsole_helper.pkb b/source/reporters/ut_ansiconsole_helper.pkb
index 46960cf5c..b6610b778 100644
--- a/source/reporters/ut_ansiconsole_helper.pkb
+++ b/source/reporters/ut_ansiconsole_helper.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_ansiconsole_helper as
+create or replace noneditionable package body ut_ansiconsole_helper as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_ansiconsole_helper.pks b/source/reporters/ut_ansiconsole_helper.pks
index fd4549965..f06f96a7e 100644
--- a/source/reporters/ut_ansiconsole_helper.pks
+++ b/source/reporters/ut_ansiconsole_helper.pks
@@ -1,10 +1,10 @@
-create or replace package ut_ansiconsole_helper as
+create or replace noneditionable package ut_ansiconsole_helper as
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coverage_cobertura_reporter.tpb b/source/reporters/ut_coverage_cobertura_reporter.tpb
index 833ca09be..36c22c68b 100644
--- a/source/reporters/ut_coverage_cobertura_reporter.tpb
+++ b/source/reporters/ut_coverage_cobertura_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_coverage_cobertura_reporter is
+create or replace noneditionable type body ut_coverage_cobertura_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -181,10 +181,9 @@ create or replace type body ut_coverage_cobertura_reporter is
overriding member function get_description return varchar2 as
begin
- return 'Generates a Cobertura coverage report providing information on code coverage with line numbers.' || chr(10) ||
- 'Designed for Jenkins and TFS to report coverage. ' || chr(10) ||
- 'Cobertura Document Type Definition can be found: http://cobertura.sourceforge.net/xml/coverage-04.dtd.'|| chr(10) ||
- 'Sample file: https://github.com/leobalter/testing-examples/blob/master/solutions/3/report/cobertura-coverage.xml.';
+ return 'Generates Cobertura report on code coverage with line numbers.
+Compatible with GitHub Actions, Jenkins, Azure Pipelines, GitLab CI, and any tool that reads the popular Cobertura format.
+Cobertura Document Type Definition is located [here](https://github.com/cobertura/cobertura/blob/master/cobertura/src/site/htdocs/xml/coverage-04.dtd).';
end;
end;
diff --git a/source/reporters/ut_coverage_cobertura_reporter.tps b/source/reporters/ut_coverage_cobertura_reporter.tps
index ee2d9b71d..8e4586c38 100644
--- a/source/reporters/ut_coverage_cobertura_reporter.tps
+++ b/source/reporters/ut_coverage_cobertura_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_coverage_cobertura_reporter under ut_coverage_reporter_base(
+create or replace noneditionable type ut_coverage_cobertura_reporter under ut_coverage_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coverage_html_reporter.tpb b/source/reporters/ut_coverage_html_reporter.tpb
index 253c067e5..50b0fd57c 100644
--- a/source/reporters/ut_coverage_html_reporter.tpb
+++ b/source/reporters/ut_coverage_html_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_coverage_html_reporter is
+create or replace noneditionable type body ut_coverage_html_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coverage_html_reporter.tps b/source/reporters/ut_coverage_html_reporter.tps
index db65e1e00..13365efe9 100644
--- a/source/reporters/ut_coverage_html_reporter.tps
+++ b/source/reporters/ut_coverage_html_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_coverage_html_reporter under ut_coverage_reporter_base(
+create or replace noneditionable type ut_coverage_html_reporter under ut_coverage_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coverage_report_html_helper.pkb b/source/reporters/ut_coverage_report_html_helper.pkb
index d81211f03..7d19968a5 100644
--- a/source/reporters/ut_coverage_report_html_helper.pkb
+++ b/source/reporters/ut_coverage_report_html_helper.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_coverage_report_html_helper is
+create or replace noneditionable package body ut_coverage_report_html_helper is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coverage_report_html_helper.pks b/source/reporters/ut_coverage_report_html_helper.pks
index c028168a8..4eddee9a7 100644
--- a/source/reporters/ut_coverage_report_html_helper.pks
+++ b/source/reporters/ut_coverage_report_html_helper.pks
@@ -1,10 +1,10 @@
-create or replace package ut_coverage_report_html_helper authid current_user is
+create or replace noneditionable package ut_coverage_report_html_helper authid current_user is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coverage_sonar_reporter.tpb b/source/reporters/ut_coverage_sonar_reporter.tpb
index 8148fc7fc..8eb4c57aa 100644
--- a/source/reporters/ut_coverage_sonar_reporter.tpb
+++ b/source/reporters/ut_coverage_sonar_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_coverage_sonar_reporter is
+create or replace noneditionable type body ut_coverage_sonar_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -103,9 +103,9 @@ create or replace type body ut_coverage_sonar_reporter is
overriding member function get_description return varchar2 as
begin
- return 'Generates a XML coverage report providing information on code coverage with line numbers.' || chr(10) ||
- 'Designed for [SonarQube](https://www.sonarqube.org/) to report coverage.' || chr(10) ||
- 'XML format returned conforms with the Sonar specification: https://docs.sonarqube.org/latest/analysis/generic-test/';
+ return 'Generates an XML coverage report providing information on code coverage with line numbers.
+Designed for [SonarQube](https://www.sonarsource.com/products/sonarqube/) to report coverage.
+XML format returned conforms with the [Sonar specification](https://docs.sonarsource.com/sonarqube-server/analyzing-source-code/test-coverage/generic-test-data).';
end;
end;
diff --git a/source/reporters/ut_coverage_sonar_reporter.tps b/source/reporters/ut_coverage_sonar_reporter.tps
index b5e964a3a..0268fee64 100644
--- a/source/reporters/ut_coverage_sonar_reporter.tps
+++ b/source/reporters/ut_coverage_sonar_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_coverage_sonar_reporter under ut_coverage_reporter_base(
+create or replace noneditionable type ut_coverage_sonar_reporter under ut_coverage_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_coveralls_reporter.tpb b/source/reporters/ut_coveralls_reporter.tpb
deleted file mode 100644
index fc459c906..000000000
--- a/source/reporters/ut_coveralls_reporter.tpb
+++ /dev/null
@@ -1,104 +0,0 @@
-create or replace type body ut_coveralls_reporter is
- /*
- utPLSQL - Version 3
- Copyright 2016 - 2026 utPLSQL Project
-
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
-
- constructor function ut_coveralls_reporter(
- self in out nocopy ut_coveralls_reporter
- ) return self as result is
- begin
- self.init($$plsql_unit,ut_output_bulk_buffer());
- return;
- end;
-
- overriding member procedure after_calling_run(self in out nocopy ut_coveralls_reporter, a_run in ut_run) as
-
- function get_lines_json(a_unit_coverage ut_coverage.t_unit_coverage) return ut_varchar2_rows is
- l_file_part varchar2(32767);
- l_result ut_varchar2_rows := ut_varchar2_rows();
- l_last_line_no binary_integer;
- c_coverage_header constant varchar2(30) := '"coverage": [';
- c_null constant varchar2(4) := 'null';
- begin
- ut_utils.append_to_list(l_result, c_coverage_header);
-
- l_last_line_no := a_unit_coverage.lines.last;
- if l_last_line_no is null then
- ut_utils.append_to_list(
- l_result
- , rpad( to_clob( '0' ), ( a_unit_coverage.total_lines * 3 ) - 2, ','||chr(10)||'0' )
- );
- else
- for line_no in 1 .. l_last_line_no loop
- if a_unit_coverage.lines.exists(line_no) then
- l_file_part := to_char(a_unit_coverage.lines(line_no).executions);
- else
- l_file_part := c_null;
- end if;
- if line_no < l_last_line_no then
- l_file_part := l_file_part ||',';
- end if;
- ut_utils.append_to_list(l_result, l_file_part);
- end loop;
- end if;
- ut_utils.append_to_list(l_result, ']');
- return l_result;
- end;
-
- function get_coverage_json(
- a_coverage_data ut_coverage.t_coverage
- ) return ut_varchar2_rows is
- l_result ut_varchar2_rows := ut_varchar2_rows();
- l_unit ut_coverage.t_object_name;
- c_coverage_header constant varchar2(30) := '{"source_files":[';
- c_coverage_footer constant varchar2(30) := ']}'||chr(10)||' ';
- begin
- ut_utils.append_to_list(l_result, c_coverage_header);
- l_unit := a_coverage_data.objects.first;
- while l_unit is not null loop
- ut_utils.append_to_list(l_result, '{ "name": "'||l_unit||'",');
-
- ut_utils.append_to_list(l_result,get_lines_json(a_coverage_data.objects(l_unit)));
-
- ut_utils.append_to_list(l_result, '}');
-
- l_unit := a_coverage_data.objects.next(l_unit);
- if l_unit is not null then
- ut_utils.append_to_list(l_result, ',');
- end if;
- end loop;
- ut_utils.append_to_list(l_result, c_coverage_footer);
- return l_result;
- end;
- begin
- ut_coverage.coverage_stop();
-
- self.print_text_lines(
- get_coverage_json(
- ut_coverage.get_coverage_data(a_run.coverage_options)
- )
- );
- end;
-
- overriding member function get_description return varchar2 as
- begin
- return 'Generates a JSON coverage report providing information on code coverage with line numbers.' || chr(10) ||
- 'Designed for [Coveralls](https://coveralls.io/).' || chr(10) ||
- 'JSON format conforms with specification: https://docs.coveralls.io/api-introduction';
- end;
-
-end;
-/
diff --git a/source/reporters/ut_coveralls_reporter.tps b/source/reporters/ut_coveralls_reporter.tps
deleted file mode 100644
index e547793d1..000000000
--- a/source/reporters/ut_coveralls_reporter.tps
+++ /dev/null
@@ -1,31 +0,0 @@
-create or replace type ut_coveralls_reporter under ut_coverage_reporter_base(
- /*
- utPLSQL - Version 3
- Copyright 2016 - 2026 utPLSQL Project
-
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
-
- /**
- * Builds a coverage XML report that follows rules described in
- * https://docs.coveralls.io/api-introduction
- */
- constructor function ut_coveralls_reporter(
- self in out nocopy ut_coveralls_reporter
- ) return self as result,
-
- overriding member procedure after_calling_run(self in out nocopy ut_coveralls_reporter, a_run in ut_run),
-
- overriding member function get_description return varchar2
-)
-/
diff --git a/source/reporters/ut_debug_reporter.tpb b/source/reporters/ut_debug_reporter.tpb
index b17f039ea..a2b797021 100644
--- a/source/reporters/ut_debug_reporter.tpb
+++ b/source/reporters/ut_debug_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_debug_reporter is
+create or replace noneditionable type body ut_debug_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_debug_reporter.tps b/source/reporters/ut_debug_reporter.tps
index 85c0eeb54..26e42cbc4 100644
--- a/source/reporters/ut_debug_reporter.tps
+++ b/source/reporters/ut_debug_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_debug_reporter under ut_output_reporter_base(
+create or replace noneditionable type ut_debug_reporter under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_documentation_reporter.tpb b/source/reporters/ut_documentation_reporter.tpb
index 489b6efd2..42e5c0fdf 100644
--- a/source/reporters/ut_documentation_reporter.tpb
+++ b/source/reporters/ut_documentation_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_documentation_reporter is
+create or replace noneditionable type body ut_documentation_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -222,7 +222,7 @@ create or replace type body ut_documentation_reporter is
overriding member function get_description return varchar2 as
begin
- return 'A textual pretty-print of unit test results (usually use for console output)';
+ return 'Creates a textual, pretty-print, human-readable report mirroring the suite hierarchy. Used for console runs, interactive development and log review.';
end;
end;
diff --git a/source/reporters/ut_documentation_reporter.tps b/source/reporters/ut_documentation_reporter.tps
index 23b86226f..52a7911ce 100644
--- a/source/reporters/ut_documentation_reporter.tps
+++ b/source/reporters/ut_documentation_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_documentation_reporter under ut_console_reporter_base(
+create or replace noneditionable type ut_documentation_reporter under ut_console_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_junit_reporter.tpb b/source/reporters/ut_junit_reporter.tpb
index a2cffd287..e7741926d 100644
--- a/source/reporters/ut_junit_reporter.tpb
+++ b/source/reporters/ut_junit_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_junit_reporter is
+create or replace noneditionable type body ut_junit_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_junit_reporter.tps b/source/reporters/ut_junit_reporter.tps
index 5999c33f5..88292acbb 100644
--- a/source/reporters/ut_junit_reporter.tps
+++ b/source/reporters/ut_junit_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_junit_reporter force under ut_output_reporter_base(
+create or replace noneditionable type ut_junit_reporter force under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_realtime_reporter.tpb b/source/reporters/ut_realtime_reporter.tpb
index fac7cd9b8..b0ec5d2e2 100644
--- a/source/reporters/ut_realtime_reporter.tpb
+++ b/source/reporters/ut_realtime_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_realtime_reporter is
+create or replace noneditionable type body ut_realtime_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -204,11 +204,6 @@ create or replace type body ut_realtime_reporter is
self.flush_print_buffer('post-test');
end after_calling_test;
- overriding member function get_description return varchar2 is
- begin
- return 'Provides test results in a XML format, for clients such as SQL Developer interested in showing progressing details.';
- end get_description;
-
member procedure print_start_node(
self in out nocopy ut_realtime_reporter,
a_node_name in varchar2,
@@ -284,5 +279,10 @@ create or replace type body ut_realtime_reporter is
print_buffer.delete;
end flush_print_buffer;
+ overriding member function get_description return varchar2 is
+ begin
+ return 'Provides live test execution progress that can be consumed from another session, enabling clients such as SQL Developer to show progress in real time as tests run.';
+ end get_description;
+
end;
/
diff --git a/source/reporters/ut_realtime_reporter.tps b/source/reporters/ut_realtime_reporter.tps
index 5ab350162..7efdd1bb3 100644
--- a/source/reporters/ut_realtime_reporter.tps
+++ b/source/reporters/ut_realtime_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_realtime_reporter force under ut_output_reporter_base(
+create or replace noneditionable type ut_realtime_reporter force under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_sonar_test_reporter.tpb b/source/reporters/ut_sonar_test_reporter.tpb
index dfa6a7421..6b8003ecb 100644
--- a/source/reporters/ut_sonar_test_reporter.tpb
+++ b/source/reporters/ut_sonar_test_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_sonar_test_reporter is
+create or replace noneditionable type body ut_sonar_test_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -106,9 +106,9 @@ create or replace type body ut_sonar_test_reporter is
overriding member function get_description return varchar2 as
begin
- return 'Generates a XML report providing detailed information on test execution.' || chr(10) ||
- 'Designed for [SonarQube](https://www.sonarqube.org/) to report test execution.' || chr(10) ||
- 'XML format returned conforms with the Sonar specification: https://docs.sonarqube.org/latest/analysis/generic-test/';
+ return 'Generates an XML report providing detailed information on test execution.
+Designed for [SonarQube](https://www.sonarsource.com/products/sonarqube/) to report test execution.
+XML format returned conforms with the [Sonar specification](https://docs.sonarsource.com/sonarqube-server/analyzing-source-code/test-coverage/generic-test-data).';
end;
end;
diff --git a/source/reporters/ut_sonar_test_reporter.tps b/source/reporters/ut_sonar_test_reporter.tps
index d9f98071d..f7f5aeb39 100644
--- a/source/reporters/ut_sonar_test_reporter.tps
+++ b/source/reporters/ut_sonar_test_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_sonar_test_reporter under ut_output_reporter_base(
+create or replace noneditionable type ut_sonar_test_reporter under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_tap_reporter.tpb b/source/reporters/ut_tap_reporter.tpb
index 02246b97e..468d9363c 100644
--- a/source/reporters/ut_tap_reporter.tpb
+++ b/source/reporters/ut_tap_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_tap_reporter is
+create or replace noneditionable type body ut_tap_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -25,7 +25,7 @@ create or replace type body ut_tap_reporter is
member procedure print_comment(self in out nocopy ut_tap_reporter, a_comment clob) as
begin
- self.print_clob(regexp_replace(a_comment, '^', '# ', 1, 0, 'm'));
+ self.print_clob(regexp_replace(a_comment, '^(.+)', '# \1', 1, 0, 'm'));
end print_comment;
member function escape_special_chars(self in out nocopy ut_tap_reporter, a_string_to_escape clob) return clob as
diff --git a/source/reporters/ut_tap_reporter.tps b/source/reporters/ut_tap_reporter.tps
index 94423b6fc..127256cf8 100644
--- a/source/reporters/ut_tap_reporter.tps
+++ b/source/reporters/ut_tap_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_tap_reporter under ut_documentation_reporter(
+create or replace noneditionable type ut_tap_reporter under ut_documentation_reporter(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_teamcity_reporter.tpb b/source/reporters/ut_teamcity_reporter.tpb
index 2e09c7103..2e76e3e3f 100644
--- a/source/reporters/ut_teamcity_reporter.tpb
+++ b/source/reporters/ut_teamcity_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_teamcity_reporter is
+create or replace noneditionable type body ut_teamcity_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_teamcity_reporter.tps b/source/reporters/ut_teamcity_reporter.tps
index e5c43b59e..e70ad4a4b 100644
--- a/source/reporters/ut_teamcity_reporter.tps
+++ b/source/reporters/ut_teamcity_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_teamcity_reporter under ut_output_reporter_base(
+create or replace noneditionable type ut_teamcity_reporter under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_teamcity_reporter_helper.pkb b/source/reporters/ut_teamcity_reporter_helper.pkb
index 575af645d..ac9d4b567 100644
--- a/source/reporters/ut_teamcity_reporter_helper.pkb
+++ b/source/reporters/ut_teamcity_reporter_helper.pkb
@@ -1,10 +1,10 @@
-create or replace package body ut_teamcity_reporter_helper is
+create or replace noneditionable package body ut_teamcity_reporter_helper is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_teamcity_reporter_helper.pks b/source/reporters/ut_teamcity_reporter_helper.pks
index 727d02913..03c655c33 100644
--- a/source/reporters/ut_teamcity_reporter_helper.pks
+++ b/source/reporters/ut_teamcity_reporter_helper.pks
@@ -1,10 +1,10 @@
-create or replace package ut_teamcity_reporter_helper is
+create or replace noneditionable package ut_teamcity_reporter_helper is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_tfs_junit_reporter.tpb b/source/reporters/ut_tfs_junit_reporter.tpb
index 8c2bd6333..38aa41bfa 100644
--- a/source/reporters/ut_tfs_junit_reporter.tpb
+++ b/source/reporters/ut_tfs_junit_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_tfs_junit_reporter is
+create or replace noneditionable type body ut_tfs_junit_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -171,9 +171,9 @@ create or replace type body ut_tfs_junit_reporter is
overriding member function get_description return varchar2 as
begin
- return 'Provides outcomes in a format conforming with JUnit version for TFS / VSTS.
- As defined by specs :https://docs.microsoft.com/en-us/vsts/build-release/tasks/test/publish-test-results?view=vsts
- Version is based on windy road junit https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd.';
+ return 'Provides outcomes in a format conforming with JUnit version for TFS / VSTS
+as defined by [specification](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-test-results-v2?view=azure-pipelines)
+The implementation is based on [windyroad junit schema](https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd).';
end;
end;
diff --git a/source/reporters/ut_tfs_junit_reporter.tps b/source/reporters/ut_tfs_junit_reporter.tps
index 3af2226a5..3212085ea 100644
--- a/source/reporters/ut_tfs_junit_reporter.tps
+++ b/source/reporters/ut_tfs_junit_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_tfs_junit_reporter under ut_output_reporter_base(
+create or replace noneditionable type ut_tfs_junit_reporter under ut_output_reporter_base(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_xunit_reporter.tpb b/source/reporters/ut_xunit_reporter.tpb
index 164703917..4b6007994 100644
--- a/source/reporters/ut_xunit_reporter.tpb
+++ b/source/reporters/ut_xunit_reporter.tpb
@@ -1,10 +1,10 @@
-create or replace type body ut_xunit_reporter is
+create or replace noneditionable type body ut_xunit_reporter is
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/reporters/ut_xunit_reporter.tps b/source/reporters/ut_xunit_reporter.tps
index 970e4d162..2e7a84f95 100644
--- a/source/reporters/ut_xunit_reporter.tps
+++ b/source/reporters/ut_xunit_reporter.tps
@@ -1,10 +1,10 @@
-create or replace type ut_xunit_reporter under ut_junit_reporter(
+create or replace noneditionable type ut_xunit_reporter under ut_junit_reporter(
/*
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/set_install_params.sql b/source/set_install_params.sql
index b559b8023..1d58ab09a 100644
--- a/source/set_install_params.sql
+++ b/source/set_install_params.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/uninstall.sql b/source/uninstall.sql
index 712845fb7..ba1582844 100644
--- a/source/uninstall.sql
+++ b/source/uninstall.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/uninstall_all.sql b/source/uninstall_all.sql
index d3d3f3fbe..af94716c1 100644
--- a/source/uninstall_all.sql
+++ b/source/uninstall_all.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/uninstall_coverage_tables.sql b/source/uninstall_coverage_tables.sql
index df3c19627..6912330ae 100644
--- a/source/uninstall_coverage_tables.sql
+++ b/source/uninstall_coverage_tables.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
diff --git a/source/uninstall_objects.sql b/source/uninstall_objects.sql
index 8ef644aa9..6cdde8db4 100644
--- a/source/uninstall_objects.sql
+++ b/source/uninstall_objects.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -74,8 +74,6 @@ drop synonym be_within;
drop synonym be_within_pct;
-drop type ut_coveralls_reporter force;
-
drop type ut_coverage_sonar_reporter force;
drop type ut_coverage_cobertura_reporter force;
@@ -275,12 +273,6 @@ begin
$if dbms_db_version.version < 21 $then
begin execute immediate 'drop type json force'; exception when others then null; end;
$end
- $if dbms_db_version.version = 12 and dbms_db_version.release = 1 or dbms_db_version.version < 12 $then
- begin execute immediate 'drop type json_element_t force'; exception when others then null; end;
- begin execute immediate 'drop type json_object_t force'; exception when others then null; end;
- begin execute immediate 'drop type json_array_t force'; exception when others then null; end;
- begin execute immediate 'drop type json_key_list force'; exception when others then null; end;
- $end
end;
/
@@ -419,7 +411,7 @@ set feedback off
declare
i integer := 0;
begin
- dbms_output.put_line('Dropping packages created for 12.2+ ' || upper('&&ut3_owner'));
+ dbms_output.put_line('Dropping block coverage packages ' || upper('&&ut3_owner'));
for pkg in (
select object_name, owner
from all_objects
diff --git a/source/uninstall_synonyms.sql b/source/uninstall_synonyms.sql
index 4a12340f6..783ac51e8 100644
--- a/source/uninstall_synonyms.sql
+++ b/source/uninstall_synonyms.sql
@@ -2,8 +2,8 @@
utPLSQL - Version 3
Copyright 2016 - 2026 utPLSQL Project
- Licensed under the Apache License, Version 2.0 (the "License"):
- you may not use this file except in compliance with the License.
+ Licensed under the Apache License, Version 2.0 (the "License").
+ You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -49,7 +49,7 @@ end;
declare
i integer := 0;
begin
- dbms_output.put_line('Dropping synonyms pointing to PL/SQL code coverage objects on 12.2 ' || upper('&&ut3_owner'));
+ dbms_output.put_line('Dropping synonyms pointing to PL/SQL code coverage objects ' || upper('&&ut3_owner'));
for syn in (
select
case when owner = 'PUBLIC' then 'public synonym '
diff --git a/test/install_above_12_1.sql b/test/install_above_12_1.sql
deleted file mode 100644
index fe20cf816..000000000
--- a/test/install_above_12_1.sql
+++ /dev/null
@@ -1,28 +0,0 @@
-set termout off
-set echo off
-spool dummy.sql
-prompt whenever sqlerror exit failure rollback
-spool off
-
-
-def FILE_NAME = '&&1'
-column SCRIPT_NAME new_value SCRIPT_NAME noprint
-
-VAR V_FILE_NAME VARCHAR2(1000);
-begin
- if dbms_db_version.version = 12 and dbms_db_version.release >= 2
- or dbms_db_version.version > 12
- then
- :V_FILE_NAME := '&&FILE_NAME';
- else
- :V_FILE_NAME := 'dummy.sql';
- end if;
-end;
-/
-set verify off
-select :V_FILE_NAME as SCRIPT_NAME from dual;
-set termout on
-
-
-@@&&SCRIPT_NAME
-
diff --git a/test/install_below_12_2.sql b/test/install_below_12_2.sql
deleted file mode 100644
index 669ae75fc..000000000
--- a/test/install_below_12_2.sql
+++ /dev/null
@@ -1,28 +0,0 @@
-set termout off
-set echo off
-spool dummy.sql
-prompt whenever sqlerror exit failure rollback
-spool off
-
-
-def FILE_NAME = '&&1'
-column SCRIPT_NAME new_value SCRIPT_NAME noprint
-
-VAR V_FILE_NAME VARCHAR2(1000);
-begin
- if dbms_db_version.version = 12 and dbms_db_version.release < 2
- or dbms_db_version.version < 12
- then
- :V_FILE_NAME := '&&FILE_NAME';
- else
- :V_FILE_NAME := 'dummy.sql';
- end if;
-end;
-/
-set verify off
-select :V_FILE_NAME as SCRIPT_NAME from dual;
-set termout on
-
-
-@@&&SCRIPT_NAME
-
diff --git a/test/install_ut3_user_tests.sql b/test/install_ut3_user_tests.sql
index 518e07841..36966b3f6 100644
--- a/test/install_ut3_user_tests.sql
+++ b/test/install_ut3_user_tests.sql
@@ -30,9 +30,7 @@ prompt Install user tests
@@ut3_user/expectations/test_matchers.pks
@@ut3_user/expectations/test_expectation_anydata.pks
@@ut3_user/expectations/test_expectations_cursor.pks
-set define on
-@@install_above_12_1.sql 'ut3_user/expectations/test_expectations_json.pks'
-set define off
+@@ut3_user/expectations/test_expectations_json.pks
@@ut3_user/api/test_ut_runner.pks
@@ut3_user/api/test_ut_run.pks
@@ut3_user/reporters.pks
@@ -50,7 +48,6 @@ set define on
@@ut3_user/reporters/test_coverage/test_extended_coverage.pks
@@ut3_user/reporters/test_coverage/test_html_coverage_reporter.pks
set define off
-@@ut3_user/reporters/test_coverage/test_coveralls_reporter.pks
@@ut3_user/reporters/test_coverage/test_cov_cobertura_reporter.pks
@@ut3_user/reporters/test_coverage/test_coverage_sonar_reporter.pks
set define on
@@ -74,9 +71,7 @@ set define off
@@ut3_user/expectations/test_matchers.pkb
@@ut3_user/expectations/test_expectation_anydata.pkb
@@ut3_user/expectations/test_expectations_cursor.pkb
-set define on
-@@install_above_12_1.sql 'ut3_user/expectations/test_expectations_json.pkb'
-set define off
+@@ut3_user/expectations/test_expectations_json.pkb
@@ut3_user/api/test_ut_runner.pkb
@@ut3_user/api/test_ut_run.pkb
@@ut3_user/reporters.pkb
@@ -93,7 +88,6 @@ set define on
@@ut3_user/reporters/test_coverage/test_extended_coverage.pkb
@@ut3_user/reporters/test_coverage/test_html_coverage_reporter.pkb
set define off
-@@ut3_user/reporters/test_coverage/test_coveralls_reporter.pkb
@@ut3_user/reporters/test_coverage/test_cov_cobertura_reporter.pkb
@@ut3_user/reporters/test_coverage/test_coverage_sonar_reporter.pkb
set define on
diff --git a/test/run_tests.sh b/test/run_tests.sh
index 7d0431aec..078d011d6 100755
--- a/test/run_tests.sh
+++ b/test/run_tests.sh
@@ -17,7 +17,6 @@ time utPLSQL-cli/bin/utplsql run UT3_TESTER_HELPER/ut3@//${CONNECTION_STR} -D \
-f=ut_coverage_sonar_reporter -o=coverage.xml \
-f=ut_coverage_cobertura_reporter -o=cobertura.xml \
-f=ut_coverage_html_reporter -o=coverage.html \
--f=ut_coveralls_reporter -o=coverage.json \
-f=ut_sonar_test_reporter -o=test_results.xml \
-f=ut_junit_reporter -o=junit_test_results.xml \
-f=ut_tfs_junit_reporter -o=tfs_test_results.xml \
diff --git a/test/ut3_tester/core/annotations/test_annot_throws_exception.pkb b/test/ut3_tester/core/annotations/test_annot_throws_exception.pkb
index ac51d3a49..761377765 100644
--- a/test/ut3_tester/core/annotations/test_annot_throws_exception.pkb
+++ b/test/ut3_tester/core/annotations/test_annot_throws_exception.pkb
@@ -1,6 +1,7 @@
create or replace package body test_annot_throws_exception
is
g_tests_results clob;
+ g_results_other_schema clob;
procedure recollect_tests_results is
pragma autonomous_transaction;
@@ -25,10 +26,18 @@ is
e_some_exception exception;
pragma exception_init(e_some_exception, -20207);
- end;]';
+ end;
+ ]';
- l_package_spec := '
- create package annotated_package_with_throws is
+ l_package_spec := q'[
+ create or replace package annotated_package_with_throws is
+
+ c_local_error_no constant number := -20211;
+ e_some_local_exception exception;
+ pragma exception_init(e_some_local_exception, -20212);
+
+ e_uninitialized_exception_variable exception;
+
--%suite(Dummy package to test annotation throws)
--%test(Throws same annotated exception)
@@ -95,6 +104,22 @@ is
--%throws(exc_pkg.c_e_mix_missin,utter_rubbish)
procedure mixed_list_notexi;
+ --%test(Success referencing an exception variable when running from another schema)
+ --%throws(exc_pkg.e_some_exception)
+ procedure named_exc_pragma_run_from_another_schema;
+
+ --%test(Success referencing a numeric exception variable when running from another schema)
+ --%throws(exc_pkg.c_e_list_1)
+ procedure exc_number_var_run_from_another_schema;
+
+ --%test(Success referencing an exception variable without package name when running from another schema)
+ --%throws(e_some_local_exception)
+ procedure named_exc_pragma_run_from_another_schema_no_package_name;
+
+ --%test(Success referencing a numeric exception variable without package name when running from another schema)
+ --%throws(c_local_error_no)
+ procedure exc_number_var_run_from_another_schema_no_package_name;
+
--%test(Success resolve and match named exception defined in pragma exception init)
--%throws(exc_pkg.e_some_exception)
procedure named_exc_pragma;
@@ -122,11 +147,20 @@ is
--%test(Bad exception constant)
--%throws(exc_pkg.c_e_dummy);
procedure bad_exc_const;
+
+ --%test(Uninitialized exception variable can be used successfully in a test)
+ --%throws(e_uninitialized_exception_variable)
+ procedure referencing_uninitialized_exception;
+
+ --%test(Failure report shows all expected exceptions)
+ --%throws(c_local_error_no,e_some_local_exception,e_uninitialized_exception_variable)
+ procedure not_throwing_expected_exceptions;
+
end;
- ';
+ ]';
l_package_body := '
- create package body annotated_package_with_throws is
+ create or replace package body annotated_package_with_throws is
procedure raised_same_exception is
begin
raise_application_error(-20145, ''Test error'');
@@ -208,6 +242,26 @@ is
raise_application_error(exc_pkg.c_e_mix_missin,''Test'');
end;
+ procedure named_exc_pragma_run_from_another_schema is
+ begin
+ raise exc_pkg.e_some_exception;
+ end;
+
+ procedure exc_number_var_run_from_another_schema is
+ begin
+ raise_application_error(exc_pkg.c_e_list_1,''Test'');
+ end;
+
+ procedure named_exc_pragma_run_from_another_schema_no_package_name is
+ begin
+ raise e_some_local_exception;
+ end;
+
+ procedure exc_number_var_run_from_another_schema_no_package_name is
+ begin
+ raise_application_error(c_local_error_no,''Test'');
+ end;
+
procedure named_exc_pragma is
begin
raise exc_pkg.e_some_exception;
@@ -243,6 +297,15 @@ is
raise_application_error(-20143, ''Test error'');
end;
+ procedure referencing_uninitialized_exception is
+ begin
+ raise e_uninitialized_exception_variable;
+ end;
+
+ procedure not_throwing_expected_exceptions is
+ begin
+ raise_application_error(-20143, ''Test error'');
+ end;
end;
';
@@ -256,6 +319,14 @@ is
g_tests_results := ut3_develop.ut_utils.table_to_clob(l_test_results);
end;
+ procedure drop_test_package is
+ pragma autonomous_transaction;
+ begin
+ execute immediate 'drop package annotated_package_with_throws';
+ execute immediate 'drop package exc_pkg';
+ end;
+
+
procedure throws_same_annotated_except is
begin
ut.expect(g_tests_results).to_match('^\s*Throws same annotated exception \[[,\.0-9]+ sec\]\s*$','m');
@@ -312,7 +383,7 @@ is
procedure one_valid_exception_number is
begin
- ut.expect(g_tests_results).to_match('^\s*Detects a valid exception number within many invalid ones \[[\.0-9]+ sec\]\s*$','m');
+ ut.expect(g_tests_results).to_match('^\s*Detects a valid exception number within many invalid ones \[[,\.0-9]+ sec\]\s*$','m');
ut.expect(g_tests_results).to_match('one_valid_exception_number\s*Invalid parameter value ".*" for "--%throws" annotation. Parameter ignored.','m');
end;
@@ -357,7 +428,37 @@ is
ut.expect(g_tests_results).to_match('^\s*Success resolve and match named exception defined in pragma exception init \[[,\.0-9]+ sec\]\s*$','m');
ut.expect(g_tests_results).not_to_match('named_exc_pragma');
end;
-
+
+ procedure run_from_another_schema is
+ begin
+ ut3_tester_helper.run_helper.run(('ut3_tester.annotated_package_with_throws'));
+ g_results_other_schema := ut3_tester_helper.main_helper.get_dbms_output_as_clob();
+ end;
+
+ procedure named_exc_pragma_run_from_another_schema is
+ begin
+ ut.expect(g_results_other_schema).to_match('^\s*Success referencing an exception variable when running from another schema \[[,\.0-9]+ sec\]\s*$', 'm');
+ ut.expect(g_results_other_schema).not_to_match('named_exc_pragma_run_from_another_schema');
+ end;
+
+ procedure named_exc_pragma_run_from_another_schema_no_package_name is
+ begin
+ ut.expect(g_results_other_schema).to_match('^\s*Success referencing an exception variable without package name when running from another schema \[[,\.0-9]+ sec\]\s*$', 'm');
+ ut.expect(g_results_other_schema).not_to_match('named_exc_pragma_run_from_another_schema_no_package_name');
+ end;
+
+ procedure exc_number_var_run_from_another_schema_no_package_name is
+ begin
+ ut.expect(g_results_other_schema).to_match('^\s*Success referencing a numeric exception variable without package name when running from another schema \[[,\.0-9]+ sec\]\s*$', 'm');
+ ut.expect(g_results_other_schema).not_to_match('exc_number_var_run_from_another_schema_no_package_name');
+ end;
+
+ procedure exc_number_var_run_from_another_schema is
+ begin
+ ut.expect(g_results_other_schema).to_match('^\s*Success referencing a numeric exception variable when running from another schema \[[,\.0-9]+ sec\]\s*$', 'm');
+ ut.expect(g_results_other_schema).not_to_match('exc_number_var_run_from_another_schema');
+ end;
+
procedure named_exc_ora is
begin
ut.expect(g_tests_results).to_match('^\s*Success resolve and match oracle named exception \[[,\.0-9]+ sec\]\s*$','m');
@@ -392,13 +493,23 @@ is
begin
ut.expect(g_tests_results).to_match('^\s*Bad exception constant \[[,\.0-9]+ sec\] \(FAILED - [0-9]+\)\s*$','m');
ut.expect(g_tests_results).to_match('bad_exc_const\s*ORA-20143: Test error\s*ORA-06512: at "UT3_TESTER.ANNOTATED_PACKAGE_WITH_THROWS"');
- end;
-
- procedure drop_test_package is
- pragma autonomous_transaction;
+ end;
+
+ procedure referencing_uninitialized_exception is
+ l_test_results ut3_develop.ut_varchar2_list;
+ l_actual clob;
begin
- execute immediate 'drop package annotated_package_with_throws';
- execute immediate 'drop package exc_pkg';
+ select * bulk collect into l_test_results from table(ut3_develop.ut.run(('annotated_package_with_throws.referencing_uninitialized_exception')));
+
+ l_actual := ut3_develop.ut_utils.table_to_clob(l_test_results);
+ ut.expect(l_actual).to_match('^\s*Uninitialized exception variable can be used successfully in a test \[[,\.0-9]+ sec\]\s*$','m');
+ ut.expect(l_actual).not_to_match('referencing_uninitialized_exception');
+ end;
+
+ procedure not_throwing_expected_exceptions is
+ begin
+ ut.expect(g_tests_results).to_match('not_throwing_expected_exceptions');
+ ut.expect(g_tests_results).to_match('Actual: -20143 was expected to be one of: \(annotated_package_with_throws.e_some_local_exception, annotated_package_with_throws.e_uninitialized_exception_variable, -20211\)');
end;
end;
diff --git a/test/ut3_tester/core/annotations/test_annot_throws_exception.pks b/test/ut3_tester/core/annotations/test_annot_throws_exception.pks
index a9d20183d..a41c18d2b 100644
--- a/test/ut3_tester/core/annotations/test_annot_throws_exception.pks
+++ b/test/ut3_tester/core/annotations/test_annot_throws_exception.pks
@@ -5,7 +5,11 @@ is
--%beforeall
procedure recollect_tests_results;
-
+
+ --%afterall
+ procedure drop_test_package;
+
+
--%test(Gives success when annotated number exception is thrown)
procedure throws_same_annotated_except;
@@ -18,7 +22,7 @@ is
--%test(Gives failure when the raised exception is different that the annotated one)
procedure throws_diff_annotated_except;
- --%test(Ignores when the annotation throws is empty)
+ --%test(Ignores the throws annotation when it is empty)
procedure throws_empty;
--%test(Ignores when only bad parameters are passed, the test raise a exception and it shows errored test)
@@ -36,7 +40,7 @@ is
--%test(Detects a valid exception number within many invalid ones)
procedure one_valid_exception_number;
- --%test(Gives failure when a exception is expected and nothing is thrown)
+ --%test(Gives failure when an exception is expected and nothing is thrown)
procedure nothing_thrown;
--%test(Single exception defined as a constant number in package)
@@ -45,19 +49,19 @@ is
--%test(Gives success when one of annotated exception using constant is thrown)
procedure list_of_exc_constant;
- --%test(Gives failure when the raised exception is different that the annotated one using variable)
+ --%test(Gives failure when the raised exception is different than the annotated one using variable)
procedure fail_not_match_exc;
- --%test(Success when one of exception from mixed list of number and constant is thrown)
+ --%test(Success when one of exception from a mixed list of number and constant is thrown)
procedure mixed_exc_list;
- --%test(Success when match exception even if other variable on list dont exists)
+ --%test(Success when match exception even if another variable on list doesn't exists)
procedure mixed_list_notexi;
--%test(Success resolve and match named exception defined in pragma exception init)
procedure named_exc_pragma;
-
- --%test(Success resolve and match oracle named exception no data)
+
+ --%test(Success resolve and match oracle named exception no data)
procedure named_exc_ora;
--%test(Success resolve and match oracle named exception dup val index)
@@ -73,10 +77,32 @@ is
procedure non_existing_const;
--%test(Bad exception constant)
- procedure bad_exc_const;
+ procedure bad_exc_const;
+
+ --%test(Uninitialized exception variable can be used successfully in a test)
+ procedure referencing_uninitialized_exception;
+
+ --%test(a Failure report shows all expected exceptions)
+ procedure not_throwing_expected_exceptions;
- --%afterall
- procedure drop_test_package;
+ --%context(referencing exceptions when running from another schema)
+
+ --%beforeall
+ procedure run_from_another_schema;
+
+ --%test(Success referencing an exception variable when running from another schema)
+ procedure named_exc_pragma_run_from_another_schema;
+
+ --%test(Success referencing a numeric exception variable when running from another schema)
+ procedure exc_number_var_run_from_another_schema;
+
+ --%test(Success referencing an exception variable without a package name when running from another schema)
+ procedure named_exc_pragma_run_from_another_schema_no_package_name;
+
+ --%test(Success referencing a numeric exception variable without a package name when running from another schema)
+ procedure exc_number_var_run_from_another_schema_no_package_name;
+
+ --%endcontext
end;
/
diff --git a/test/ut3_tester/core/test_suite_builder.pkb b/test/ut3_tester/core/test_suite_builder.pkb
index 570d86a0d..9a86772c7 100644
--- a/test/ut3_tester/core/test_suite_builder.pkb
+++ b/test/ut3_tester/core/test_suite_builder.pkb
@@ -1370,6 +1370,54 @@ create or replace package body test_suite_builder is
);
end;
+ procedure context_name_case_insensitive is
+ l_actual clob;
+ l_annotations ut3_develop.ut_annotations;
+ begin
+ --Arrange
+ l_annotations := ut3_develop.ut_annotations(
+ ut3_develop.ut_annotation(1, 'suite','Cool', null),
+ ut3_develop.ut_annotation(2, 'beforeall',null, 'suite_level_beforeall'),
+ ut3_develop.ut_annotation(3, 'test','In suite', 'suite_level_test'),
+ ut3_develop.ut_annotation(4, 'context','A context', null),
+ ut3_develop.ut_annotation(5, 'name','a_Context', null),
+ ut3_develop.ut_annotation(6, 'beforeall',null, 'context_setup'),
+ ut3_develop.ut_annotation(7, 'test', 'In context', 'test_in_a_context'),
+ ut3_develop.ut_annotation(8, 'endcontext',null, null)
+ );
+ --Act
+ l_actual := invoke_builder_for_annotations(l_annotations, 'SOME_PACKAGE');
+ --Assert
+ ut.expect(l_actual).to_be_like(
+ ''||
+ '' ||
+ '%' ||
+ '%' ||
+ '' ||
+ '%suite_level_testIn suitesome_package.suite_level_test' ||
+ '%' ||
+ '' ||
+ '%a_contextA contextsome_package.a_context' ||
+ '%' ||
+ '' ||
+ '%test_in_a_contextIn contextsome_package.a_context.test_in_a_context' ||
+ '%' ||
+ '' ||
+ '' ||
+ '%some_packagecontext_setup' ||
+ '%' ||
+ '' ||
+ '' ||
+ '' ||
+ '' ||
+ '%some_packagesuite_level_beforeall' ||
+ '%' ||
+ '' ||
+ ''||
+ ''
+ );
+ end;
+
procedure throws_value_empty is
l_actual clob;
l_annotations ut3_develop.ut_annotations;
diff --git a/test/ut3_tester/core/test_suite_builder.pks b/test/ut3_tester/core/test_suite_builder.pks
index 4cbfcad74..09ff3c0b3 100644
--- a/test/ut3_tester/core/test_suite_builder.pks
+++ b/test/ut3_tester/core/test_suite_builder.pks
@@ -142,7 +142,7 @@ create or replace package test_suite_builder is
--%test(Falls back to default context name and gives warning when name contains spaces)
procedure name_with_spaces_invalid;
- --%test(Raises warning when more than one name annotation used )
+ --%test(Raises warning when more than one name annotation used)
procedure duplicate_name_annotation;
--%test(Is ignored when used outside of context - no warning given)
@@ -154,6 +154,9 @@ create or replace package test_suite_builder is
--%test(Is applied to corresponding context when multiple contexts used)
procedure multiple_contexts;
+ --%test(Context name is case insensitive)
+ procedure context_name_case_insensitive;
+
--%endcontext
--%context(--%throws annotation)
diff --git a/test/ut3_tester/core/test_ut_suite_tag_filter.pkb b/test/ut3_tester/core/test_ut_suite_tag_filter.pkb
index 7ce6a1c3e..32610edf6 100644
--- a/test/ut3_tester/core/test_ut_suite_tag_filter.pkb
+++ b/test/ut3_tester/core/test_ut_suite_tag_filter.pkb
@@ -101,7 +101,7 @@ create or replace package body test_ut_suite_tag_filter is
ut3_develop.ut_varchar2_rows('context_tag'), null),
ut3_develop.ut_suite_cache_row(
3, 'UT_TEST', 'some.path.test_tags.nested_context_#1.create_new_mapping', 'TEST_USER', 'TEST_TAGS', 'CREATE_NEW_MAPPING', 11, timestamp '2026-05-06 10:23:38.461299', NULL, NULL, 0, NULL, null, null, null, null, null, null, null, null,
- ut3_develop.ut_varchar2_rows('test_tag'), ut3_develop.ut_executable_test('UT_EXECUTABLE_TEST', 'test', 'TEST_USER', 'test_tags', 'create_new_mapping', NULL, NULL, NULL, NULL))
+ ut3_develop.ut_varchar2_rows('test_tag'), ut3_develop.ut_executable_test('UT_EXECUTABLE_TEST', 'test', 'TEST_USER', 'test_tags', 'create_new_mapping', NULL, NULL, NULL, NULL, NULL))
);
ut.expect(ut3_develop.ut_suite_tag_filter.apply( l_input_data, 'slow').count).to_equal(3 );
diff --git a/test/ut3_tester/core/test_ut_utils.pkb b/test/ut3_tester/core/test_ut_utils.pkb
index 4dc10492b..d46835f66 100644
--- a/test/ut3_tester/core/test_ut_utils.pkb
+++ b/test/ut3_tester/core/test_ut_utils.pkb
@@ -287,7 +287,7 @@ end;';
l_varchar2_byte_limit integer := 32767;
l_workaround_byte_limit integer := 8191;
l_singlebyte_string_max_size varchar2(32767 char) := rpad('x',l_varchar2_byte_limit,'x');
- l_twobyte_character char(1 char) := 'οΏ½?';
+ l_twobyte_character char(1 char) := unistr('\00E4');
l_clob_multibyte clob := l_twobyte_character||l_singlebyte_string_max_size; --here we have 32769(2+32767) bytes and 32768 chars
l_expected ut3_develop.ut_varchar2_list := ut3_develop.ut_varchar2_list();
l_result ut3_develop.ut_varchar2_list;
diff --git a/test/ut3_tester/core/test_ut_utils.pks b/test/ut3_tester/core/test_ut_utils.pks
index ca2e7b304..82145f908 100644
--- a/test/ut3_tester/core/test_ut_utils.pks
+++ b/test/ut3_tester/core/test_ut_utils.pks
@@ -93,7 +93,6 @@ create or replace package test_ut_utils is
procedure clean_append_with_multibyte;
--%test(clob_to_table - converts multibyte CLOB to ut_varchar2_list)
- --%disabled(We cannot run this test successfully on 12.1 until we change NLSCHARACTERSET from US7ASCII to AL32UTF8)
procedure test_clob_to_table_multibyte;
--%test(to_version - splits version string into individual version components)
diff --git a/test/ut3_tester_helper/coverage_helper.pkb b/test/ut3_tester_helper/coverage_helper.pkb
index ef14c586f..cf072ce3c 100644
--- a/test/ut3_tester_helper/coverage_helper.pkb
+++ b/test/ut3_tester_helper/coverage_helper.pkb
@@ -2,22 +2,9 @@ create or replace package body coverage_helper is
g_job_no integer := 0;
- function block_coverage_available return boolean is
- begin
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- return true;
- $else
- return false;
- $end
- end;
-
function covered_package_name return varchar2 is
begin
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- return 'dummy_coverage_package_with_an_amazingly_long_name_that_you_would_not_think_of_in_real_life_project_because_its_simply_too_long';
- $else
- return 'dummy_coverage';
- $end
+ return 'dummy_coverage_package_with_an_amazingly_long_name_that_you_would_not_think_of_in_real_life_project_because_its_simply_too_long';
end;
function substitute_covered_package( a_text varchar2, a_substitution varchar2 ) return varchar2 is
diff --git a/test/ut3_tester_helper/coverage_helper.pks b/test/ut3_tester_helper/coverage_helper.pks
index 8d2c1c150..d6a57a143 100644
--- a/test/ut3_tester_helper/coverage_helper.pks
+++ b/test/ut3_tester_helper/coverage_helper.pks
@@ -1,7 +1,5 @@
create or replace package coverage_helper is
- function block_coverage_available return boolean;
-
function covered_package_name return varchar2;
function substitute_covered_package( a_text varchar2, a_substitution varchar2 := '{p}' ) return varchar2;
diff --git a/test/ut3_user/api/test_ut_run.pkb b/test/ut3_user/api/test_ut_run.pkb
index b4040bb43..8c99af7d7 100644
--- a/test/ut3_user/api/test_ut_run.pkb
+++ b/test/ut3_user/api/test_ut_run.pkb
@@ -551,7 +551,7 @@ Failures:%
ORA-04068: existing state of packages (DB_LOOPBACK%) has been discarded
ORA-04061: existing state of package body "%.STATEFUL_PACKAGE" has been invalidated
ORA-04065: not executed, altered or dropped package body "%.STATEFUL_PACKAGE"%
- ORA-06512: at line 6%
+ ORA-06512: at line 7%
1 tests, 0 failed, 1 errored, 0 disabled, 0 warning(s)%';
--Act
diff --git a/test/ut3_user/api/test_ut_runner.pkb b/test/ut3_user/api/test_ut_runner.pkb
index d665718e1..d35495c70 100644
--- a/test/ut3_user/api/test_ut_runner.pkb
+++ b/test/ut3_user/api/test_ut_runner.pkb
@@ -386,7 +386,6 @@ end;';
select 'UT3_DEVELOP.UT_DEBUG_REPORTER', 'Y' from dual union all
select 'UT3_DEVELOP.UT_COVERAGE_HTML_REPORTER', 'Y' from dual union all
select 'UT3_DEVELOP.UT_COVERAGE_SONAR_REPORTER', 'Y' from dual union all
- select 'UT3_DEVELOP.UT_COVERALLS_REPORTER', 'Y' from dual union all
select 'UT3_DEVELOP.UT_DOCUMENTATION_REPORTER', 'Y' from dual union all
select 'UT3_DEVELOP.UT_JUNIT_REPORTER', 'Y' from dual union all
select 'UT3_DEVELOP.UT_REALTIME_REPORTER', 'Y' from dual union all
diff --git a/test/ut3_user/expectations/binary/test_to_be_within.pkb b/test/ut3_user/expectations/binary/test_to_be_within.pkb
index 032b684a5..c9aae6ee2 100644
--- a/test/ut3_user/expectations/binary/test_to_be_within.pkb
+++ b/test/ut3_user/expectations/binary/test_to_be_within.pkb
@@ -199,7 +199,7 @@ create or replace package body test_to_be_within is
begin
--Arrange
--Act
- ut3_develop.ut.expect(sysdate).to_be_within(INTERVAL '1' MONTH).of_(sysdate+ 46);
+ ut3_develop.ut.expect(sysdate).to_be_within(INTERVAL '1' MONTH).of_(sysdate+ 47);
--Assert
l_expected_message := q'[Actual: % (date) was expected to be within 1 month of % (date)]';
l_actual_message := ut3_tester_helper.main_helper.get_failed_expectations(1);
diff --git a/test/ut3_user/expectations/test_expectation_anydata.pkb b/test/ut3_user/expectations/test_expectation_anydata.pkb
index c70d41f9e..5f76e6715 100644
--- a/test/ut3_user/expectations/test_expectation_anydata.pkb
+++ b/test/ut3_user/expectations/test_expectation_anydata.pkb
@@ -1229,7 +1229,6 @@ Rows: [ 60 differences, showing first 20 ]
end;
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
procedure long_names_object_types is
pragma autonomous_transaction;
begin
@@ -1253,7 +1252,6 @@ Rows: [ 60 differences, showing first 20 ]
execute immediate 'drop type very_long_type_name_valid_for_oracle_12_so_utPLSQL_should_allow_it_definitely_well_still_not_reached_128_but_wait_we_did_it';
raise;
end;
- $end
end;
/
\ No newline at end of file
diff --git a/test/ut3_user/expectations/test_expectation_anydata.pks b/test/ut3_user/expectations/test_expectation_anydata.pks
index 54c246bd3..557eb58db 100644
--- a/test/ut3_user/expectations/test_expectation_anydata.pks
+++ b/test/ut3_user/expectations/test_expectation_anydata.pks
@@ -237,10 +237,8 @@ create or replace package test_expectation_anydata is
--%test ( Reports success when comparing complex nested objects )
procedure complex_nested_object_success;
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
--%test ( Compares object types with long names - Issue #1235 )
procedure long_names_object_types;
- $end
end;
/
diff --git a/test/ut3_user/expectations/test_expectations_cursor.pkb b/test/ut3_user/expectations/test_expectations_cursor.pkb
index a4ef4e8f2..fcd474226 100644
--- a/test/ut3_user/expectations/test_expectations_cursor.pkb
+++ b/test/ut3_user/expectations/test_expectations_cursor.pkb
@@ -2843,8 +2843,6 @@ Check the query and data for errors.';
l_expected_data(1).col4 := 2016;
l_expected_data(1).col5 := -1;
- --Select on package level nested table types supported only since Oracle 12
- $if dbms_db_version.version >= 12 $then
open l_expected for
select *
from table (l_expected_data);
@@ -2869,7 +2867,6 @@ Check the query and data for errors.';
l_actual_message := ut3_tester_helper.main_helper.get_failed_expectations(1);
ut.expect(l_actual_message).to_be_like(l_expected_message);
- $end
end;
procedure uc_columns_exclude is
@@ -2890,19 +2887,15 @@ Check the query and data for errors.';
l_expected sys_refcursor;
begin
-- populate actual
- $if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
- open l_actual for
- select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
+ open l_actual for
+ select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
- open l_expected for
- select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
+ open l_expected for
+ select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
- ut3_develop.ut.expect(l_actual).to_equal(l_expected).include('ID,SOME_COLUMN_WITH_A_PRETTY_LONG_ENOUGH_NAME').join_by('ID');
- --Assert
- ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
- $else
- null;
- $end
+ ut3_develop.ut.expect(l_actual).to_equal(l_expected).include('ID,SOME_COLUMN_WITH_A_PRETTY_LONG_ENOUGH_NAME').join_by('ID');
+ --Assert
+ ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
end;
procedure compare_specific_column_names is
diff --git a/test/ut3_user/reporters/test_coverage/test_cov_cobertura_reporter.pkb b/test/ut3_user/reporters/test_coverage/test_cov_cobertura_reporter.pkb
index ad6c9dbb4..49e0410ba 100644
--- a/test/ut3_user/reporters/test_coverage/test_cov_cobertura_reporter.pkb
+++ b/test/ut3_user/reporters/test_coverage/test_cov_cobertura_reporter.pkb
@@ -12,11 +12,7 @@ create or replace package body test_cov_cobertura_reporter is
--Arrange
l_name := ut3_tester_helper.coverage_helper.covered_package_name;
l_file_path := 'test/ut3_develop.'||ut3_tester_helper.coverage_helper.covered_package_name||'.pkb';
- if ut3_tester_helper.coverage_helper.block_coverage_available then
- l_block_cov := '';
- else
- l_block_cov := '';
- end if;
+ l_block_cov := '';
l_expected :=
q'[
diff --git a/test/ut3_user/reporters/test_coverage/test_coverage_sonar_reporter.pkb b/test/ut3_user/reporters/test_coverage/test_coverage_sonar_reporter.pkb
index 50d7bfe4c..9f2409637 100644
--- a/test/ut3_user/reporters/test_coverage/test_coverage_sonar_reporter.pkb
+++ b/test/ut3_user/reporters/test_coverage/test_coverage_sonar_reporter.pkb
@@ -6,11 +6,7 @@ create or replace package body test_coverage_sonar_reporter is
l_block_cov clob;
begin
--Arrange
- if ut3_tester_helper.coverage_helper.block_coverage_available then
- l_block_cov := '';
- else
- l_block_cov := '';
- end if;
+ l_block_cov := '';
l_expected := '
diff --git a/test/ut3_user/reporters/test_coverage/test_coverage_standalone.pkb b/test/ut3_user/reporters/test_coverage/test_coverage_standalone.pkb
index 90cfb484e..adf7b51d1 100644
--- a/test/ut3_user/reporters/test_coverage/test_coverage_standalone.pkb
+++ b/test/ut3_user/reporters/test_coverage/test_coverage_standalone.pkb
@@ -7,11 +7,7 @@ create or replace package body test_coverage_standalone is
begin
l_file_path := 'package body ut3_develop.'||a_object_name;
--Arrange
- if ut3_tester_helper.coverage_helper.block_coverage_available then
- l_block_cov := '';
- else
- l_block_cov := '';
- end if;
+ l_block_cov := '';
l_expected :=
q'[
diff --git a/test/ut3_user/reporters/test_coverage/test_coveralls_reporter.pkb b/test/ut3_user/reporters/test_coverage/test_coveralls_reporter.pkb
deleted file mode 100644
index e3806cd97..000000000
--- a/test/ut3_user/reporters/test_coverage/test_coveralls_reporter.pkb
+++ /dev/null
@@ -1,77 +0,0 @@
-create or replace package body test_coveralls_reporter is
-
- procedure report_on_file is
- l_expected clob;
- l_actual clob;
- l_file_path varchar2(250);
- begin
- --Arrange
- l_file_path := 'test/ut3_develop.'||ut3_tester_helper.coverage_helper.covered_package_name||'.pkb';
- l_expected := q'[{"source_files":[
-{ "name": "]'||l_file_path||q'[",
-"coverage": [
-null,
-null,
-null,
-3,
-null,
-0
-]
-}
-]}
- ]';
- l_actual :=
- ut3_tester_helper.coverage_helper.run_tests_as_job(
- q'[
- ut3_develop.ut.run(
- a_path => 'ut3_develop.test_dummy_coverage',
- a_reporter => ut3_develop.ut_coveralls_reporter( ),
- a_source_files => ut3_develop.ut_varchar2_list( ']'||l_file_path||q'[' ),
- a_test_files => ut3_develop.ut_varchar2_list( )
- )
- ]'
- );
- --Assert
- ut.expect(l_actual).to_equal(l_expected);
- end;
-
- procedure report_zero_coverage is
- l_expected clob;
- l_actual clob;
- begin
- --Arrange
- l_expected := q'[{"source_files":[
-{ "name": "package body ut3_develop.]'||ut3_tester_helper.coverage_helper.covered_package_name||q'[",
-"coverage": [
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0
-]
-}
-]}
- ]';
-
- --Act
- l_actual :=
- ut3_tester_helper.coverage_helper.run_tests_as_job(
- q'[
- ut3_develop.ut.run(
- 'ut3_develop.test_dummy_coverage.zero_coverage',
- ut3_develop.ut_coveralls_reporter(),
- a_include_objects => ut3_develop.ut_varchar2_list('UT3_DEVELOP.]'||ut3_tester_helper.coverage_helper.covered_package_name||q'[')
- )
- ]'
- );
- --Assert
- ut.expect(l_actual).to_equal(l_expected);
-
- end;
-
-end;
-/
diff --git a/test/ut3_user/reporters/test_coverage/test_coveralls_reporter.pks b/test/ut3_user/reporters/test_coverage/test_coveralls_reporter.pks
deleted file mode 100644
index d958b8f12..000000000
--- a/test/ut3_user/reporters/test_coverage/test_coveralls_reporter.pks
+++ /dev/null
@@ -1,13 +0,0 @@
-create or replace package test_coveralls_reporter is
-
- --%suite(ut_coveralls_reporter)
- --%suitepath(utplsql.test_user.reporters.test_coverage)
-
- --%test(reports on a project file mapped to database object)
- procedure report_on_file;
-
- --%test(reports zero coverage on each line of non-executed database object)
- procedure report_zero_coverage;
-
-end;
-/
diff --git a/test/ut3_user/reporters/test_coverage/test_extended_coverage.pkb b/test/ut3_user/reporters/test_coverage/test_extended_coverage.pkb
index d7f1b61d7..f6f76b62f 100644
--- a/test/ut3_user/reporters/test_coverage/test_extended_coverage.pkb
+++ b/test/ut3_user/reporters/test_coverage/test_extended_coverage.pkb
@@ -2,13 +2,7 @@ create or replace package body test_extended_coverage is
function get_block_coverage_line return clob is
begin
- return
- case
- when ut3_tester_helper.coverage_helper.block_coverage_available then
- '%'
- else
- '%'
- end;
+ return '%';
end;
procedure coverage_for_object is
l_expected clob;
@@ -130,8 +124,7 @@ create or replace package body test_extended_coverage is
);
--Assert
- --The below is a workaround for problem with large CLOB like comparison on 11g XE db.
- ut.expect(to_char(substr(l_actual,instr(l_actual,''),2000))).to_be_like(l_expected);
+ ut.expect(l_actual).to_be_like(l_expected);
ut.expect(l_actual).not_to_be_like(l_not_expected);
ut.expect(l_actual).not_to_be_like('%ut3_tester_helper.test_regex_dummy_cov%');
end;
diff --git a/test/ut3_user/reporters/test_coverage/test_html_coverage_reporter.pkb b/test/ut3_user/reporters/test_coverage/test_html_coverage_reporter.pkb
index 2f2200116..e88a94131 100644
--- a/test/ut3_user/reporters/test_coverage/test_html_coverage_reporter.pkb
+++ b/test/ut3_user/reporters/test_coverage/test_html_coverage_reporter.pkb
@@ -9,9 +9,7 @@ create or replace package body test_html_coverage_reporter is
begin
--Arrange
l_name := ut3_tester_helper.coverage_helper.covered_package_name;
- if ut3_tester_helper.coverage_helper.block_coverage_available then
- l_block_cov := '(including 1 lines partially covered ) ';
- end if;
+ l_block_cov := '(including 1 lines partially covered ) ';
l_expected := '%%
UT3_DEVELOP.'||upper(l_name)||'
' ||
'%2 relevant lines. 1 lines covered ' ||
l_block_cov || 'and 1 lines missed%';
diff --git a/test/ut3_user/reporters/test_documentation_reporter.pkb b/test/ut3_user/reporters/test_documentation_reporter.pkb
index 016cec256..d9c5d48c8 100644
--- a/test/ut3_user/reporters/test_documentation_reporter.pkb
+++ b/test/ut3_user/reporters/test_documentation_reporter.pkb
@@ -38,7 +38,7 @@ Failures:
2) erroring_test
ORA-06502: PL/SQL: %: character to number conversion error
ORA-06512: at "UT3_USER.TEST_REPORTERS", line 44%
- ORA-06512: at line 6
+ ORA-06512: at line 7
Finished in % seconds
5 tests, 1 failed, 1 errored, 2 disabled, 0 warning(s)%]';
diff --git a/test/ut3_user/reporters/test_realtime_reporter.pkb b/test/ut3_user/reporters/test_realtime_reporter.pkb
index 84053c3c9..d4d83f7a3 100644
--- a/test/ut3_user/reporters/test_realtime_reporter.pkb
+++ b/test/ut3_user/reporters/test_realtime_reporter.pkb
@@ -410,7 +410,7 @@ create or replace package body test_realtime_reporter as
= 'realtime_reporting.check_realtime_reporting3.test_6_with_runtime_error';
ut3_tester_helper.main_helper.append_to_list(l_expected_list, '');
+ ut3_tester_helper.main_helper.append_to_list(l_expected_list, '%ORA-06512: at line 7]]>');
l_expected := ut3_tester_helper.main_helper.table_to_clob(l_expected_list);
ut.expect(l_actual).to_be_like(l_expected);
end error_stack_of_test;
@@ -427,7 +427,7 @@ create or replace package body test_realtime_reporter as
= 'realtime_reporting.check_realtime_reporting3';
ut3_tester_helper.main_helper.append_to_list(l_expected_list, '');
+ ut3_tester_helper.main_helper.append_to_list(l_expected_list, '%ORA-06512: at line 7]]>');
l_expected := ut3_tester_helper.main_helper.table_to_clob(l_expected_list);
ut.expect(l_actual).to_be_like(l_expected);
end error_stack_of_testsuite;
diff --git a/test/ut3_user/reporters/test_tfs_junit_reporter.pkb b/test/ut3_user/reporters/test_tfs_junit_reporter.pkb
index 1036be2ba..105517763 100644
--- a/test/ut3_user/reporters/test_tfs_junit_reporter.pkb
+++ b/test/ut3_user/reporters/test_tfs_junit_reporter.pkb
@@ -100,7 +100,7 @@ create or replace package body test_tfs_junit_reporter as
--%displayname(Test in and out of context)
-- %context(incontext)
- -- %name(ProductincontextFeatures)
+ -- %name(Production_context_Features)
--%test(inctx)
--%displayname(inctx)
@@ -298,7 +298,7 @@ create or replace package body test_tfs_junit_reporter as
-
+