From 12855bf2b49d3cfd12ea4c04a2f075763dcfe406 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 17 Oct 2024 16:41:49 -0400 Subject: [PATCH] Regenerate Make-managed files References: * https://github.com/ucoProject/UCO/issues/549 * https://github.com/ucoProject/UCO/issues/629 Signed-off-by: Alex Nelson --- .../object_status_XFAIL_validation.ttl | 30 ++++--------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/tests/examples/object_status_XFAIL_validation.ttl b/tests/examples/object_status_XFAIL_validation.ttl index b84dd57b..57a35e5f 100644 --- a/tests/examples/object_status_XFAIL_validation.ttl +++ b/tests/examples/object_status_XFAIL_validation.ttl @@ -21,36 +21,16 @@ [ a sh:ValidationResult ; sh:focusNode ; - sh:resultMessage "Value Literal(\"Initial draft\") not in list ['Literal(\"Draft\" = None, datatype=core:ObjectStatusVocab)', 'Literal(\"Final\" = None, datatype=core:ObjectStatusVocab)', 'Literal(\"Deprecated\" = None, datatype=core:ObjectStatusVocab)']" ; + sh:resultMessage "Value Literal(\"Initial draft\") not in list ['Literal(\"Draft\")', 'Literal(\"Final\")', 'Literal(\"Deprecated\")']" ; sh:resultPath core:objectStatus ; sh:resultSeverity sh:Violation ; sh:sourceConstraintComponent sh:InConstraintComponent ; sh:sourceShape [ - sh:datatype core:ObjectStatusVocab ; + sh:datatype xsd:string ; sh:in ( - "Draft"^^core:ObjectStatusVocab - "Final"^^core:ObjectStatusVocab - "Deprecated"^^core:ObjectStatusVocab - ) ; - sh:maxCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path core:objectStatus ; - ] ; - sh:value "Initial draft" ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode ; - sh:resultMessage "Value is not Literal with datatype core:ObjectStatusVocab" ; - sh:resultPath core:objectStatus ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:DatatypeConstraintComponent ; - sh:sourceShape [ - sh:datatype core:ObjectStatusVocab ; - sh:in ( - "Draft"^^core:ObjectStatusVocab - "Final"^^core:ObjectStatusVocab - "Deprecated"^^core:ObjectStatusVocab + "Draft" + "Final" + "Deprecated" ) ; sh:maxCount "1"^^xsd:integer ; sh:nodeKind sh:Literal ;