2002/ws/desc/test-suite assertion-coverage.xsl,1.1,1.2 test-suite-coverage-summary.xml,1.29,1.30 assertions-report.xsl,1.8,1.9 assertion-coverage.xml,1.4,1.5 Assertion-coverage.html,1.4,1.5 Dashboard.html,1.19,1.20

Update of /sources/public/2002/ws/desc/test-suite
In directory hutz:/tmp/cvs-serv20132/test-suite

Modified Files:
	assertion-coverage.xsl test-suite-coverage-summary.xml 
	assertions-report.xsl assertion-coverage.xml 
	Assertion-coverage.html Dashboard.html 
Log Message:
Updated assertion report generation to show progress indicators separately for each part.

Index: test-suite-coverage-summary.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/test-suite-coverage-summary.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -C 2 -d -r1.29 -r1.30
*** test-suite-coverage-summary.xml	27 Nov 2006 18:36:07 -0000	1.29
--- test-suite-coverage-summary.xml	28 Nov 2006 04:16:54 -0000	1.30
***************
*** 3,9 ****
  
  <coverage>
! <DSTAMP>20061127</DSTAMP>
! <TSTAMP>1033</TSTAMP>
! <TODAY>November 27 2006</TODAY>
  <total>227</total>
  <good>74</good>
--- 3,9 ----
  
  <coverage>
! <DSTAMP/>
! <TSTAMP/>
! <TODAY/>
  <total>227</total>
  <good>74</good>

Index: assertion-coverage.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/assertion-coverage.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** assertion-coverage.xsl	16 Nov 2006 14:22:06 -0000	1.1
--- assertion-coverage.xsl	28 Nov 2006 04:16:53 -0000	1.2
***************
*** 16,28 ****
  			<body>
  				<h1>Assertion Coverage Report</h1>
! 				<xsl:call-template name="assertion-summary"/>
  				<p>
! 					<xsl:value-of select="count(assertions/assertion)"/> assertions
! 					(<xsl:value-of select="assertions/@component"/> component, 
  					<xsl:value-of select="assertions/@document"/> document, 
  					<xsl:value-of select="assertions/@exchange"	/> exchange, 
  					<xsl:value-of select="assertions/@message"/> message). 
- 					<xsl:value-of select="assertions/@part1"/> for part 1,
- 					<xsl:value-of select="assertions/@part2"/> for part 2.
  				</p>
  				<table class="border">
--- 16,48 ----
  			<body>
  				<h1>Assertion Coverage Report</h1>
! 				<table>
! 					<tr>
! 						<td><b><xsl:value-of select="count(assertions/assertion)"/> assertions</b></td>
! 						<td>
! 							<xsl:call-template name="assertion-summary"/>
! 						</td>
! 					</tr>
! 					<tr>
! 						<td>Part 1 (<xsl:value-of select="assertions/@part1"/> assertions)</td>
! 						<td>
! 							<xsl:call-template name="assertion-summary-by-part">
! 								<xsl:with-param name="part" select="1"/>
! 								<xsl:with-param name="width" select="assertions/@part1 div count(assertions/assertion)"/>
! 							</xsl:call-template>
! 						</td>
! 					</tr>
! 					<tr>
! 						<td>Part 2 (<xsl:value-of select="assertions/@part2"/> assertions)</td>
! 						<td><xsl:call-template name="assertion-summary-by-part">
! 							<xsl:with-param name="part" select="2"/>
! 							<xsl:with-param name="width" select="assertions/@part2 div count(assertions/assertion)"/>
! 						</xsl:call-template></td>
! 					</tr>
! 				</table>
  				<p>
! 					(Assertion breakdown: <xsl:value-of select="assertions/@component"/> component, 
  					<xsl:value-of select="assertions/@document"/> document, 
  					<xsl:value-of select="assertions/@exchange"	/> exchange, 
  					<xsl:value-of select="assertions/@message"/> message). 
  				</p>
  				<table class="border">
***************
*** 101,103 ****
--- 121,146 ----
  		</div>
  	</xsl:template>
+ 	<xsl:template name="assertion-summary-by-part">
+ 		<xsl:param name="part"/>
+ 		<xsl:param name="width" select="1.0"/>
+ 		<div style="border:1px solid black; padding:0px; width:{round($width*200)+2}px; height:18px; font-size:x-small; font-weight:bold">
+ 			<xsl:variable name="total" select="count(assertions/assertion[@part=$part])"/>
+ 			<xsl:variable name="none" select="count(assertions/assertion[@part=$part][@count = 0])"/>
+ 			<xsl:variable name="some" select="count(assertions/assertion[@part=$part][@count &gt; 0])"/>
+ 			<xsl:variable name="percentage-none" select="$none div $total"/>
+ 			<xsl:variable name="percentage-some" select="$some div $total"/>
+ 			<xsl:if test="$percentage-some > .01">
+ 				<span style="position:absolute">
+ 					<xsl:value-of select="$some"/>
+ 				</span>
+ 				<img src="green.gif" height="16" width="{round($width*200*$percentage-some)}" alt="{round($percentage-some * 100)}% have coverage"/>
+ 			</xsl:if>
+ 			<xsl:if test="$percentage-none > .01">
+ 				<span style="position:absolute">
+ 					<xsl:value-of select="$none"/>
+ 				</span>
+ 				<img src="red.gif" height="16" width="{round($width*200*$percentage-none)}" alt="{round($percentage-none* 100)}% have no coverage"/>
+ 			</xsl:if>
+ 		</div>
+ 	</xsl:template>
  </xsl:stylesheet>

Index: assertion-coverage.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/assertion-coverage.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** assertion-coverage.xml	27 Nov 2006 18:14:12 -0000	1.4
--- assertion-coverage.xml	28 Nov 2006 04:16:54 -0000	1.5
***************
*** 3,7 ****
  
  <assertions part2="112" part1="98" message="3" exchange="13" document="50" component="144">
! <assertion count="3" href="http://www.w3.org/TR/2006/CR-wsdl20-20060327/#Binding-0054" class="component" name="Binding-0054">
  <synopsis>If a Binding component specifies any operation-specific binding details (by including Binding Operation components) or any fault binding details (by including Binding Fault components) then it MUST specify an interface the Binding component applies to, so as to indicate which interface the operations come from.</synopsis>
  <test id="Binding-5B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/Binding-5B"/>
--- 3,7 ----
  
  <assertions part2="112" part1="98" message="3" exchange="13" document="50" component="144">
! <assertion part="1" count="3" href="http://www.w3.org/TR/2006/CR-wsdl20-20060327/#Binding-0054" class="component" name="Binding-0054">
  <synopsis>If a Binding component specifies any operation-specific binding details (by including Binding Operation components) or any fault binding details (by including Binding Fault components) then it MUST specify an interface the Binding component applies to, so as to indicate which interface the operations come from.</synopsis>
[...1543 lines suppressed...]
  <test id="RPC-20B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-20B"/>
  </assertion>
