Skip to content

Commit

Permalink
Merge pull request #754 from ndw/nw-err-tests
Browse files Browse the repository at this point in the history
Updated loop tests
  • Loading branch information
ndw authored Nov 11, 2024
2 parents 6485b5e + b110e0a commit f95a3f1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 82 deletions.
19 changes: 17 additions & 2 deletions test-suite/tests/nw-err-xs0001-002.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<t:info>
<t:title>Test err:XS0001 002</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-11-11</t:date>
<t:author>
<t:name>Norman Walsh</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Fixed test. Atomic steps can self-referentially refer to their own output.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2018-10-16</t:date>
<t:author>
Expand All @@ -22,9 +31,15 @@

<t:pipeline>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:identity name="step">
<p:identity name="step-a">
<p:with-input port="source">
<p:pipe step="step-b" port="result"/>
</p:with-input>
</p:identity>

<p:identity name="step-b">
<p:with-input port="source">
<p:pipe step="step" port="result"/>
<p:pipe step="step-a" port="result"/>
</p:with-input>
</p:identity>
</p:declare-step>
Expand Down
17 changes: 14 additions & 3 deletions test-suite/tests/nw-err-xs0001-003.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<t:info>
<t:title>Test err:XS0001 003</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-11-11</t:date>
<t:author>
<t:name>Norman Walsh</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Fixed test. Atomic steps can self-referentially refer to their own output.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2018-10-16</t:date>
<t:author>
Expand All @@ -22,11 +31,13 @@

<t:pipeline>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:count name="step">
<p:with-option name="limit" select="10">
<p:pipe step="step" port="result"/>
<p:input port="source"/>
<p:count name="step-a">
<p:with-option name="limit" select="count(/*)">
<p:pipe step="step-b" port="result"/>
</p:with-option>
</p:count>
<p:identity name="step-b"/>
</p:declare-step>
</t:pipeline>
</t:test>
43 changes: 0 additions & 43 deletions test-suite/tests/nw-err-xs0001-005.xml

This file was deleted.

34 changes: 0 additions & 34 deletions test-suite/tests/nw-err-xs0001-007.xml

This file was deleted.

0 comments on commit f95a3f1

Please sign in to comment.