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

Skip to content

Commit 1e79ff7

Browse files
committed
renamed disable annotation to disabled
1 parent 6a061ed commit 1e79ff7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/userguide/annotations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ create or replace package test_pkg is
3838

3939
-- %test
4040
-- %displayname(Name of test3)
41-
-- %disable
41+
-- %disabled
4242
procedure test3;
4343

4444
-- %test(Name of test4)
@@ -73,4 +73,4 @@ end test_pkg;
7373
| `%beforetest(<procedure_name>)` | Procedure | Denotes that mentioned procedure should be executed before the annotated `%test` procedure. |
7474
| `%aftertest(<procedure_name>)` | Procedure | Denotes that mentioned procedure should be executed after the annotated `%test` procedure. |
7575
| `%rollback(<type>)` | Package/procedure | Configure transaction control behaviour (type). Supported values: `auto`(default) - rollback to savepoint (before the test/suite setup) is issued after each test/suite teardown; `manual` - rollback is never issued automatically. Property can be overridden for child element (test in suite) |
76-
| `%disable` | Package/procedure | Used to disable a suite or a test |
76+
| `%disabled` | Package/procedure | Used to disable a suite or a test |

examples/between_string/test_betwnstr.pkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ create or replace package test_betwnstr as
1515
procedure null_string;
1616

1717
-- %test(Demo of a disabled test)
18-
-- %disable
18+
-- %disabled
1919
procedure disabled_test;
2020

2121
end;

source/core/ut_suite_manager.pkb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ create or replace package body ut_suite_manager is
102102
a_path => l_suite_path, --a patch for this suite (excluding the package name of current suite)
103103
a_description => l_suite_name,
104104
a_rollback_type => l_suite_rollback,
105-
a_ignore_flag => l_annotation_data.package_annotations.exists('disable'),
105+
a_ignore_flag => l_annotation_data.package_annotations.exists('disabled'),
106106
a_before_all_proc_name => l_suite_setup_proc,
107107
a_after_all_proc_name => l_suite_teardown_proc,
108108
a_before_each_proc_name => l_default_setup_proc,
@@ -156,7 +156,7 @@ create or replace package body ut_suite_manager is
156156
a_description => l_displayname,
157157
a_path => l_suite.path || '.' || l_proc_name,
158158
a_rollback_type => l_rollback_type,
159-
a_ignore_flag => l_proc_annotations.exists('disable'),
159+
a_ignore_flag => l_proc_annotations.exists('disabled'),
160160
a_before_test_proc_name => l_setup_procedure,
161161
a_after_test_proc_name => l_teardown_procedure
162162
);

0 commit comments

Comments
 (0)