Skip to content

Commit e3a91de

Browse files
committed
chore: remove result messages from tests
1 parent 832bcc8 commit e3a91de

File tree

8 files changed

+0
-28
lines changed

8 files changed

+0
-28
lines changed

shacl12-test-suite/tests/core/node/maxListLength-001.ttl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ ex:list1
4545
sh:result [
4646
rdf:type sh:ValidationResult ;
4747
sh:focusNode ex:list1 ;
48-
sh:resultMessage "List has length 3, but maximum allowed length is 2." ;
4948
sh:resultSeverity sh:Violation ;
5049
sh:sourceConstraintComponent sh:MaxListLengthConstraintComponent ;
5150
sh:sourceShape ex:ListShape ;
@@ -54,7 +53,6 @@ ex:list1
5453
sh:result [
5554
rdf:type sh:ValidationResult ;
5655
sh:focusNode ex:notAList ;
57-
sh:resultMessage "Value is a malformed SHACL List. ex:notAList is missing rdf:first and rdf:rest properties." ;
5856
sh:resultSeverity sh:Violation ;
5957
sh:sourceConstraintComponent sh:MaxListLengthConstraintComponent ;
6058
sh:sourceShape ex:ListShape ;

shacl12-test-suite/tests/core/node/memberShape-001.ttl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,12 @@ ex:list10
9393
sh:result [
9494
rdf:type sh:ValidationResult ;
9595
sh:focusNode ex:list2 ;
96-
sh:resultMessage "Value does not conform to Shape ex:IRIListShape. See details for more information." ;
9796
sh:resultSeverity sh:Violation ;
9897
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
9998
sh:sourceShape ex:IRIListShape ;
10099
sh:detail [
101100
rdf:type sh:ValidationResult ;
102101
sh:focusNode "Bob" ;
103-
sh:resultMessage "Value is not of Node Kind sh:IRI" ;
104102
sh:resultSeverity sh:Violation ;
105103
sh:sourceConstraintComponent sh:NodeKindConstraintComponent ;
106104
sh:sourceShape ex:IRIShape ;
@@ -110,7 +108,6 @@ ex:list10
110108
sh:result [
111109
rdf:type sh:ValidationResult ;
112110
sh:focusNode ex:list3 ;
113-
sh:resultMessage "Value is a malformed SHACL List. ex:list3 is missing rdf:first and rdf:rest properties." ;
114111
sh:resultSeverity sh:Violation ;
115112
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
116113
sh:sourceShape ex:IRIListShape ;
@@ -119,7 +116,6 @@ ex:list10
119116
sh:result [
120117
rdf:type sh:ValidationResult ;
121118
sh:focusNode ex:list4 ;
122-
sh:resultMessage "Value is a malformed SHACL List. ex:list4 is missing rdf:rest property." ;
123119
sh:resultSeverity sh:Violation ;
124120
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
125121
sh:sourceShape ex:IRIListShape ;
@@ -128,22 +124,19 @@ ex:list10
128124
sh:result [
129125
rdf:type sh:ValidationResult ;
130126
sh:focusNode ex:list5 ;
131-
sh:resultMessage "Value does not conform to Shape ex:IRIListShape. See details for more information." ;
132127
sh:resultSeverity sh:Violation ;
133128
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
134129
sh:sourceShape ex:IRIListShape ;
135130
sh:detail [
136131
rdf:type sh:ValidationResult ;
137132
sh:focusNode "Charlie" ;
138-
sh:resultMessage "Value is not of Node Kind sh:IRI" ;
139133
sh:resultSeverity sh:Violation ;
140134
sh:sourceConstraintComponent sh:NodeKindConstraintComponent ;
141135
sh:sourceShape ex:IRIShape ;
142136
sh:value "Charlie" ;
143137
], [
144138
rdf:type sh:ValidationResult ;
145139
sh:focusNode "Donna" ;
146-
sh:resultMessage "Value is not of Node Kind sh:IRI" ;
147140
sh:resultSeverity sh:Violation ;
148141
sh:sourceConstraintComponent sh:NodeKindConstraintComponent ;
149142
sh:sourceShape ex:IRIShape ;
@@ -153,7 +146,6 @@ ex:list10
153146
sh:result [
154147
rdf:type sh:ValidationResult ;
155148
sh:focusNode ex:list6 ;
156-
sh:resultMessage "Value is a malformed SHACL List. ex:list6 is missing rdf:rest property." ;
157149
sh:resultSeverity sh:Violation ;
158150
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
159151
sh:sourceShape ex:IRIListShape ;
@@ -162,7 +154,6 @@ ex:list10
162154
sh:result [
163155
rdf:type sh:ValidationResult ;
164156
sh:focusNode ex:list7 ;
165-
sh:resultMessage "Value is a malformed SHACL List. ex:list8 is missing rdf:first and rdf:rest property." ;
166157
sh:resultSeverity sh:Violation ;
167158
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
168159
sh:sourceShape ex:IRIListShape ;
@@ -171,7 +162,6 @@ ex:list10
171162
sh:result [
172163
rdf:type sh:ValidationResult ;
173164
sh:focusNode ex:list9 ;
174-
sh:resultMessage "Value is a malformed SHACL List. A list cannot have itself in the rdf:rest+ path. List ex:list9 follows from ex:list10." ;
175165
sh:resultSeverity sh:Violation ;
176166
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
177167
sh:sourceShape ex:IRIListShape ;

shacl12-test-suite/tests/core/node/minListLength-001.ttl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ ex:list0
4141
sh:result [
4242
rdf:type sh:ValidationResult ;
4343
sh:focusNode rdf:nil ;
44-
sh:resultMessage "List has length 0, but minimum required length is 1." ;
4544
sh:resultSeverity sh:Violation ;
4645
sh:sourceConstraintComponent sh:MinListLengthConstraintComponent ;
4746
sh:sourceShape ex:ListShape ;
4847
] ;
4948
sh:result [
5049
rdf:type sh:ValidationResult ;
5150
sh:focusNode ex:notAList ;
52-
sh:resultMessage "Value is a malformed SHACL List. ex:notAList is missing rdf:first and rdf:rest properties." ;
5351
sh:resultSeverity sh:Violation ;
5452
sh:sourceConstraintComponent sh:MinListLengthConstraintComponent ;
5553
sh:sourceShape ex:ListShape ;

shacl12-test-suite/tests/core/node/uniqueMembers-001.ttl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,19 @@ ex:list1
4545
sh:result [
4646
rdf:type sh:ValidationResult ;
4747
sh:focusNode ex:list1 ;
48-
sh:resultMessage "Value does not conform to Shape ex:ListShape. See details for more information." ;
4948
sh:resultSeverity sh:Violation ;
5049
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
5150
sh:sourceShape ex:ListShape ;
5251
sh:detail [
5352
rdf:type sh:ValidationResult ;
5453
sh:focusNode ex:list1 ;
55-
sh:resultMessage "List is required to have unique elements. Two occurences of '\"1\"^^xsd:integer' found." ;
5654
sh:resultSeverity sh:Violation ;
5755
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
5856
sh:sourceShape ex:ListShape ;
5957
sh:value 1 ;
6058
], [
6159
rdf:type sh:ValidationResult ;
6260
sh:focusNode ex:list1 ;
63-
sh:resultMessage "List is required to have unique elements. Three occurences of '\"2\"^^xsd:integer' found." ;
6461
sh:resultSeverity sh:Violation ;
6562
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
6663
sh:sourceShape ex:ListShape ;
@@ -70,7 +67,6 @@ ex:list1
7067
sh:result [
7168
rdf:type sh:ValidationResult ;
7269
sh:focusNode ex:notAList ;
73-
sh:resultMessage "Value is a malformed SHACL List. ex:notAList is missing rdf:first and rdf:rest properties." ;
7470
sh:resultSeverity sh:Violation ;
7571
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
7672
sh:sourceShape ex:ListShape ;

shacl12-test-suite/tests/core/property/maxListLength-001.ttl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ _:b1
6363
sh:result [
6464
rdf:type sh:ValidationResult ;
6565
sh:focusNode ex:person3 ;
66-
sh:resultMessage "List has length 3, but maximum allowed length is 2." ;
6766
sh:resultPath ex:hobbies ;
6867
sh:resultSeverity sh:Violation ;
6968
sh:sourceConstraintComponent sh:MaxListLengthConstraintComponent ;
@@ -73,7 +72,6 @@ _:b1
7372
sh:result [
7473
rdf:type sh:ValidationResult ;
7574
sh:focusNode ex:person4 ;
76-
sh:resultMessage "Value is a malformed SHACL List. ex:notAList is missing rdf:first and rdf:rest properties." ;
7775
sh:resultPath ex:hobbies ;
7876
sh:resultSeverity sh:Violation ;
7977
sh:sourceConstraintComponent sh:MaxListLengthConstraintComponent ;

shacl12-test-suite/tests/core/property/memberShape-001.ttl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ _:b1
6868
sh:result [
6969
rdf:type sh:ValidationResult ;
7070
sh:focusNode ex:list2 ;
71-
sh:resultMessage "Value does not conform to Shape ex:TestShape. See details for more information." ;
7271
sh:resultPath ex:testProperty ;
7372
sh:resultSeverity sh:Violation ;
7473
sh:sourceConstraintComponent sh:MemberShapeConstraintComponent ;
@@ -77,7 +76,6 @@ _:b1
7776
sh:detail [
7877
rdf:type sh:ValidationResult ;
7978
sh:focusNode _:bc ;
80-
sh:resultMessage "Value is not of Node Kind sh:IRI" ;
8179
sh:resultSeverity sh:Violation ;
8280
sh:sourceConstraintComponent sh:NodeKindConstraintComponent ;
8381
sh:sourceShape ex:IRIShape ;

shacl12-test-suite/tests/core/property/minListLength-001.ttl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ ex:person3
5454
sh:result [
5555
rdf:type sh:ValidationResult ;
5656
sh:focusNode ex:person2 ;
57-
sh:resultMessage "List has length 0, but minimum required length is 1." ;
5857
sh:resultPath ex:skills ;
5958
sh:resultSeverity sh:Violation ;
6059
sh:sourceConstraintComponent sh:MinListLengthConstraintComponent ;
@@ -64,7 +63,6 @@ ex:person3
6463
sh:result [
6564
rdf:type sh:ValidationResult ;
6665
sh:focusNode ex:person3 ;
67-
sh:resultMessage "Value is a malformed SHACL List. ex:notAList is missing rdf:first and rdf:rest properties." ;
6866
sh:resultPath ex:skills ;
6967
sh:resultSeverity sh:Violation ;
7068
sh:sourceConstraintComponent sh:MinListLengthConstraintComponent ;

shacl12-test-suite/tests/core/property/uniqueMembers-001.ttl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ _:b1
6363
sh:result [
6464
rdf:type sh:ValidationResult ;
6565
sh:focusNode ex:person3 ;
66-
sh:resultMessage "Value does not conform to Shape ex:PersonShape. See details for more information." ;
6766
sh:resultPath ex:preferences ;
6867
sh:resultSeverity sh:Violation ;
6968
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
@@ -72,7 +71,6 @@ _:b1
7271
sh:detail [
7372
rdf:type sh:ValidationResult ;
7473
sh:focusNode ex:person3 ;
75-
sh:resultMessage "List is required to have unique elements. Two occurences of '\"coffee\"' found." ;
7674
sh:resultPath ex:preferences ;
7775
sh:resultSeverity sh:Violation ;
7876
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
@@ -81,7 +79,6 @@ _:b1
8179
], [
8280
rdf:type sh:ValidationResult ;
8381
sh:focusNode ex:person3 ;
84-
sh:resultMessage "List is required to have unique elements. Three occurences of '\"tea\"' found." ;
8582
sh:resultPath ex:preferences ;
8683
sh:resultSeverity sh:Violation ;
8784
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;
@@ -92,7 +89,6 @@ _:b1
9289
sh:result [
9390
rdf:type sh:ValidationResult ;
9491
sh:focusNode ex:person4 ;
95-
sh:resultMessage "Value is a malformed SHACL List. ex:notAList is missing rdf:first and rdf:rest properties." ;
9692
sh:resultPath ex:preferences ;
9793
sh:resultSeverity sh:Violation ;
9894
sh:sourceConstraintComponent sh:UniqueMembersConstraintComponent ;

0 commit comments

Comments
 (0)