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

Skip to content

Commit c5f81eb

Browse files
committed
Fixing failing tests
1 parent eebfba0 commit c5f81eb

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

source/core/ut_suite_builder.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ create or replace package body ut_suite_builder is
777777

778778
if l_end_context_pos is null then
779779
a_suite.put_warning(
780-
'Missing "--%endcontext" annotation for a "--%context" annotation. The end of package specification is effective end of context.'|| get_object_reference( a_suite, null, l_context_pos )
780+
'Missing "--%endcontext" annotation for a "--%context" annotation. The end of package is considered end of context.'|| get_object_reference( a_suite, null, l_context_pos )
781781
);
782782
l_end_context_pos := a_annotations.by_line.last;
783783
end if;

test/ut3_tester/core/test_suite_builder.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ create or replace package body test_suite_builder is
884884
l_actual := invoke_builder_for_annotations(l_annotations, 'SOME_PACKAGE');
885885
--Assert
886886
ut.expect(l_actual).to_be_like(
887-
'%<WARNINGS><VARCHAR2>Missing &quot;--\%endcontext&quot; annotation for a &quot;--\%context&quot; annotation. The end of context considered be end of package.%at package &quot;UT3_TESTER.SOME_PACKAGE&quot;, line 4</VARCHAR2></WARNINGS>%'
887+
'%<WARNINGS><VARCHAR2>Missing &quot;--\%endcontext&quot; annotation for a &quot;--\%context&quot; annotation. The end of package is considered end of context.%at package &quot;UT3_TESTER.SOME_PACKAGE&quot;, line 4</VARCHAR2></WARNINGS>%'
888888
,'\'
889889
);
890890
ut.expect(l_actual).to_be_like(

test/ut3_tester/core/test_suite_builder.pks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ create or replace package test_suite_builder is
125125
--%test(Propagates beforeeach/aftereach to context)
126126
procedure before_after_out_of_context;
127127

128-
--%test(Does not create context and gives warning when endcontext is missing)
128+
--%test(Gives warning when endcontext is missing)
129129
procedure context_without_endcontext;
130130

131131
--%test(Gives warning if --%endcontext is missing a preceding --%context)

test/ut3_user/api/test_ut_run.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ Failures:%
688688
select * bulk collect into l_results from table(ut3.ut.run('bad_annotations'));
689689
l_actual := ut3_tester_helper.main_helper.table_to_clob(l_results);
690690

691-
ut.expect(l_actual).to_be_like('%Missing "--%endcontext" annotation for a "--%context" annotation. The end of context considered be end of package.%
691+
ut.expect(l_actual).to_be_like('%Missing "--%endcontext" annotation for a "--%context" annotation. The end of package is considered end of context.%
692692
%1 tests, 0 failed, 0 errored, 0 disabled, 1 warning(s)%');
693693

694694
end;

0 commit comments

Comments
 (0)