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

Skip to content

Commit 0070cf8

Browse files
committed
changed hard stop to "full stop/period"
1 parent e1dfd05 commit 0070cf8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/userguide/annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ Context have following characteristics:
10141014
- context name must be unique within it's parent (suite or parent context)
10151015
- if context name is not unique within it's parent, context and it's entire content is excluded from execution
10161016
- context name should not contain spaces or special characters
1017-
- context name cannot contain a `.` (hard stop) character
1017+
- context name cannot contain a `.` (full stop/period) character
10181018
- contexts can be nested, so a context can be nested within another context
10191019
- suite/context can have multiple nested sibling contexts in it
10201020
- contexts can have their own `--%beforeall`, `--%beforeeach`, `--%afterall` and `--%aftereach` procedures

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
if regexp_like( l_context_name, '\.' ) or l_context_name is null then
778778
if regexp_like( l_context_name, '\.' ) then
779779
a_suite.put_warning(
780-
'Invalid value "'||l_context_name||'" for context name. The name cannot contain "." (hard stop) character.' ||
780+
'Invalid value "'||l_context_name||'" for context name. The name cannot contain "." (full stop/period) character.' ||
781781
' Context name ignored and fallback to auto-name "'||gc_context||'_'||l_context_no||'" ' ||
782782
get_object_reference( a_suite, null, l_context_pos )
783783
);

test/ut3_tester/core/test_suite_builder.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ create or replace package body test_suite_builder is
10381038
l_actual := invoke_builder_for_annotations(l_annotations, 'SOME_PACKAGE');
10391039
--Assert
10401040
ut.expect(l_actual).to_be_like(
1041-
'%Invalid value "'||l_bad_name||'" for context name. The name cannot contain "." (hard stop) character. Context name ignored and fallback to auto-name "context_1"%'
1041+
'%Invalid value "'||l_bad_name||'" for context name. The name cannot contain "." (full stop/period) character. Context name ignored and fallback to auto-name "context_1"%'
10421042
);
10431043
ut.expect(l_actual).to_be_like(
10441044
'<ROWSET><ROW>'||

0 commit comments

Comments
 (0)