Sha256: 04841b401958e0e95d800e45c1a791862a1ca518ba6b510c87dcb06119b3913d

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!--  File:       test/unit-expect-xsl.xspec                               -->
<!--  Author:     Florent Georges                                          -->
<!--  Tags:                                                                -->
<!--    Copyright (c) 2010 Florent Georges (see end of file.)              -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--
    Test only the XSLT version.  It is very difficult to test the (textual)
    XQuery output.  Unless, of course, we use XQueryX...
-->
<t:description xmlns:t="http://www.jenitennison.com/xslt/xspec" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" stylesheet="../src/compiler/generate-xspec-tests.xsl">
  <!--
       TODO: Track down how it is transformed (named templated, rule
       in a mode, etc.) and test it explicitely...
   -->
  <t:scenario label="pending call">
    <t:context mode="t:compile">
      <t:param tunnel="yes" name="context"/>
      <t:param tunnel="yes" name="call"/>
      <t:expect test="false()"/>
    </t:context>
    <t:expect label="is a template" test="$t:result instance of element(xsl:template)"/>
    <t:expect label="@test must be transformed to @select" test="$t:result/xsl:variable[@name eq 'impl:test-result']/*/xsl:otherwise/*">
      <xsl:sequence select="false()" version="..."/>
    </t:expect>
  </t:scenario>
</t:description>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple-xspec-wrapper-0.3.0-java vendor/xspec-1.0.0/test/unit-expect-xsl.xspec
simple-xspec-wrapper-0.2.0-java vendor/xspec-1.0.0/test/unit-expect-xsl.xspec
simple-xspec-wrapper-0.1.0-java vendor/xspec-1.0.0/test/unit-expect-xsl.xspec