Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
75da6cc0
Commit
75da6cc0
authored
Feb 25, 2021
by
Matthias Betz
Browse files
fixed test files for renaming SEM to SE
parent
2384c84d
Pipeline
#1999
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/test/resources/schematronTest.xml
View file @
75da6cc0
...
...
@@ -5,13 +5,13 @@
<pattern>
<rule
context=
"//*:Building"
>
<assert
test=
"count(*:lod2Solid) = 1"
><value-of
select=
"@gml:id | @id"
/>
||||SE
M
_ATTRIBUTE_MISSING||lod1Solid||false
</assert>
<assert
test=
"count(*:yearOfConstruction) >= 1"
><value-of
select=
"@gml:id | @id"
/>
||||SE
M
_ATTRIBUTE_MISSING||yearOfConstruction||false
</assert>
<assert
test=
"count(*:function) = 1"
><value-of
select=
"@gml:id | @id"
/>
||||SE
M
_ATTRIBUTE_MISSING||function||false
</assert>
<assert
test=
"*:doubleAttribute[@name = 'Volume'] > 0 and *:doubleAttribute[@name = 'Volume'] < 5000"
><value-of
select=
"@gml:id | @id"
/>
||||SE
M
_ATTRIBUTE_WRONG_VALUE||volume||true
</assert>
<assert
test=
"count(*:lod2Solid) = 1"
><value-of
select=
"@gml:id | @id"
/>
||||SE_ATTRIBUTE_MISSING||lod1Solid||false
</assert>
<assert
test=
"count(*:yearOfConstruction) >= 1"
><value-of
select=
"@gml:id | @id"
/>
||||SE_ATTRIBUTE_MISSING||yearOfConstruction||false
</assert>
<assert
test=
"count(*:function) = 1"
><value-of
select=
"@gml:id | @id"
/>
||||SE_ATTRIBUTE_MISSING||function||false
</assert>
<assert
test=
"*:doubleAttribute[@name = 'Volume'] > 0 and *:doubleAttribute[@name = 'Volume'] < 5000"
><value-of
select=
"@gml:id | @id"
/>
||||SE_ATTRIBUTE_WRONG_VALUE||volume||true
</assert>
</rule>
<rule
context=
"//*:Building//*:RoofSurface"
>
<assert
test=
"count(function) = 1"
><value-of
select=
"ancestor::*:Building/@*:id"
/>
||
<value-of
select=
"@gml:id | @id"
/>
||SE
M
_ATTRIBUTE_MISSING||function||false
</assert>
<assert
test=
"count(function) = 1"
><value-of
select=
"ancestor::*:Building/@*:id"
/>
||
<value-of
select=
"@gml:id | @id"
/>
||SE_ATTRIBUTE_MISSING||function||false
</assert>
</rule>
</pattern>
</schema>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment