added some of my own tests

This commit is contained in:
jez 2007-11-20 23:06:59 +00:00
parent a0083c14d2
commit 491b6c9739
10 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,39 @@
<test-suite>
<test-catalog submitter="Arabica">
<creator>JezUK</creator>
<major-path>arabica</major-path>
<date>2007-11-20</date>
<test-case id="error01">
<file-path>errors</file-path>
<purpose>xsl:stylesheet within xsl:stylesheet should fail</purpose>
<scenario operation="execution-error">
<input-file role="principal-data">data.xml</input-file>
<input-file role="principal-stylesheet">error01.xsl</input-file>
</scenario>
</test-case>
<test-case id="error02">
<file-path>errors</file-path>
<purpose>xsl:stylesheet within xsl:stylesheet should fail</purpose>
<scenario operation="execution-error">
<input-file role="principal-data">data.xml</input-file>
<input-file role="principal-stylesheet">error02.xsl</input-file>
</scenario>
</test-case>
<test-case id="include01">
<file-path>include</file-path>
<scenario operation="standard">
<input-file role="principal-data">data.xml</input-file>
<input-file role="principal-stylesheet">include01.xsl</input-file>
<output-file role="principal" compare="XML">include01.out</output-file>
</scenario>
</test-case>
<test-case id="include02">
<file-path>include</file-path>
<scenario operation="standard">
<input-file role="principal-data">data.xml</input-file>
<input-file role="principal-stylesheet">include02.xsl</input-file>
<output-file role="principal" compare="XML">include02.out</output-file>
</scenario>
</test-case>
</test-catalog>
</test-suite>

View file

@ -0,0 +1 @@
<yay/>

View file

@ -0,0 +1 @@
<yay/>

View file

@ -0,0 +1 @@
<data/>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
<xsl:stylesheet version="1.0"/>
<xsl:template match="/">
<oh-dear/>
</xsl:template>
</xsl:stylesheet>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
<xsl:include href="error01.xsl"/>
<xsl:template match="/">
<whoops/>
</xsl:template>
</xsl:stylesheet>

View file

@ -0,0 +1 @@
<data/>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
<xsl:include href="include01inc.xsl"/>
</xsl:stylesheet>

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
<xsl:template match="/">
<yay/>
</xsl:template>
</xsl:stylesheet>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml"/>
<xsl:include href="include01.xsl"/>
</xsl:stylesheet>