-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add system-characteristics 'has-network-architecture' constraints (#707)
* Added constraints & tests * Corrected message
- Loading branch information
1 parent
1f831f9
commit 4180e7d
Showing
21 changed files
with
225 additions
and
0 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
7 changes: 7 additions & 0 deletions
7
src/validations/constraints/unit-tests/has-network-architecture-FAIL.yaml
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,7 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture | ||
description: This test case validates the behavior of constraint has-network-architecture | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture | ||
result: fail |
7 changes: 7 additions & 0 deletions
7
src/validations/constraints/unit-tests/has-network-architecture-PASS.yaml
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,7 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture | ||
description: This test case validates the behavior of constraint has-network-architecture | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-description-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-description | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-description | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-description | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-description-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-description | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-description | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-description | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-caption-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram-caption | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-caption | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-caption | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-caption-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram-caption | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-caption | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-caption | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
...validations/constraints/unit-tests/has-network-architecture-diagram-description-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram-description | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-description | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-description | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
...validations/constraints/unit-tests/has-network-architecture-diagram-description-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram-description | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-description | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-description | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-link-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram-link | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-link | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-link | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-link-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram-link | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-link | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-link | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram-link-rel | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-link-rel | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-link-rel | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram-link-rel | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-link-rel | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-link-rel | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
.../constraints/unit-tests/has-network-architecture-diagram-link-rel-allowed-value-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram-link-rel-allowed-value | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-link-rel-allowed-value | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-link-rel-allowed-value | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
.../constraints/unit-tests/has-network-architecture-diagram-link-rel-allowed-value-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram-link-rel-allowed-value | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-link-rel-allowed-value | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-link-rel-allowed-value | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-uuid-FAIL.yaml
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,9 @@ | ||
test-case: | ||
name: Negative Test for has-network-architecture-diagram-uuid | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-uuid | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-uuid | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-network-architecture-diagram-uuid-PASS.yaml
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,9 @@ | ||
test-case: | ||
name: Positive Test for has-network-architecture-diagram-uuid | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-network-architecture-diagram-uuid | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-network-architecture-diagram-uuid | ||
result: pass |