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

Skip to content

Commit ae5acfa

Browse files
committed
Made parse_object_annotations(a_source clob) private, as it was only used by unit tests.
Fixed and enhanced unit tests to use public function `parse_object_annotations(a_source_lines dbms_preprocessor.source_lines_t)` Added test for parsing code whit conditional compilation. Added conditional tests for 11 and 12. Fixed issue with saving "'" to the cache.
1 parent 8e26ed0 commit ae5acfa

4 files changed

Lines changed: 278 additions & 208 deletions

File tree

source/core/annotations/ut_annotation_manager.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ create or replace package body ut_annotation_manager as
111111
c_lines_fetch_limit constant integer := 1000;
112112
l_lines dbms_preprocessor.source_lines_t;
113113
l_names dbms_preprocessor.source_lines_t;
114-
l_name varchar2(250) := '''';
114+
l_name varchar2(250);
115115
l_object_lines dbms_preprocessor.source_lines_t;
116116
begin
117117
--get information about cached objects

source/core/annotations/ut_annotation_parser.pks

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,5 @@ create or replace package ut_annotation_parser authid current_user as
3030
function parse_object_annotations(a_source_lines dbms_preprocessor.source_lines_t) return ut_annotations;
3131

3232

33-
/**
34-
*
35-
* @private
36-
* Parses source code and converts it to annotations
37-
*
38-
* @param a_source_lines ordered lines of source code to be parsed
39-
* @return array containing annotations
40-
*/
41-
function parse_object_annotations(a_source clob) return ut_annotations;
42-
4333
end ut_annotation_parser;
4434
/

0 commit comments

Comments
 (0)