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
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
changed hard stop to "full stop/period"
  • Loading branch information
jgebal committed Oct 23, 2019
commit 0070cf8ed0bf6ed33cf395f19640d7d4823fcaf2
2 changes: 1 addition & 1 deletion docs/userguide/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ Context have following characteristics:
- context name must be unique within it's parent (suite or parent context)
- if context name is not unique within it's parent, context and it's entire content is excluded from execution
- context name should not contain spaces or special characters
- context name cannot contain a `.` (hard stop) character
- context name cannot contain a `.` (full stop/period) character
- contexts can be nested, so a context can be nested within another context
- suite/context can have multiple nested sibling contexts in it
- contexts can have their own `--%beforeall`, `--%beforeeach`, `--%afterall` and `--%aftereach` procedures
Expand Down
2 changes: 1 addition & 1 deletion source/core/ut_suite_builder.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ create or replace package body ut_suite_builder is
if regexp_like( l_context_name, '\.' ) or l_context_name is null then
if regexp_like( l_context_name, '\.' ) then
a_suite.put_warning(
'Invalid value "'||l_context_name||'" for context name. The name cannot contain "." (hard stop) character.' ||
'Invalid value "'||l_context_name||'" for context name. The name cannot contain "." (full stop/period) character.' ||
' Context name ignored and fallback to auto-name "'||gc_context||'_'||l_context_no||'" ' ||
get_object_reference( a_suite, null, l_context_pos )
);
Expand Down
2 changes: 1 addition & 1 deletion test/ut3_tester/core/test_suite_builder.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ create or replace package body test_suite_builder is
l_actual := invoke_builder_for_annotations(l_annotations, 'SOME_PACKAGE');
--Assert
ut.expect(l_actual).to_be_like(
'%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"%'
'%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"%'
);
ut.expect(l_actual).to_be_like(
'<ROWSET><ROW>'||
Expand Down