! <assertion part="2" count="2" href="http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#WRPC-5024" class="component" name="WRPC-5024">
  <synopsis>For each pair (q, #out), there MUST be a child element of the output element with a name of q. There MUST NOT be a child element of the input element with the name of q.</synopsis>
  <test id="RPC-21B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-21B"/>
  <test id="RPC-22B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-22B"/>
  </assertion>
! <assertion part="2" count="2" href="http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#WRPC-5025" class="component" name="WRPC-5025">
  <synopsis>For each pair (q, #inout), there MUST be a child element of the input element with a name of q. There MUST also be a child element of the output element with the name of q.</synopsis>
  <test id="RPC-23B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-23B"/>
  <test id="RPC-24B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-24B"/>
  </assertion>
! <assertion part="2" count="2" href="http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#WRPC-5026" class="component" name="WRPC-5026">
  <synopsis>For each pair (q, #return), there MUST be a child element of the output element with a name of q. There MUST NOT be a child element of the input element with the name of q.</synopsis>
  <test id="RPC-25B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-25B"/>
  <test id="RPC-26B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-26B"/>
  </assertion>
! <assertion part="2" count="1" href="http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#WRPC-5027" class="document" name="WRPC-5027">
  <synopsis>Additionally, each even-numbered item (0, 2, 4, ...) in the list MUST be of type xs:QName and each odd-numbered item (1, 3, 5, ...) in the list MUST be of the subtype of xs:token described in the previous paragraph.</synopsis>
  <test id="RPC-27B" href="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/RPC-27B"/>

Index: assertions-report.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/assertions-report.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -d -r1.8 -r1.9
*** assertions-report.xsl	16 Nov 2006 14:22:06 -0000	1.8
--- assertions-report.xsl	28 Nov 2006 04:16:54 -0000	1.9
***************
*** 31,35 ****
  				<xsl:variable name="count_violations_2" select="count($violations)"/>
  			
! 				<assertion name="{$id}" class="{@class}" href="{concat(@origin, '/#', @id)}" count="{$count_violations_2}">
  					<synopsis><xsl:copy-of select="node()"/></synopsis>
  					<xsl:for-each select="$violations">
--- 31,35 ----
  				<xsl:variable name="count_violations_2" select="count($violations)"/>
  			
! 				<assertion name="{$id}" class="{@class}" href="{concat(@origin, '/#', @id)}" count="{$count_violations_2}" part="{@part}">
  					<synopsis><xsl:copy-of select="node()"/></synopsis>
  					<xsl:for-each select="$violations">

Index: Assertion-coverage.html
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/Assertion-coverage.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** Assertion-coverage.html	27 Nov 2006 18:14:12 -0000	1.4
--- Assertion-coverage.html	28 Nov 2006 04:16:54 -0000	1.5
***************
*** 12,24 ****
  <body>
  <h1>Assertion Coverage Report</h1>
  <div style="border:1px solid black; padding:0px; width:202px; height:18px; font-size:x-small; font-weight:bold">
  <span style="position:absolute">105</span><img alt="50% have coverage" width="100" height="16" src="green.gif"><span style="position:absolute">105</span><img alt="50% have no coverage" width="100" height="16" src="red.gif"></div>
! <p>210 assertions
! 					(144 component, 
  					50 document, 
  					13 exchange, 
  					3 message). 
- 					98 for part 1,
- 					112 for part 2.
  				</p>
  <table class="border">
--- 12,40 ----
  <body>
  <h1>Assertion Coverage Report</h1>
+ <table>
+ <tr>
+ <td><b>210 assertions</b></td><td>
  <div style="border:1px solid black; padding:0px; width:202px; height:18px; font-size:x-small; font-weight:bold">
  <span style="position:absolute">105</span><img alt="50% have coverage" width="100" height="16" src="green.gif"><span style="position:absolute">105</span><img alt="50% have no coverage" width="100" height="16" src="red.gif"></div>
! </td>
! </tr>
! <tr>
! <td>Part 1 (98 assertions)</td><td>
! <div style="border:1px solid black; padding:0px; width:95px; height:18px; font-size:x-small; font-weight:bold">
! <span style="position:absolute">66</span><img alt="67% have coverage" width="63" height="16" src="green.gif"><span style="position:absolute">32</span><img alt="33% have no coverage" width="30" height="16" src="red.gif"></div>
! </td>
! </tr>
! <tr>
! <td>Part 2 (112 assertions)</td><td>
! <div style="border:1px solid black; padding:0px; width:109px; height:18px; font-size:x-small; font-weight:bold">
! <span style="position:absolute">39</span><img alt="35% have coverage" width="37" height="16" src="green.gif"><span style="position:absolute">73</span><img alt="65% have no coverage" width="70" height="16" src="red.gif"></div>
! </td>
! </tr>
! </table>
! <p>
! 					(Assertion breakdown: 144 component, 
  					50 document, 
  					13 exchange, 
  					3 message). 
  				</p>
  <table class="border">

Index: Dashboard.html
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/Dashboard.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -C 2 -d -r1.19 -r1.20
*** Dashboard.html	28 Nov 2006 02:49:16 -0000	1.19
--- Dashboard.html	28 Nov 2006 04:16:54 -0000	1.20
***************
*** 11,13 ****
  					.bad { background: red }
  				</style></head><body><h2>Test Suite Health Dashboard</h2><address>Generated November 27 2006,
! 						1843</address><p>Assertion Coverage (<a href="Assertion-coverage.html">details</a>)</p><div style="border:1px solid black; padding:0px; width:202px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">105</span><img alt="50% have coverage" width="100" height="16" src="green.gif"><span style="position:absolute">105</span><img alt="50% have no coverage" width="100" height="16" src="red.gif"></div><p>Test Case Coverage (<a href="Test-suite-coverage-summary.html">details</a>)</p><div style="border:1px solid black; padding:0px; width:202px; height:18px; font-size:x-small; font-weight:bold; margin:0px"><span style="position:absolute">73</span><img alt="70% have good coverage" width="141" height="16" src="green.gif"><span style="position:absolute">29</span><img alt="29% have minimal coverage" width="57" height="16" src="yellow.gif"><span style="position:absolute">1</span><img alt="1% have no coverage" width="2" height="16" src="red.gif"></div><p></p><hr><h2>Implementation Healh</h2><p>Component Model Test Results (<a href="results/Interchange.html">details</a>)</p><table><tr><td><strong>Woden</strong></td><td><strong>WSDL XSLT</strong></td><td><strong>Canon</strong></td></tr><tr><td style="border:1px solid black; padding:0px; width:201px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">67</span><img alt="91% passed" width="181" height="16" src="green.gif"><span style="position:absolute">6</span><img alt="8% failed" width="16" height="16" src="red.gif"></td><td style="border:1px solid black; padding:0px; width:201px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">73</span><img alt="99% passed" width="197" height="16" src="green.gif"></td><td style="border:1px solid black; padding:0px; width:201px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">67</span><img alt="91% passed" width="181" height="16" src="green.gif"><span style="position:absolute">4</span><img alt="5% failed" widt="11" height="16" src="red.gif"></td></tr></table><p>Validation Test Results (<a href="results/Validation.html">details</a>)</p><table><thead><tr><td><strong>Woden</strong></td><td><strong>Canon</strong></td></tr></thead><tbody><tr><td><div style="border:1px solid black; width:201px; height:16px; font-size:x-small; font-weight:bold"><span style="position:absolute">25</span><img alt="11.312217194570136% passed" width="22.624434389140273" height="16" src="green.gif"><span style="position:absolute">87</span><img alt="39.366515837104075% passed" width="78.73303167420815" height="16" src="yellow.gif"><span style="position:absolute">87</span><img alt="39.366515837104075% failed" width="78.73303167420815" height="16" src="red.gif"><span style="position:absolute">&nbsp;(22)</span></div></td><td><div style="border:1px solid black; width:201px; height:16px; font-size:x-small; font-weight:bold"><span style="position:absolute">17</span><img alt="7.6923076923076925% passed" width="15.384615384615385" height="16" src="gren.gif"><span style="position:absolute">89</span><img alt="40.27149321266968% passed" width="80.54298642533936" height="16" src="yellow.gif"><span style="position:absolute">50</span><img alt="22.624434389140273% failed" width="45.248868778280546" height="16" src="red.gif"><span style="position:absolute">&nbsp;(65)</span></div></td></tr></tbody></table><p>Message Exchange Test Results (<a href="tbd">details</a>)</p><p>tbd</p></body></html>
\ No newline at end of file
--- 11,13 ----
  					.bad { background: red }
  				</style></head><body><h2>Test Suite Health Dashboard</h2><address>Generated November 27 2006,
! 						1934</address><p>Assertion Coverage (<a href="Assertion-coverage.html">details</a>)</p><div style="border:1px solid black; padding:0px; width:202px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">105</span><img alt="50% have coverage" width="100" height="16" src="green.gif"><span style="position:absolute">105</span><img alt="50% have no coverage" width="100" height="16" src="red.gif"></div><p>Test Case Coverage (<a href="Test-suite-coverage-summary.html">details</a>)</p><div style="border:1px solid black; padding:0px; width:202px; height:18px; font-size:x-small; font-weight:bold; margin:0px"><span style="position:absolute">73</span><img alt="70% have good coverage" width="141" height="16" src="green.gif"><span style="position:absolute">29</span><img alt="29% have minimal coverage" width="57" height="16" src="yellow.gif"><span style="position:absolute">1</span><img alt="1% have no coverage" width="2" height="16" src="red.gif"></div><p></p><hr><h2>Implementation Healh</h2><p>Component Model Test Results (<a href="results/Interchange.html">details</a>)</p><table><tr><td><strong>Woden</strong></td><td><strong>WSDL XSLT</strong></td><td><strong>Canon</strong></td></tr><tr><td style="border:1px solid black; padding:0px; width:201px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">67</span><img alt="91% passed" width="181" height="16" src="green.gif"><span style="position:absolute">6</span><img alt="8% failed" width="16" height="16" src="red.gif"></td><td style="border:1px solid black; padding:0px; width:201px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">73</span><img alt="99% passed" width="197" height="16" src="green.gif"></td><td style="border:1px solid black; padding:0px; width:201px; height:18px; font-size:x-small; font-weight:bold"><span style="position:absolute">69</span><img alt="93% passed" width="186" height="16" src="green.gif"><span style="position:absolute">3</span><img alt="4% failed" widt="8" height="16" src="red.gif"></td></tr></table><p>Validation Test Results (<a href="results/Validation.html">details</a>)</p><table><thead><tr><td><strong>Woden</strong></td><td><strong>Canon</strong></td></tr></thead><tbody><tr><td><div style="border:1px solid black; width:201px; height:16px; font-size:x-small; font-weight:bold"><span style="position:absolute">25</span><img alt="11.312217194570136% passed" width="22.624434389140273" height="16" src="green.gif"><span style="position:absolute">87</span><img alt="39.366515837104075% passed" width="78.73303167420815" height="16" src="yellow.gif"><span style="position:absolute">87</span><img alt="39.366515837104075% failed" width="78.73303167420815" height="16" src="red.gif"><span style="position:absolute">&nbsp;(22)</span></div></td><td><div style="border:1px solid black; width:201px; height:16px; font-size:x-small; font-weight:bold"><span style="position:absolute">17</span><img alt="7.6923076923076925% passed" width="15.384615384615385" height="16" src="gren.gif"><span style="position:absolute">89</span><img alt="40.27149321266968% passed" width="80.54298642533936" height="16" src="yellow.gif"><span style="position:absolute">50</span><img alt="22.624434389140273% failed" width="45.248868778280546" height="16" src="red.gif"><span style="position:absolute">&nbsp;(65)</span></div></td></tr></tbody></table><p>Message Exchange Test Results (<a href="tbd">details</a>)</p><p>tbd</p></body></html>
\ No newline at end of file

Received on Tuesday, 28 November 2006 04:17:06 UTC