Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58c6293

Browse files
committed
Renamed ut_annotations to ut_annotation_parser and moved to annotations directory.
1 parent a29cabe commit 58c6293

9 files changed

Lines changed: 79 additions & 78 deletions

File tree

old_tests/RunAll.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ begin
328328
'source/api/ut_runner.pks',
329329
'source/core/coverage',
330330
'source/core/types',
331-
'source/core/ut_annotations.pkb',
332-
'source/core/ut_annotations.pks',
331+
'source/core/ut_annotation_parser.pkb',
332+
'source/core/ut_annotation_parser.pks',
333333
'source/core/ut_expectation_processor.pkb',
334334
'source/core/ut_expectation_processor.pks',
335335
'source/core/ut_file_mapper.pkb',

source/core/ut_annotations.pkb renamed to source/core/annotations/ut_annotation_parser.pkb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create or replace package body ut_annotations as
1+
create or replace package body ut_annotation_parser as
22
/*
33
utPLSQL - Version X.X.X.X
44
Copyright 2016 - 2017 utPLSQL Project
@@ -338,5 +338,5 @@ create or replace package body ut_annotations as
338338
return l_annotation_params;
339339
end;
340340

341-
end ut_annotations;
341+
end ut_annotation_parser;
342342
/

source/core/ut_annotations.pks renamed to source/core/annotations/ut_annotation_parser.pks

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create or replace package ut_annotations authid current_user as
1+
create or replace package ut_annotation_parser authid current_user as
22
/*
33
utPLSQL - Version X.X.X.X
44
Copyright 2016 - 2017 utPLSQL Project
@@ -17,7 +17,7 @@ create or replace package ut_annotations authid current_user as
1717
*/
1818

1919
/*
20-
package: ut_annotations
20+
package: ut_annotation_parser
2121

2222
Responsible for parsing and accessing utplsql annotations.
2323

@@ -100,5 +100,5 @@ create or replace package ut_annotations authid current_user as
100100
*/
101101
function parse_annotation_params(a_annotation_text varchar2) return tt_annotation_params;
102102

103-
end ut_annotations;
103+
end ut_annotation_parser;
104104
/

source/core/ut_suite_manager.pkb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ create or replace package body ut_suite_manager is
4646
end;
4747

4848
function config_package(a_owner_name varchar2, a_object_name varchar2) return ut_logical_suite is
49-
l_annotation_data ut_annotations.typ_annotated_package;
50-
l_suite_name ut_annotations.t_annotation_name;
49+
l_annotation_data ut_annotation_parser.typ_annotated_package;
50+
l_suite_name ut_annotation_parser.t_annotation_name;
5151
l_test ut_test;
52-
l_proc_annotations ut_annotations.tt_annotations;
52+
l_proc_annotations ut_annotation_parser.tt_annotations;
5353

5454
l_default_setup_proc varchar2(250 char);
5555
l_default_teardown_proc varchar2(250 char);
5656
l_suite_setup_proc varchar2(250 char);
5757
l_suite_teardown_proc varchar2(250 char);
5858
l_suite_path varchar2(4000 char);
5959

60-
l_proc_name ut_annotations.t_procedure_name;
60+
l_proc_name ut_annotation_parser.t_procedure_name;
6161

6262
l_owner_name varchar2(250 char);
6363
l_object_name varchar2(250 char);
@@ -76,7 +76,7 @@ create or replace package body ut_suite_manager is
7676
when e_insufficient_priv then
7777
return null;
7878
end;
79-
l_annotation_data := ut_annotations.get_package_annotations(a_owner_name => l_owner_name, a_name => l_object_name);
79+
l_annotation_data := ut_annotation_parser.get_package_annotations(a_owner_name => l_owner_name, a_name => l_object_name);
8080

8181
if l_annotation_data.package_annotations.exists('suite') then
8282

source/install.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ alter session set plsql_warnings = 'ENABLE:ALL', 'DISABLE:(5004,5018,6000,6001,6
7575
@@install_component.sql 'core/ut_output_buffer.pkb'
7676

7777
--annoations
78-
@@install_component.sql 'core/ut_annotations.pks'
79-
@@install_component.sql 'core/ut_annotations.pkb'
78+
@@install_component.sql 'core/annotations/ut_annotation_parser.pks'
79+
@@install_component.sql 'core/annotations/ut_annotation_parser.pkb'
8080

8181
--suite manager
8282
@@install_component.sql 'core/ut_suite_manager.pks'

source/uninstall.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ drop type ut_data_value force;
173173
drop table ut_cursor_data;
174174

175175
drop package ut_annotations;
176+
drop package ut_annotation_parser;
176177

177178
drop package ut_file_mapper;
178179

test/install_tests.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ whenever oserror exit failure rollback
33

44
@core.pks
55
@ut_utils/test_ut_utils.pks
6-
@ut_annotations/test_annotations.pks
6+
@ut_annotation_parser/test_annotation_parser.pks
77
@ut_matchers/test_matchers.pks
88
@ut_output_buffer/test_output_buffer.pks
99
@ut_suite_manager/test_suite_manager.pks
@@ -15,7 +15,7 @@ whenever oserror exit failure rollback
1515

1616
@core.pkb
1717
@ut_utils/test_ut_utils.pkb
18-
@ut_annotations/test_annotations.pkb
18+
@ut_annotation_parser/test_annotation_parser.pkb
1919
@ut_matchers/test_matchers.pkb
2020
@ut_output_buffer/test_output_buffer.pkb
2121
@ut_suite_manager/test_suite_manager.pkb

0 commit comments

Comments
 (0)