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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
36a061c
Removed parsing of annotation text (params) from ut_annotations as an…
jgebal Oct 6, 2017
a29cabe
Removed duplicate `old_tests` for ut_annotations - the functionality …
jgebal Oct 6, 2017
58c6293
Renamed `ut_annotations` to `ut_annotation_parser` and moved to annot…
jgebal Oct 7, 2017
375a7ff
Removed ``ut_annotations` from uninstall script.
jgebal Oct 7, 2017
13703fa
Fixed failing old tests after refactoring.
jgebal Oct 7, 2017
ac23f15
Refactored ut_annotation_parser API to use `ut_annotations` collectio…
jgebal Oct 7, 2017
df2c763
Added cache mechanism to `ut_annotation_parser`.
jgebal Oct 8, 2017
6088c81
Added ability to get annotations for single object.
jgebal Oct 9, 2017
4ec9eb5
Reworking annotation cache - not to use cast(Collect()) on dba_source.
jgebal Oct 13, 2017
dbf2538
Fixed failing test and test for Wrapped package.
jgebal Oct 14, 2017
ca31e98
Added missing annotation manager.
jgebal Oct 14, 2017
289f006
Removed dbms_output from code.
jgebal Oct 14, 2017
8e26ed0
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
jgebal Oct 14, 2017
239abde
Add grant ut_annotation_manager to public
pesse Oct 16, 2017
6acd2ad
Add grant ut_annotation_manager to ut3_user
pesse Oct 16, 2017
e114aae
Merge branch 'develop' into feature/annotations_restructuring
jgebal Oct 17, 2017
b83e142
Fixed hardcoded schema-name
jgebal Oct 18, 2017
6dcaae9
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
jgebal Oct 18, 2017
aafca84
Refactored annotation cache.
jgebal Oct 22, 2017
cd394c7
Fixed test execution on 12.1.
jgebal Oct 23, 2017
73c15a2
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
jgebal Oct 23, 2017
5967a3a
Fixed test execution on 12.1.
jgebal Oct 23, 2017
1438753
Merge branch 'develop' into feature/annotations_restructuring
jgebal Oct 24, 2017
4f5d870
Merge conflicts cleanup
jgebal Oct 24, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Renamed ut_annotations to ut_annotation_parser and moved to annot…
…ations directory.
  • Loading branch information
jgebal committed Oct 7, 2017
commit 58c62935a70a202d5bad6265b700dc8bd875f289
4 changes: 2 additions & 2 deletions old_tests/RunAll.sql
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ begin
'source/api/ut_runner.pks',
'source/core/coverage',
'source/core/types',
'source/core/ut_annotations.pkb',
'source/core/ut_annotations.pks',
'source/core/ut_annotation_parser.pkb',
'source/core/ut_annotation_parser.pks',
'source/core/ut_expectation_processor.pkb',
'source/core/ut_expectation_processor.pks',
'source/core/ut_file_mapper.pkb',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
create or replace package body ut_annotations as
create or replace package body ut_annotation_parser as
/*
utPLSQL - Version X.X.X.X
Copyright 2016 - 2017 utPLSQL Project
Expand Down Expand Up @@ -338,5 +338,5 @@ create or replace package body ut_annotations as
return l_annotation_params;
end;

end ut_annotations;
end ut_annotation_parser;
/
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
create or replace package ut_annotations authid current_user as
create or replace package ut_annotation_parser authid current_user as
/*
utPLSQL - Version X.X.X.X
Copyright 2016 - 2017 utPLSQL Project
Expand All @@ -17,7 +17,7 @@ create or replace package ut_annotations authid current_user as
*/

/*
package: ut_annotations
package: ut_annotation_parser

Responsible for parsing and accessing utplsql annotations.

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

end ut_annotations;
end ut_annotation_parser;
/
10 changes: 5 additions & 5 deletions source/core/ut_suite_manager.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ create or replace package body ut_suite_manager is
end;

function config_package(a_owner_name varchar2, a_object_name varchar2) return ut_logical_suite is
l_annotation_data ut_annotations.typ_annotated_package;
l_suite_name ut_annotations.t_annotation_name;
l_annotation_data ut_annotation_parser.typ_annotated_package;
l_suite_name ut_annotation_parser.t_annotation_name;
l_test ut_test;
l_proc_annotations ut_annotations.tt_annotations;
l_proc_annotations ut_annotation_parser.tt_annotations;

l_default_setup_proc varchar2(250 char);
l_default_teardown_proc varchar2(250 char);
l_suite_setup_proc varchar2(250 char);
l_suite_teardown_proc varchar2(250 char);
l_suite_path varchar2(4000 char);

l_proc_name ut_annotations.t_procedure_name;
l_proc_name ut_annotation_parser.t_procedure_name;

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

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

Expand Down
4 changes: 2 additions & 2 deletions source/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ alter session set plsql_warnings = 'ENABLE:ALL', 'DISABLE:(5004,5018,6000,6001,6
@@install_component.sql 'core/ut_output_buffer.pkb'

--annoations
@@install_component.sql 'core/ut_annotations.pks'
@@install_component.sql 'core/ut_annotations.pkb'
@@install_component.sql 'core/annotations/ut_annotation_parser.pks'
@@install_component.sql 'core/annotations/ut_annotation_parser.pkb'

--suite manager
@@install_component.sql 'core/ut_suite_manager.pks'
Expand Down
1 change: 1 addition & 0 deletions source/uninstall.sql
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ drop type ut_data_value force;
drop table ut_cursor_data;

drop package ut_annotations;
drop package ut_annotation_parser;

drop package ut_file_mapper;

Expand Down
4 changes: 2 additions & 2 deletions test/install_tests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ whenever oserror exit failure rollback

@core.pks
@ut_utils/test_ut_utils.pks
@ut_annotations/test_annotations.pks
@ut_annotation_parser/test_annotation_parser.pks
@ut_matchers/test_matchers.pks
@ut_output_buffer/test_output_buffer.pks
@ut_suite_manager/test_suite_manager.pks
Expand All @@ -15,7 +15,7 @@ whenever oserror exit failure rollback

@core.pkb
@ut_utils/test_ut_utils.pkb
@ut_annotations/test_annotations.pkb
@ut_annotation_parser/test_annotation_parser.pkb
@ut_matchers/test_matchers.pkb
@ut_output_buffer/test_output_buffer.pkb
@ut_suite_manager/test_suite_manager.pkb
Expand Down
Loading