From 12bb512a063624998399ddfb1d7dc5f6f1740033 Mon Sep 17 00:00:00 2001 From: Gabeblis Date: Tue, 24 Sep 2024 21:08:38 +0000 Subject: [PATCH] Added separate invalid test data files --- ...ormation-type-has-availability-impact-INVALID.xml | 12 ++++++++++++ ...ation-type-has-confidentiality-impact-INVALID.xml | 12 ++++++++++++ ...information-type-has-integrity-impact-INVALID.xml | 12 ++++++++++++ ...nformation-type-has-availability-impact-FAIL.yaml | 2 +- ...rmation-type-has-confidentiality-impact-FAIL.yaml | 2 +- .../information-type-has-integrity-impact-FAIL.yaml | 2 +- 6 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 src/validations/constraints/content/ssp-information-type-has-availability-impact-INVALID.xml create mode 100644 src/validations/constraints/content/ssp-information-type-has-confidentiality-impact-INVALID.xml create mode 100644 src/validations/constraints/content/ssp-information-type-has-integrity-impact-INVALID.xml diff --git a/src/validations/constraints/content/ssp-information-type-has-availability-impact-INVALID.xml b/src/validations/constraints/content/ssp-information-type-has-availability-impact-INVALID.xml new file mode 100644 index 000000000..4763f1b47 --- /dev/null +++ b/src/validations/constraints/content/ssp-information-type-has-availability-impact-INVALID.xml @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/validations/constraints/content/ssp-information-type-has-confidentiality-impact-INVALID.xml b/src/validations/constraints/content/ssp-information-type-has-confidentiality-impact-INVALID.xml new file mode 100644 index 000000000..4763f1b47 --- /dev/null +++ b/src/validations/constraints/content/ssp-information-type-has-confidentiality-impact-INVALID.xml @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/validations/constraints/content/ssp-information-type-has-integrity-impact-INVALID.xml b/src/validations/constraints/content/ssp-information-type-has-integrity-impact-INVALID.xml new file mode 100644 index 000000000..4763f1b47 --- /dev/null +++ b/src/validations/constraints/content/ssp-information-type-has-integrity-impact-INVALID.xml @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/information-type-has-availability-impact-FAIL.yaml b/src/validations/constraints/unit-tests/information-type-has-availability-impact-FAIL.yaml index 000e22d4e..628418ed1 100644 --- a/src/validations/constraints/unit-tests/information-type-has-availability-impact-FAIL.yaml +++ b/src/validations/constraints/unit-tests/information-type-has-availability-impact-FAIL.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint information-type-has-availability-impact - content: ../content/ssp-all-INVALID.xml + content: ../content/ssp-information-type-has-availability-impact-INVALID.xml expectations: - constraint-id: information-type-has-availability-impact result: fail diff --git a/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-FAIL.yaml b/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-FAIL.yaml index c4863c603..279e049be 100644 --- a/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-FAIL.yaml +++ b/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-FAIL.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint information-type-has-confidentiality-impact - content: ../content/ssp-all-INVALID.xml + content: ../content/ssp-information-type-has-confidentiality-impact-INVALID.xml expectations: - constraint-id: information-type-has-confidentiality-impact result: fail diff --git a/src/validations/constraints/unit-tests/information-type-has-integrity-impact-FAIL.yaml b/src/validations/constraints/unit-tests/information-type-has-integrity-impact-FAIL.yaml index 0a30752af..c82605da3 100644 --- a/src/validations/constraints/unit-tests/information-type-has-integrity-impact-FAIL.yaml +++ b/src/validations/constraints/unit-tests/information-type-has-integrity-impact-FAIL.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint information-type-has-integrity-impact - content: ../content/ssp-all-INVALID.xml + content: ../content/ssp-information-type-has-integrity-impact-INVALID.xml expectations: - constraint-id: information-type-has-integrity-impact result: fail