Skip to content

Commit

Permalink
Edit constraint name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabeblis committed Sep 5, 2024
1 parent fe00d42 commit 3ca13e8
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 18 deletions.
6 changes: 3 additions & 3 deletions features/fedramp_extensions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Examples:
| interconnection-security-PASS.yaml |
| privilege-level-FAIL.yaml |
| privilege-level-PASS.yaml |
| resource-has-rlink-FAIL.yaml |
| resource-has-rlink-PASS.yaml |
| resource-has-base64-or-rlink-FAIL.yaml |
| resource-has-base64-or-rlink-PASS.yaml |
| resource-has-title-FAIL.yaml |
| resource-has-title-PASS.yaml |
| response-point-FAIL.yaml |
Expand Down Expand Up @@ -74,7 +74,7 @@ Examples:
| interconnection-security |
| privilege-level |
| prop-response-point-has-cardinality-one |
| resource-has-rlink |
| resource-has-base64-or-rlink |
| resource-has-title |
| scan-type |
| user-type |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<expect id="resource-has-title" target="back-matter/resource" test="title" level="WARNING">
<message>Every supporting artifact found in a citation should have a title.</message>
</expect>
<expect id="resource-has-rlink" target="back-matter/resource" test="count(./rlink) >= 1 or count(./base64) >= 1" level="WARNING">
<expect id="resource-has-base64-or-rlink" target="back-matter/resource" test="count(./rlink) >= 1 or count(./base64) >= 1" level="WARNING">
<message>Every supporting artifact found in a citation must have at least one base64 or rlink element.</message>
</expect>
</constraints>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
test-case:
name: Negative Test for resource-has-base64-or-rlink
description: >-
This test case validates the behavior of constraint
resource-has-base64-or-rlink
content: ../content/ssp-all-INVALID.xml
expectations:
- constraint-id: resource-has-base64-or-rlink
result: fail
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
test-case:
name: Positive Test for resource-has-base64-or-rlink
description: >-
This test case validates the behavior of constraint
resource-has-base64-or-rlink
content: ../content/ssp-all-VALID.xml
expectations:
- constraint-id: resource-has-base64-or-rlink
result: pass

This file was deleted.

This file was deleted.

0 comments on commit 3ca13e8

Please sign in to comment.