Improve test metadata
authorMichael Kay <mike@saxonica.com>
Wed, 13 Jun 2018 12:30:26 +0100
changeset 1849 0b8c6efd9850
parent 1848 f9b1ca954a0e
child 1850 2d943e2bde09
Improve test metadata
tests/fn/transform/_transform-test-set.xml
--- a/tests/fn/transform/_transform-test-set.xml	Wed Jun 13 12:29:34 2018 +0100
+++ b/tests/fn/transform/_transform-test-set.xml	Wed Jun 13 12:30:26 2018 +0100
@@ -60,10 +60,12 @@
    <test-case name="transform-005">
       <description>fn:transform() invoking a named package</description>
       <created by="Michael Kay" on="2018-04-25"/>
+      <environment>
+         <package file="transform-005a.xsl" role="secondary" uri="http://transform-005a/" package-version="1.0.2"/>
+      </environment>
       <test>
          <stylesheet file="transform-005.xsl"/>
-         <initial-template name="main"/>
-         <package file="transform-005a.xsl" role="secondary" uri="http://transform-005a/" package-version="1.0.2"/>
+         <initial-template name="main"/>        
       </test>
       <result>
          <assert>/out/in</assert>
@@ -73,11 +75,13 @@
    <test-case name="transform-006">
       <description>fn:transform() selecting a named package by version range</description>
       <created by="Michael Kay" on="2018-04-25"/>
+      <environment>
+         <package file="transform-006a.xsl" role="secondary" uri="http://transform-006a/" package-version="1.0.5"/>
+         <package file="transform-006b.xsl" role="secondary" uri="http://transform-006a/" package-version="2.0"/>
+      </environment>
       <test>
          <stylesheet file="transform-006.xsl"/>
          <initial-template name="main"/>
-         <package file="transform-006a.xsl" role="secondary" uri="http://transform-006a/" package-version="1.0.5"/>
-         <package file="transform-006b.xsl" role="secondary" uri="http://transform-006a/" package-version="2.0"/>
       </test>
       <result>
          <assert>/out/in = '1.0.5'</assert>