forked from strictdoc-project/strictdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: edit node: fix a case when editing a custom node
Closes strictdoc-project#1928.
- Loading branch information
Showing
21 changed files
with
379 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
...t_validate_not_possible_parent_and_child_relation_same_uid/expected_output/document1.sdoc
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...t_validate_not_possible_parent_and_child_relation_same_uid/expected_output/document2.sdoc
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...requirement_validate_not_possible_parent_and_child_relation_same_uid/input/document1.sdoc
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...requirement_validate_not_possible_parent_and_child_relation_same_uid/input/document2.sdoc
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
.../create_requirement_validate_not_possible_parent_and_child_relation_same_uid/test_case.py
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
...y_elements/delete_node_delete_relation_between_two_custom_nodes/expected_output/doc1.sdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[DOCUMENT] | ||
TITLE: Test document #1 | ||
|
||
[GRAMMAR] | ||
ELEMENTS: | ||
- TAG: TEXT | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: True | ||
- TAG: RULE | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: TITLE | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: False | ||
RELATIONS: | ||
- TYPE: Parent | ||
ROLE: to trace objective | ||
|
||
[RULE] | ||
UID: RUL-1 | ||
TITLE: Rule #1 | ||
STATEMENT: >>> | ||
Rule #1 statement. | ||
<<< |
29 changes: 29 additions & 0 deletions
29
...y_elements/delete_node_delete_relation_between_two_custom_nodes/expected_output/doc2.sdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[DOCUMENT] | ||
TITLE: Test document #2 | ||
|
||
[GRAMMAR] | ||
ELEMENTS: | ||
- TAG: TEXT | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: True | ||
- TAG: OBJECTIVE | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: TITLE | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: False | ||
|
||
[OBJECTIVE] | ||
UID: OBJ-1 | ||
TITLE: Objective #1 | ||
STATEMENT: Objective #1 statement. |
38 changes: 38 additions & 0 deletions
38
.../_arbitrary_elements/delete_node_delete_relation_between_two_custom_nodes/input/doc1.sdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[DOCUMENT] | ||
TITLE: Test document #1 | ||
|
||
[GRAMMAR] | ||
ELEMENTS: | ||
- TAG: TEXT | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: True | ||
- TAG: RULE | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: TITLE | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: False | ||
RELATIONS: | ||
- TYPE: Parent | ||
ROLE: to trace objective | ||
|
||
[RULE] | ||
UID: RUL-1 | ||
TITLE: Rule #1 | ||
STATEMENT: >>> | ||
Rule #1 statement. | ||
<<< | ||
RELATIONS: | ||
- TYPE: Parent | ||
VALUE: OBJ-1 | ||
ROLE: to trace objective |
29 changes: 29 additions & 0 deletions
29
.../_arbitrary_elements/delete_node_delete_relation_between_two_custom_nodes/input/doc2.sdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[DOCUMENT] | ||
TITLE: Test document #2 | ||
|
||
[GRAMMAR] | ||
ELEMENTS: | ||
- TAG: TEXT | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: True | ||
- TAG: OBJECTIVE | ||
FIELDS: | ||
- TITLE: UID | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: TITLE | ||
TYPE: String | ||
REQUIRED: False | ||
- TITLE: STATEMENT | ||
TYPE: String | ||
REQUIRED: False | ||
|
||
[OBJECTIVE] | ||
UID: OBJ-1 | ||
TITLE: Objective #1 | ||
STATEMENT: Objective #1 statement. |
Oops, something went wrong.