- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 19 Jul 2006 23:21:25 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite In directory hutz:/tmp/cvs-serv9815/test-suite Modified Files: build-test-coverage.xml test-suite-reports.xml test-suite-reports.xsl test-suite-coverage-summary.xml coverage.xsl wsdl-coverage.xsl test-suite-coverage-summary.xsl Log Message: added document counts to test coverage report Index: test-suite-coverage-summary.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/test-suite-coverage-summary.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -C 2 -d -r1.14 -r1.15 *** test-suite-coverage-summary.xml 7 Jul 2006 14:12:45 -0000 1.14 --- test-suite-coverage-summary.xml 19 Jul 2006 23:21:23 -0000 1.15 *************** *** 1,23 **** <?xml version="1.0" encoding="UTF-8"?> ! <?xml-stylesheet type="text/xsl" href="coverage.xsl"?> <coverage> ! <item xpath="/wsdl:description//wsdl:documentation" count="61"/> ! <item xpath="/wsdl:description/wsdl:import" count="4"/> ! <item xpath="/wsdl:description/wsdl:import/@location" count="4"/> ! <item xpath="/wsdl:description/wsdl:include" count="4"/> ! <item xpath="/wsdl:description/wsdl:types" count="39"/> ! <item xpath="/wsdl:description/wsdl:types/xs:schema" count="33"/> ! <item xpath="/wsdl:description/wsdl:types/xs:import" count="7"/> ! <item xpath="/wsdl:description/wsdl:interface" count="56"/> ! <item xpath="/wsdl:description/wsdl:interface/@extends" count="5"/> ! <item xpath="/wsdl:description/wsdl:interface/@styleDefault" count="10"/> ! <item xpath="/wsdl:description/wsdl:interface[@styleDefault='http://www.w3.org/2006/01/wsdl/style/iri']" count="1"/> ! <item xpath="/wsdl:description/wsdl:interface[@styleDefault='http://www.w3.org/2006/01/wsdl/style/multipart']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface[@styleDefault='http://www.w3.org/2006/01/wsdl/style/rpc']" count="9"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:fault" count="5"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:fault/@element" count="5"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation" count="62"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/@wsdlx:safe" count="6"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/@wrpc:signature" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/@style" count="5"/> --- 1,34 ---- <?xml version="1.0" encoding="UTF-8"?> ! <?xml-stylesheet ! type="text/xsl" href="coverage.xsl" ! ?> <coverage> ! <DSTAMP>20060719</DSTAMP> ! <TSTAMP>1915</TSTAMP> ! <TODAY>July 19 2006</TODAY> ! <total>126</total> ! <good>60</good> ! <bad>66</bad> ! <item xpath="/wsdl:description//*/@wsdl:required" count="2"/> ! <item xpath="/wsdl:description//*[@wsdl:required='true']" count="1"/> ! <item xpath="/wsdl:description//*[@wsdl:required='false']" count="1"/> ! <item xpath="/wsdl:description//wsdl:documentation" count="129"/> ! <item xpath="/wsdl:description/wsdl:import" count="5"/> ! <item xpath="/wsdl:description/wsdl:import/@location" count="5"/> ! <item xpath="/wsdl:description/wsdl:include" count="6"/> ! <item xpath="/wsdl:description/wsdl:types" count="92"/> ! <item xpath="/wsdl:description/wsdl:types/xs:schema" count="86"/> ! <item xpath="/wsdl:description/wsdl:types/xs:import" count="13"/> ! <item xpath="/wsdl:description/wsdl:interface" count="122"/> ! <item xpath="/wsdl:description/wsdl:interface/@extends" count="11"/> ! <item xpath="/wsdl:description/wsdl:interface/@styleDefault" count="33"/> ! <item xpath="/wsdl:description/wsdl:interface[@styleDefault='http://www.w3.org/2006/01/wsdl/style/iri']" count="3"/> ! <item xpath="/wsdl:description/wsdl:interface[@styleDefault='http://www.w3.org/2006/01/wsdl/style/multipart']" count="1"/> ! <item xpath="/wsdl:description/wsdl:interface[@styleDefault='http://www.w3.org/2006/01/wsdl/style/rpc']" count="29"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:fault" count="11"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:fault/@element" count="11"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation" count="127"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/@wsdlx:safe" count="12"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/@wrpc:signature" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/@style" count="5"/> *************** *** 25,80 **** <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@style='http://www.w3.org/2006/01/wsdl/style/multipart']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@style='http://www.w3.org/2006/01/wsdl/style/rpc']" count="5"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/in-only']" count="4"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/robust-in-only']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/in-out']" count="56"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/in-opt-out']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/out-only']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/robust-out-only']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/out-in']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/out-opt-in']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input" count="60"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input/@messageLabel" count="28"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input/@element" count="59"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input[@element='#any']" count="1"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input[@element='#none']" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input[@element='#other']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output" count="56"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output/@messageLabel" count="24"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output/@element" count="56"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output[@element='#any']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output[@element='#none']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output[@element='#other']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:infault" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:infault/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:outfault" count="9"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:outfault/@messageLabel" count="9"/> ! <item xpath="/wsdl:description/wsdl:binding" count="22"/> ! <item xpath="/wsdl:description/wsdl:binding/@interface" count="12"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:fault" count="4"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation" count="19"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:input" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:input/@messageLabel" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:infault" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:infault/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:outfault" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:outfault/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:service" count="21"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint" count="22"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint/@address" count="9"/> ! <item xpath="/wsdl:description//wsdl:feature" count="5"/> ! <item xpath="/wsdl:description//wsdl:feature/@required" count="5"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:feature" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:feature" count="2"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:feature" count="2"/> <item xpath="/wsdl:description//wsdl:property" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/@wsoap:version" count="2"/> ! <item xpath="/wsdl:description/wsdl:binding/@wsoap:protocol" count="15"/> <item xpath="/wsdl:description/wsdl:binding/@wsoap:mepDefault" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsoap:module" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsoap:module/@ref" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsoap:module/@required" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@wsoap:code" count="3"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@wsoap:subcodes" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/wsoap:module" count="0"/> --- 36,91 ---- <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@style='http://www.w3.org/2006/01/wsdl/style/multipart']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@style='http://www.w3.org/2006/01/wsdl/style/rpc']" count="5"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/in-only']" count="5"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/robust-in-only']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/in-out']" count="117"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/in-opt-out']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/out-only']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/robust-out-only']" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/out-in']" count="0"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation[@pattern='http://www.w3.org/2006/01/wsdl/out-opt-in']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input" count="126"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input/@messageLabel" count="72"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input/@element" count="125"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input[@element='#any']" count="2"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input[@element='#none']" count="8"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:input[@element='#other']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output" count="122"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output/@messageLabel" count="67"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output/@element" count="122"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output[@element='#any']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output[@element='#none']" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:output[@element='#other']" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:infault" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:infault/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:outfault" count="13"/> ! <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:outfault/@messageLabel" count="11"/> ! <item xpath="/wsdl:description/wsdl:binding" count="49"/> ! <item xpath="/wsdl:description/wsdl:binding/@interface" count="33"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:fault" count="14"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation" count="45"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:input" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:input/@messageLabel" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:infault" count="1"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:infault/@messageLabel" count="1"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:outfault" count="1"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:outfault/@messageLabel" count="0"/> ! <item xpath="/wsdl:description/wsdl:service" count="40"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint" count="42"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint/@address" count="21"/> ! <item xpath="/wsdl:description//wsdl:feature" count="8"/> ! <item xpath="/wsdl:description//wsdl:feature/@required" count="6"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:feature" count="1"/> <item xpath="/wsdl:description/wsdl:interface/wsdl:operation/wsdl:feature" count="2"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:feature" count="4"/> <item xpath="/wsdl:description//wsdl:property" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/@wsoap:version" count="3"/> ! <item xpath="/wsdl:description/wsdl:binding/@wsoap:protocol" count="33"/> <item xpath="/wsdl:description/wsdl:binding/@wsoap:mepDefault" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsoap:module" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsoap:module/@ref" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsoap:module/@required" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@wsoap:code" count="5"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@wsoap:subcodes" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/wsoap:module" count="0"/> *************** *** 82,86 **** <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/wsoap:header/@mustUnderstand" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/wsoap:header/@element" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@wsoap:mep" count="5"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@wsoap:action" count="5"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsoap:module" count="0"/> --- 93,97 ---- <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/wsoap:header/@mustUnderstand" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/wsoap:header/@element" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@wsoap:mep" count="21"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@wsoap:action" count="5"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsoap:module" count="0"/> *************** *** 95,107 **** <item xpath="/wsdl:description/wsdl:binding/@whttp:cookies" count="0"/> <item xpath="/wsdl:description/wsdl:binding/@whttp:transferCodingDefault" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@whttp:code" count="1"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@whttp:transferCoding" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/whttp:header" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/whttp:header/@required" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:location" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:method" count="5"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:inputSerialization" count="1"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:outputSerialization" count="1"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:faultSerialization" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:transferCodingDefault" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:input/@whttp:transferCoding" count="0"/> --- 106,118 ---- <item xpath="/wsdl:description/wsdl:binding/@whttp:cookies" count="0"/> <item xpath="/wsdl:description/wsdl:binding/@whttp:transferCodingDefault" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@whttp:code" count="7"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/@whttp:transferCoding" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/whttp:header" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:fault/whttp:header/@required" count="0"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:location" count="1"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:method" count="15"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:inputSerialization" count="5"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:outputSerialization" count="3"/> ! <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:faultSerialization" count="2"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/@whttp:transferCodingDefault" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:input/@whttp:transferCoding" count="0"/> *************** *** 109,113 **** <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output/@whttp:transferCoding" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output/whttp:header" count="0"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint/@whttp:authenticationType" count="4"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint/@whttp:authenticationRealm" count="4"/> </coverage> --- 120,124 ---- <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output/@whttp:transferCoding" count="0"/> <item xpath="/wsdl:description/wsdl:binding/wsdl:operation/wsdl:output/whttp:header" count="0"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint/@whttp:authenticationType" count="9"/> ! <item xpath="/wsdl:description/wsdl:service/wsdl:endpoint/@whttp:authenticationRealm" count="9"/> </coverage> Index: test-suite-reports.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/test-suite-reports.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -C 2 -d -r1.2 -r1.3 *** test-suite-reports.xsl 6 Jul 2006 20:50:58 -0000 1.2 --- test-suite-reports.xsl 19 Jul 2006 23:21:23 -0000 1.3 *************** *** 10,14 **** <xsl:template match="/test-suite"> <reports> ! <xsl:apply-templates select="test-case" /> </reports> </xsl:template> --- 10,14 ---- <xsl:template match="/test-suite"> <reports> ! <xsl:apply-templates select="test-case[starts-with(@href,'documents')]" /> </reports> </xsl:template> Index: build-test-coverage.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/build-test-coverage.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C 2 -d -r1.1 -r1.2 *** build-test-coverage.xml 30 Jun 2006 03:59:45 -0000 1.1 --- build-test-coverage.xml 19 Jul 2006 23:21:23 -0000 1.2 *************** *** 34,38 **** <target name="test-suite-coverage-summary" depends="reports, test-suite-reports" description="Generates summary of coverage reports."> ! <xslt style="test-suite-coverage-summary.xsl" in="wsdl-xpaths.xml" out="test-suite-coverage-summary.xml" force="yes" /> </target> --- 34,43 ---- <target name="test-suite-coverage-summary" depends="reports, test-suite-reports" description="Generates summary of coverage reports."> ! <tstamp /> ! <xslt style="test-suite-coverage-summary.xsl" in="wsdl-xpaths.xml" out="test-suite-coverage-summary.xml" force="yes"> ! <param name="DSTAMP" expression="${DSTAMP}"/> ! <param name="TSTAMP" expression="${TSTAMP}"/> ! <param name="TODAY" expression="${TODAY}"/> ! </xslt> </target> Index: wsdl-coverage.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/wsdl-coverage.xsl,v retrieving revision 1.8 retrieving revision 1.9 diff -C 2 -d -r1.8 -r1.9 *** wsdl-coverage.xsl 6 Jul 2006 21:12:26 -0000 1.8 --- wsdl-coverage.xsl 19 Jul 2006 23:21:23 -0000 1.9 *************** *** 4,11 **** edit it! --> ! <xsl:stylesheet xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap" xmlns:whttp="http://www.w3.org/2006/01/wsdl/http" xmlns:wrpc="http://www.w3.org/2006/01/wsdl/rpc" xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="yes"/> <xsl:template match="/"> ! <coverage> <xsl:if test="count(/wsdl:description//wsdl:documentation) > 0"> <item xpath="/wsdl:description//wsdl:documentation" count="{count(/wsdl:description//wsdl:documentation)}"/> --- 4,20 ---- edit it! --> ! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="yes"/> <xsl:template match="/"> ! <coverage xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap" xmlns:whttp="http://www.w3.org/2006/01/wsdl/http" xmlns:wrpc="http://www.w3.org/2006/01/wsdl/rpc" xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions" xmlns:wsdl="http://www.w3.org/2006/01/wsdl"> ! <xsl:if test="count(/wsdl:description//*/@wsdl:required) > 0"> ! <item xpath="/wsdl:description//*/@wsdl:required" count="{count(/wsdl:description//*/@wsdl:required)}"/> ! </xsl:if> ! <xsl:if test="count(/wsdl:description//*[@wsdl:required='true']) > 0"> ! <item xpath="/wsdl:description//*[@wsdl:required='true']" count="{count(/wsdl:description//*[@wsdl:required='true'])}"/> ! </xsl:if> ! <xsl:if test="count(/wsdl:description//*[@wsdl:required='false']) > 0"> ! <item xpath="/wsdl:description//*[@wsdl:required='false']" count="{count(/wsdl:description//*[@wsdl:required='false'])}"/> ! </xsl:if> <xsl:if test="count(/wsdl:description//wsdl:documentation) > 0"> <item xpath="/wsdl:description//wsdl:documentation" count="{count(/wsdl:description//wsdl:documentation)}"/> Index: test-suite-reports.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/test-suite-reports.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C 2 -d -r1.10 -r1.11 *** test-suite-reports.xml 7 Jul 2006 14:12:45 -0000 1.10 --- test-suite-reports.xml 19 Jul 2006 23:21:23 -0000 1.11 *************** *** 1,4 **** --- 1,9 ---- <?xml version="1.0" encoding="UTF-8"?> <reports> + <report>reports/documents/bad/Binding-1B/BadBinding.xml</report> + <report>reports/documents/bad/Binding-2B/Echo.xml</report> + <report>reports/documents/bad/Binding-3B/NonUniqueBinding.xml</report> + <report>reports/documents/bad/Binding-3B/NonUniqueBinding-Extended.xml</report> + <report>reports/documents/bad/Binding-4B/Echo.xml</report> <report>reports/documents/bad/Chameleon-1B/getBalance.xml</report> <report>reports/documents/bad/Chameleon-2B/getBalance.xml</report> *************** *** 6,9 **** --- 11,19 ---- <report>reports/documents/bad/HTTPBinding-2B/Echo.xml</report> <report>reports/documents/bad/HTTPBinding-3B/Echo.xml</report> + <report>reports/documents/bad/HTTPBinding-4B/Echo.xml</report> + <report>reports/documents/bad/HTTPBinding-5B/Echo.xml</report> + <report>reports/documents/bad/HTTPBinding-6B/Echo.xml</report> + <report>reports/documents/bad/HTTPBinding-7B/Echo.xml</report> + <report>reports/documents/bad/HTTPBinding-8B/Echo.xml</report> <report>reports/documents/bad/Import-1B/XSDImport.xml</report> <report>reports/documents/bad/Import-2B/XSDImportInWSDL.xml</report> *************** *** 15,18 **** --- 25,32 ---- <report>reports/documents/bad/Interface-2B/Interface.xml</report> <report>reports/documents/bad/Interface-3B/Interface.xml</report> + <report>reports/documents/bad/InterfaceOperation-1B/echo.xml</report> + <report>reports/documents/bad/InterfaceOperation-1B/echo-extended.xml</report> + <report>reports/documents/bad/InterfaceOperation-2B/echo.xml</report> + <report>reports/documents/bad/InterfaceOperation-2B/echo-extended.xml</report> <report>reports/documents/bad/Service-12B/Service.xml</report> <report>reports/documents/bad/Service-13B/Service.xml</report> *************** *** 32,35 **** --- 46,62 ---- <report>reports/documents/bad/RPC-12B/rpcstyleinout.xml</report> <report>reports/documents/bad/RPC-13B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-14B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-15B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-16B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-17B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-18B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-19B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-20B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-21B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-22B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-23B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-24B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-25B/rpcstyleinout.xml</report> + <report>reports/documents/bad/RPC-26B/rpcstyleinout.xml</report> <report>reports/documents/bad/Service-12B/Service.xml</report> <report>reports/documents/bad/Service-13B/Service.xml</report> *************** *** 38,41 **** --- 65,69 ---- <report>reports/documents/bad/Service-1B/Service.xml</report> <report>reports/documents/bad/Service-2B/Service.xml</report> + <report>reports/documents/bad/UnknownExtension-1B/Interface.xml</report> <report>reports/documents/bad/TicketAgent-1B/TicketAgent-bad.xml</report> <report>reports/documents/good/Chameleon-1G/getBalance.xml</report> *************** *** 61,65 **** <report>reports/documents/good/Include-1G/Echo.xml</report> <report>reports/documents/good/InOnlyMEP-1G/Oneway.xml</report> ! <report>reports/documents/good/Interfce-1G/Interface.xml</report> <report>reports/documents/good/Interface-2G/Interface.xml</report> <report>reports/documents/good/Interface-3G/Interface.xml</report> --- 89,93 ---- <report>reports/documents/good/Include-1G/Echo.xml</report> <report>reports/documents/good/InOnlyMEP-1G/Oneway.xml</report> ! <report>reports/documents/good/Interface-1G/Interface.xml</report> <report>reports/documents/good/Interface-2G/Interface.xml</report> <report>reports/documents/good/Interface-3G/Interface.xml</report> *************** *** 71,74 **** --- 99,106 ---- <report>reports/documents/good/RPC-1G/rpcstyleinout.xml</report> <report>reports/documents/good/RPC-2G/rpcstyleinonly.xml</report> + <report>reports/documents/good/RPC-3G/rpcstyleinout.xml</report> + <report>reports/documents/good/RPC-4G/rpcstyleinout.xml</report> + <report>reports/documents/good/RPC-5G/rpcstyleinout.xml</report> + <report>reports/documents/good/RPC-6G/rpcstyleinout.xml</report> <report>reports/documents/good/SchemaId-1G/schemaIds.xml</report> <report>reports/documents/good/SchemaLocationFragment-1G/Items.xml</report> *************** *** 79,83 **** --- 111,124 ---- <report>reports/documents/good/ServiceReference-1G/reservationDetails.xml</report> <report>reports/documents/good/SparqlQuery-1G/sparql-protocol-query.xml</report> + <report>reports/documents/good/Storage-1G/storage.xml</report> + <report>reports/documents/good/Storage-2G/storage.xml</report> + <report>reports/documents/good/Storage-3G/storage.xml</report> + <report>reports/documents/good/Storage-4G/storage.xml</report> + <report>reports/documents/good/Storage-5G/storage.xml</report> + <report>reports/documents/good/Storage-6G/storage.xml</report> + <report>reports/documents/good/Storage-7G/storage.xml</report> <report>reports/documents/good/TicketAgent-1G/TicketAgent.xml</report> + <report>reports/documents/good/UnknownExtension-1G/Interface.xml</report> + <report>reports/documents/good/UnknownExtension-2G/Interface.xml</report> <report>reports/documents/good/WeathSvc-1G/WeathSvc.xml</report> <report>reports/documents/good/XsImport-1G/reservation.xml</report> Index: test-suite-coverage-summary.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/test-suite-coverage-summary.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -C 2 -d -r1.1 -r1.2 *** test-suite-coverage-summary.xsl 11 Nov 2005 06:10:51 -0000 1.1 --- test-suite-coverage-summary.xsl 19 Jul 2006 23:21:23 -0000 1.2 *************** *** 10,13 **** --- 10,17 ---- <xsl:output method="xml" indent="yes" /> + <xsl:param name="DSTAMP" /> + <xsl:param name="TSTAMP" /> + <xsl:param name="TODAY" /> + <xsl:variable name="reports" select="document('test-suite-reports.xml')//report" /> *************** *** 16,21 **** <xsl:template match="/xpaths"> ! <xsl:processing-instruction name="xml-stylesheet">type="text/xsl" href="coverage.xsl"</xsl:processing-instruction> <coverage> <xsl:apply-templates select="xpath" /> </coverage> --- 20,47 ---- <xsl:template match="/xpaths"> ! <xsl:processing-instruction name="xml-stylesheet"> ! type="text/xsl" href="coverage.xsl" ! </xsl:processing-instruction> <coverage> + <DSTAMP> + <xsl:value-of select="$DSTAMP" /> + </DSTAMP> + <TSTAMP> + <xsl:value-of select="$TSTAMP" /> + </TSTAMP> + <TODAY> + <xsl:value-of select="$TODAY" /> + </TODAY> + <total> + <xsl:value-of select="count($reports)" /> + </total> + <good> + <xsl:value-of + select="count($reports[starts-with(.,'reports/documents/good')])" /> + </good> + <bad> + <xsl:value-of + select="count($reports[starts-with(.,'reports/documents/bad')])" /> + </bad> <xsl:apply-templates select="xpath" /> </coverage> Index: coverage.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/coverage.xsl,v retrieving revision 1.3 retrieving revision 1.4 diff -C 2 -d -r1.3 -r1.4 *** coverage.xsl 20 Feb 2006 02:04:39 -0000 1.3 --- coverage.xsl 19 Jul 2006 23:21:23 -0000 1.4 *************** *** 19,29 **** <html> <head> ! <title>Test Case Coverage Report</title> <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css" /> </head> <body> ! <h1>Test Case Coverage Report</h1> ! <table border="1" cellspacing="4"> <thead> <tr> --- 19,69 ---- <html> <head> ! <title> ! WSDL 2.0 Document Test Case Coverage Report ! </title> <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css" /> </head> <body> ! <h1> ! WSDL 2.0 Document Test Case Coverage Report Coverage ! Report ! </h1> ! <address> ! <xsl:text>Generated</xsl:text> ! <xsl:value-of select="' '" /> ! <xsl:value-of select="TODAY" /> ! </address> ! <p> ! This reports measures the coverage of WSDL 2.0 ! elements and attributes by the good and bad document ! test cases. Each measured item is specified by an ! XPath expression. ! </p> ! <table> ! <tr> ! <th align="right">Good Documents:</th> ! <td align="right"> ! <xsl:value-of select="good" /> ! </td> ! </tr> ! <tr> ! <th align="right">Bad Documents:</th> ! <td align="right"> ! <xsl:value-of select="bad" /> ! </td> ! </tr> ! <tr> ! <th align="right">Total Documents:</th> ! <td align="right"> ! <xsl:value-of select="total" /> ! </td> ! </tr> ! </table> ! <br /> ! <table border="1" cellspacing="4" width="100%"> ! <col width="50" /> ! <col width="50" /> ! <col width="*" /> <thead> <tr> *************** *** 53,57 **** <xsl:text> </xsl:text> </td> ! <td> <xsl:value-of select="@count" /> </td> --- 93,97 ---- <xsl:text> </xsl:text> </td> ! <td align="right"> <xsl:value-of select="@count" /> </td>
Received on Wednesday, 19 July 2006 23:22:15 UTC