Quietly fix some mode tests, where the mode was not public but used in a package
authorabraaksm
Tue, 09 Feb 2016 03:08:12 +0100
changeset 1219 0536311c1b31
parent 1218 1c93120087e2
child 1220 de6f62f225d8
Quietly fix some mode tests, where the mode was not public but used in a package
tests/attr/mode/_mode-test-set.xml
tests/attr/mode/mode-1507.xsl
tests/attr/mode/mode-1705.xsl
tests/attr/mode/mode-1707.xsl
tests/attr/mode/mode-1710.xsl
tests/attr/mode/mode-1712.xsl
--- a/tests/attr/mode/_mode-test-set.xml	Tue Feb 09 03:06:43 2016 +0100
+++ b/tests/attr/mode/_mode-test-set.xml	Tue Feb 09 03:08:12 2016 +0100
@@ -2268,7 +2268,6 @@
       </dependencies>
       <test>
          <package file="mode-1701.xsl" role="principal"/>
-         <initial-mode name="a"/>
       </test>
       <result>
          <assert>/ok</assert>
@@ -2284,7 +2283,6 @@
       </dependencies>
       <test>
          <package file="mode-1702.xsl" role="principal"/>
-         <initial-mode name="a"/>
       </test>
       <result>
          <assert>/ok</assert>
--- a/tests/attr/mode/mode-1507.xsl	Tue Feb 09 03:06:43 2016 +0100
+++ b/tests/attr/mode/mode-1507.xsl	Tue Feb 09 03:08:12 2016 +0100
@@ -6,7 +6,7 @@
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   exclude-result-prefixes="xs">
   
-  <xsl:mode visibility="public"/>
+  <xsl:mode visibility="public" />
   
   <xsl:template match="unstreamable" name="main">
     <xsl:value-of select="a+b+c"/>
--- a/tests/attr/mode/mode-1705.xsl	Tue Feb 09 03:06:43 2016 +0100
+++ b/tests/attr/mode/mode-1705.xsl	Tue Feb 09 03:08:12 2016 +0100
@@ -7,7 +7,7 @@
   declared-modes="yes"
   default-mode="a">
   
-  <xsl:mode name="a"/>
+  <xsl:mode name="a" visibility="public"/>
   <xsl:mode/>  
 
   <xsl:template match="/">
--- a/tests/attr/mode/mode-1707.xsl	Tue Feb 09 03:06:43 2016 +0100
+++ b/tests/attr/mode/mode-1707.xsl	Tue Feb 09 03:08:12 2016 +0100
@@ -5,7 +5,7 @@
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   exclude-result-prefixes="xs">
   
-  <xsl:mode name="a"/>
+  <xsl:mode name="a" visibility="public"/>
   <xsl:mode/>  
   
   <xsl:template match="/" default-mode="a">
--- a/tests/attr/mode/mode-1710.xsl	Tue Feb 09 03:06:43 2016 +0100
+++ b/tests/attr/mode/mode-1710.xsl	Tue Feb 09 03:08:12 2016 +0100
@@ -6,7 +6,7 @@
   exclude-result-prefixes="xs"
   default-mode="a">
   
-  <xsl:mode name="a"/>
+  <xsl:mode name="a" visibility="public"/>
   <xsl:mode/>  
   
   <xsl:template match="/">
--- a/tests/attr/mode/mode-1712.xsl	Tue Feb 09 03:06:43 2016 +0100
+++ b/tests/attr/mode/mode-1712.xsl	Tue Feb 09 03:08:12 2016 +0100
@@ -6,7 +6,7 @@
   exclude-result-prefixes="xs"
   default-mode="a">
   
-  <xsl:mode name="a"/>
+  <xsl:mode name="a" visibility="public"/>
   <xsl:mode/>  
   
   <xsl:template match="/">