(chore) Integration Testing acceptMatch functionality

This commit is contained in:
Andreas Penski (init) 2020-03-23 13:22:38 +01:00
parent 65ed945602
commit 245d7d4cac
6 changed files with 30 additions and 6 deletions

View file

@ -2,5 +2,7 @@
<foo xmlns="http://validator.kosit.de/test-sample">
<inner>asldkfj</inner>
<content></content>
<content>
<rejected/>
</content>
</foo>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<simple xmlns="http://validator.kosit.de/test-sample">
<inner>asldkfj</inner>
<content>
<rejected>directly transferred, so this is part of the report</rejected>
</content>
</simple>

View file

@ -47,7 +47,7 @@
<location>report.xsl</location>
</resource>
</createReport>
<acceptMatch>count(//cri:xmlSyntaxError) = 0</acceptMatch>
<acceptMatch>count(//test:rejected) = 0</acceptMatch>
</scenario>
<scenario>