mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
(chore) Integration Testing acceptMatch functionality
This commit is contained in:
parent
65ed945602
commit
245d7d4cac
6 changed files with 30 additions and 6 deletions
|
|
@ -2,5 +2,7 @@
|
|||
|
||||
<foo xmlns="http://validator.kosit.de/test-sample">
|
||||
<inner>asldkfj</inner>
|
||||
<content></content>
|
||||
<content>
|
||||
<rejected/>
|
||||
</content>
|
||||
</foo>
|
||||
|
|
@ -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>
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
<location>report.xsl</location>
|
||||
</resource>
|
||||
</createReport>
|
||||
<acceptMatch>count(//cri:xmlSyntaxError) = 0</acceptMatch>
|
||||
<acceptMatch>count(//test:rejected) = 0</acceptMatch>
|
||||
</scenario>
|
||||
|
||||
<scenario>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue