- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 16 Nov 2006 23:08:26 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite In directory hutz:/tmp/cvs-serv13606/test-suite Modified Files: build.xml missing-roots.xsl Log Message: Check for missing WSDL root documents in test suite. Index: missing-roots.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/missing-roots.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -C 2 -d -r1.1 -r1.2 *** missing-roots.xsl 16 Nov 2006 18:38:05 -0000 1.1 --- missing-roots.xsl 16 Nov 2006 23:08:24 -0000 1.2 *************** *** 1,6 **** <?xml version="1.0" encoding="UTF-8"?> <!-- ! This stylesheet has not been automatically generated. Do ! edit it! --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" --- 1,10 ---- <?xml version="1.0" encoding="UTF-8"?> <!-- ! Checks TestMetadata.xml for presence of root WSDL document. ! ! ChangeLog: ! ! 2006-11-17: Arthur Ryman (ryman@ca.ibm.com) ! - created --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" *************** *** 18,23 **** select="document(@href)/tm:TestMetadata//tm:Inputs"> <xsl:if test="not(tm:Input[@role='root'])"> ! <MissingRoot test-id='{$test-id}'> ! </MissingRoot> </xsl:if> </xsl:for-each> --- 22,30 ---- select="document(@href)/tm:TestMetadata//tm:Inputs"> <xsl:if test="not(tm:Input[@role='root'])"> ! <xsl:message> ! <xsl:text>Error: Missing role='root' attribute on Input in TestMetadata.xml for test case </xsl:text> ! <xsl:value-of select="$test-id" /> ! </xsl:message> ! <MissingRoot test-id='{$test-id}' /> </xsl:if> </xsl:for-each> Index: build.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/build.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -C 2 -d -r1.32 -r1.33 *** build.xml 16 Nov 2006 16:57:35 -0000 1.32 --- build.xml 16 Nov 2006 23:08:24 -0000 1.33 *************** *** 37,41 **** <project name="WSDL 2.0 Test Suite" default="main" basedir="."> ! <target name="main" depends="schemavalidate-all, zips" description="Schema validates all documents." /> <target name="zips" depends="" description="Creates zip files for test cases for easy downloading."> --- 37,41 ---- <project name="WSDL 2.0 Test Suite" default="main" basedir="."> ! <target name="main" depends="missing-roots,schemavalidate-all, zips" description="Schema validates all documents." /> <target name="zips" depends="" description="Creates zip files for test cases for easy downloading.">
Received on Thursday, 16 November 2006 23:08:52 UTC