- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 19 Feb 2007 21:59:04 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/results-messages/MessageMultipart-1G In directory hutz:/tmp/cvs-serv4501/test-suite/results-messages/MessageMultipart-1G Modified Files: log-MessageMultipart1G-wso2-wso2-results.html description-xpath-assertions.xml log-MessageMultipart1G-wso2-wso2-output.xml description-generate-report-xml.xsl description-generate-report-html.xsl Log Message: Fixed multipart/form-data assertions - checks for text in the body rather than XML (no specific assertions within that text though.) Index: description-generate-report-xml.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/MessageMultipart-1G/description-generate-report-xml.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -C 2 -d -r1.1 -r1.2 *** description-generate-report-xml.xsl 22 Jan 2007 11:36:26 -0000 1.1 --- description-generate-report-xml.xsl 19 Feb 2007 21:59:02 -0000 1.2 *************** *** 3,5 **** This is a style sheet, generated by evaluate-xml-log-xsl.xslt. ******** DO NOT EDIT ********* ! --><xsl:stylesheet xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:module="http://www.w3.org/2002/ws/desc/6/10/test-module" xmlns:l="http://www.w3.org/2002/ws/desc/logs/" xmlns:m="http://www.w3.org/2006/11/desc/messages" xmlns:a="http://www.w3.org/2006/11/desc/assertions" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" l:fake="false"><xsl:param name="DSTAMP"/><xsl:param name="TSTAMP"/><xsl:param name="TODAY"/><xsl:output method="xml"/><xsl:template match="/"><resultSets><head><messages><xsl:value-of select="count(/l:log/l:message)"/></messages><expectedMessages>8</expectedMessages><tests>38</tests><tstamp><xsl:value-of select="/l:log/l:message/@timestamp"/></tstamp><generated><xsl:value-of select="$TODAY"/></generated><from><xsl:call-template name="find-agent"><xsl:with-param name="message" select="/l:log/l:message[@type="request"]"/></xsl:call-template></from><to><xsl:call-template name="find-agent"><xsl:with-pram name="message" select="/l:log/l:message[@type="response"]"/></xsl:call-template></to></head><xsl:call-template name="message1"/><xsl:call-template name="message2"/><xsl:call-template name="message3"/><xsl:call-template name="message4"/><xsl:call-template name="message5"/><xsl:call-template name="message6"/><xsl:call-template name="message7"/><xsl:call-template name="message8"/></resultSets></xsl:template><xsl:template name="find-agent"><xsl:param name="message"/><xsl:choose><xsl:when test="$message/l:httpHeaders/l:Server"><xsl:value-of select="$message/l:httpHeaders/l:Server"/></xsl:when><xsl:when test="$message/l:httpHeaders/l:User-Agent"><xsl:value-of select="$message/l:httpHeaders/l:User-Agent"/></xsl:when><xsl:otherwise>Unknown</xsl:otherwise></xsl:choose></xsl:template><xsl:template name="message1"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="1"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-pram name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="1"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@rawURI, "EchoName?first=myfirst;middle=mymiddle;last=mylast")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@rawURI, "EchoName?first=myfirst;middle=mymiddle;last=mylast")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/llog/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="1"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="1"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' ad namespace-uri()='http://example.org/message-test/xsd']</test></resultSet></xsl:template><xsl:template name="message2"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="2"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute nae="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/l:httpHeaders/l:StatusCode/@value='200'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/l:httpHeaders/l:StatusCode/@value='200'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="2"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="2"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</test></resultSet></xsl:template><xsl:template name="messge3"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="3"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@rawURI, "EchoNameExpectFault")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@rawURI, "EchoNameExpectFault")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/l:httpeaders/l:Content-Type/@type='multipart/form-data'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="3"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="3"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']">passed</xsl:hen><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']</test></resultSet></xsl:template><xsl:template name="message4"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="4"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="4"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:chose></xsl:attribute>/l:log/l:message[@number="4"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/l:httpHeaders/l:StatusCode/@value='500'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="4"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="4"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="4"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@umber="4"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet></xsl:template><xsl:template name="message5"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="5"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="5"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="5"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@rawURI, "Send")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/rawURI, "Send")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="5"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="5"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="5"]/l:content/*)<=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="5"]/l:content/*)<=1</test></resultSet></xsl:template><xsl:template name="message6"><resultSet binding="EchMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="6"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="6"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="6"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="6"]/l:httpHeaders/l:StatusCode/@value='202'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="6"]/l:httpHeaders/l:StatusCode/@value='202'</test></resultSet></xsl:template><xsl:template name="message7"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="7"><xsl:attribute name="implementation><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="7"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="7"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@rawURI, "GuaranteedFault")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@rawURI, "GuaranteedFault")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="7"]/l:httpHeader/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="7"]/l:content/*)=0">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="7"]/l:content/*)=0</test></resultSet></xsl:template><xsl:template name="message8"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="8"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/l:httpHeaders/l:Cntent-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/l:httpHeaders/l:StatusCode/@value='500'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="8"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="8"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]">pssed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet></xsl:template></xsl:stylesheet> \ No newline at end of file --- 3,5 ---- This is a style sheet, generated by evaluate-xml-log-xsl.xslt. ******** DO NOT EDIT ********* ! --><xsl:stylesheet xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:module="http://www.w3.org/2002/ws/desc/6/10/test-module" xmlns:l="http://www.w3.org/2002/ws/desc/logs/" xmlns:m="http://www.w3.org/2006/11/desc/messages" xmlns:a="http://www.w3.org/2006/11/desc/assertions" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" l:fake="false"><xsl:param name="DSTAMP"/><xsl:param name="TSTAMP"/><xsl:param name="TODAY"/><xsl:output method="xml"/><xsl:template match="/"><resultSets><head><messages><xsl:value-of select="count(/l:log/l:message)"/></messages><expectedMessages>8</expectedMessages><tests>36</tests><tstamp><xsl:value-of select="/l:log/l:message/@timestamp"/></tstamp><generated><xsl:value-of select="$TODAY"/></generated><from><xsl:call-template name="find-agent"><xsl:with-param name="message" select="/l:log/l:message[@type="request"]"/></xsl:call-template></from><to><xsl:call-template name="find-agent"><xsl:with-pram name="message" select="/l:log/l:message[@type="response"]"/></xsl:call-template></to></head><xsl:call-template name="message1"/><xsl:call-template name="message2"/><xsl:call-template name="message3"/><xsl:call-template name="message4"/><xsl:call-template name="message5"/><xsl:call-template name="message6"/><xsl:call-template name="message7"/><xsl:call-template name="message8"/></resultSets></xsl:template><xsl:template name="find-agent"><xsl:param name="message"/><xsl:choose><xsl:when test="$message/l:httpHeaders/l:Server"><xsl:value-of select="$message/l:httpHeaders/l:Server"/></xsl:when><xsl:when test="$message/l:httpHeaders/l:User-Agent"><xsl:value-of select="$message/l:httpHeaders/l:User-Agent"/></xsl:when><xsl:otherwise>Unknown</xsl:otherwise></xsl:choose></xsl:template><xsl:template name="message1"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="1"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-pram name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="1"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@rawURI, "EchoName?first=myfirst;middle=mymiddle;last=mylast")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@rawURI, "EchoName?first=myfirst;middle=mymiddle;last=mylast")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/llog/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="1"]/l:content/text())>0">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="1"]/l:content/text())>0</test></resultSet></xsl:template><xsl:template name="message2"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="2"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attibute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/l:httpHeaders/l:StatusCode/@value='200'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/l:httpHeaders/l:StatusCode/@value='200'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="2"]/l:conten/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="2"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="2"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="2"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</test></resultSet></xsl:template><xsl:template name="message3"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="3"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/@type="request"">assed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@rawURI, "EchoNameExpectFault")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@rawURI, "EchoNameExpectFault")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwse>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="3"]/l:content/text())>0">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="3"]/l:content/text())>0</test></resultSet></xsl:template><xsl:template name="message4"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="4"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="4"]/@type="response"</test><test ref=""><sl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="4"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/l:httpHeaders/l:StatusCode/@value='500'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="4"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="4"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="4"]/l:content/*)=1</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="4"]/l:content*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="4"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet></xsl:template><xsl:template name="message5"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="5"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="5"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="5"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@numbe="5"]/l:httpHeaders/l:Method/@rawURI, "Send")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@rawURI, "Send")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="5"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="5"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="5"]/l:content/*)<=1">passed</xslwhen><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="5"]/l:content/*)<=1</test></resultSet></xsl:template><xsl:template name="message6"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="6"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="6"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="6"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="6"]/l:httpHeaders/l:StatusCode/@value='202'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="6"]/l:httpHeaders/l:StatusCode/@value'202'</test></resultSet></xsl:template><xsl:template name="message7"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="request" number="7"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="7"]/@type="request"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="7"]/@type="request"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="contains(/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@rawURI, "GuaranteedFault")">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>contains(/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@rawURI, "GuaranteedFault")</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:wen test="/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@value='POST'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@value='POST'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="7"]/l:content/*)=0">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="7"]/l:content/*)=0</test></resultSet></xsl:template><xsl:template name="message8"><resultSet binding="EchoMultipartHTTPBinding" endpoint="MessageTestMultipartHTTP" type="response" number="8"><xsl:attribute name="implementation"><xsl:call-template name="find-agent"><xsl:with-param name="message" select="."/></xsl:call-template></xsl:attribute><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/@type="response"">passed</xsl:when><xsl:otherwise>failed</xsl:otherwse></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/@type="response"</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/l:httpHeaders/l:Content-Type/@type='application/xml'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/l:httpHeaders/l:StatusCode/@value='500'">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref=""><xsl:attribute name="result"><xsl:choose><xsl:when test="count(/l:log/l:message[@number="8"]/l:content/*)=1">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>count(/l:log/l:message[@number="8"]/l:content/*)=1</test><test ref=""><xsl:atribute name="result"><xsl:choose><xsl:when test="/l:log/l:message[@number="8"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]">passed</xsl:when><xsl:otherwise>failed</xsl:otherwise></xsl:choose></xsl:attribute>/l:log/l:message[@number="8"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet></xsl:template></xsl:stylesheet> \ No newline at end of file Index: log-MessageMultipart1G-wso2-wso2-output.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/MessageMultipart-1G/log-MessageMultipart1G-wso2-wso2-output.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C 2 -d -r1.8 -r1.9 *** log-MessageMultipart1G-wso2-wso2-output.xml 19 Feb 2007 18:30:43 -0000 1.8 --- log-MessageMultipart1G-wso2-wso2-output.xml 19 Feb 2007 21:59:02 -0000 1.9 *************** *** 1,2 **** <?xml version="1.0" encoding="UTF-8"?> ! <resultSets xmlns:a="http://www.w3.org/2006/11/desc/assertions" xmlns:m="http://www.w3.org/2006/11/desc/messages" xmlns:l="http://www.w3.org/2002/ws/desc/logs/" xmlns:module="http://www.w3.org/2002/ws/desc/6/10/test-module" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"><head><messages>8</messages><expectedMessages>8</expectedMessages><tests>38</tests><tstamp>2007-02-11T16:43:40.619Z</tstamp><generated>February 19 2007</generated><from>Axis2</from><to>Apache-Coyote/1.1</to></head><resultSet number="1" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="1"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@rawURI, "EchoName?first=myfirst;middle=mymiddle;last=mylast")</test><test ref="" result="passed">/l:log/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='mltipart/form-data'</test><test ref="" result="passed">/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="failed">count(/l:log/l:message[@number="1"]/l:content/*)=1</test><test ref="" result="failed">/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</test></resultSet><resultSet number="2" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="2"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="2"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="2"]/l:httpHeaders/l:StatusCode/@value='200'</test><test ref="" result="passed">count(/l:log/l:message[@number="2"]/l:content/*)=1</test><test ref="" result="passed">/l:log/l:message[@number="2"]/l:content/*[local-name()='EchoName' and namespace-uri)='http://example.org/message-test/xsd']</test></resultSet><resultSet number="3" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="3"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@rawURI, "EchoNameExpectFault")</test><test ref="" result="passed">/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</test><test ref="" result="passed">/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="failed">count(/l:log/l:message[@number="3"]/l:content/*)=1</test><test ref="" result="failed">/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']</test></resultSet><resultSet number="4" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><tet ref="" result="passed">/l:log/l:message[@number="4"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="4"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="4"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref="" result="passed">count(/l:log/l:message[@number="4"]/l:content/*)=1</test><test ref="" result="passed">/l:log/l:message[@number="4"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet><resultSet number="5" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="5"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@rawURI, "Send")</test><test ref="" result="passed">/l:log/l:message[@number="5"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref=""result="passed">/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="passed">count(/l:log/l:message[@number="5"]/l:content/*)<=1</test></resultSet><resultSet number="6" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="6"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="6"]/l:httpHeaders/l:StatusCode/@value='202'</test></resultSet><resultSet number="7" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="7"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@rawURI, "GuaranteedFault")</test><test ref="" result="passed">/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="passed">count(/l:log/l:message[@numbr="7"]/l:content/*)=0</test></resultSet><resultSet number="8" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="8"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="8"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="8"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref="" result="passed">count(/l:log/l:message[@number="8"]/l:content/*)=1</test><test ref="" result="passed">/l:log/l:message[@number="8"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet></resultSets> \ No newline at end of file --- 1,2 ---- <?xml version="1.0" encoding="UTF-8"?> ! <resultSets xmlns:a="http://www.w3.org/2006/11/desc/assertions" xmlns:m="http://www.w3.org/2006/11/desc/messages" xmlns:l="http://www.w3.org/2002/ws/desc/logs/" xmlns:module="http://www.w3.org/2002/ws/desc/6/10/test-module" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"><head><messages>8</messages><expectedMessages>8</expectedMessages><tests>36</tests><tstamp>2007-02-11T16:43:40.619Z</tstamp><generated>February 19 2007</generated><from>Axis2</from><to>Apache-Coyote/1.1</to></head><resultSet number="1" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="1"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@rawURI, "EchoName?first=myfirst;middle=mymiddle;last=mylast")</test><test ref="" result="passed">/l:log/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='mltipart/form-data'</test><test ref="" result="passed">/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="passed">count(/l:log/l:message[@number="1"]/l:content/text())>0</test></resultSet><resultSet number="2" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="2"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="2"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="2"]/l:httpHeaders/l:StatusCode/@value='200'</test><test ref="" result="passed">count(/l:log/l:message[@number="2"]/l:content/*)=1</test><test ref="" result="passed">/l:log/l:message[@number="2"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</test></resultSet><resultSet number="3" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultiprtHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="3"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@rawURI, "EchoNameExpectFault")</test><test ref="" result="passed">/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</test><test ref="" result="passed">/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="passed">count(/l:log/l:message[@number="3"]/l:content/text())>0</test></resultSet><resultSet number="4" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="4"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="4"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="4"]/l:httpHeaders/l:StatusCode/@value='500'</test><tet ref="" result="passed">count(/l:log/l:message[@number="4"]/l:content/*)=1</test><test ref="" result="passed">/l:log/l:message[@number="4"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet><resultSet number="5" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="5"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@rawURI, "Send")</test><test ref="" result="passed">/l:log/l:message[@number="5"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="5"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="passed">count(/l:log/l:message[@number="5"]/l:content/*)<=1</test></resultSet><resultSet number="6" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implmentation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="6"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@number="6"]/l:httpHeaders/l:StatusCode/@value='202'</test></resultSet><resultSet number="7" type="request" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="7"]/@type="request"</test><test ref="" result="passed">contains(/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@rawURI, "GuaranteedFault")</test><test ref="" result="passed">/l:log/l:message[@number="7"]/l:httpHeaders/l:Method/@value='POST'</test><test ref="" result="passed">count(/l:log/l:message[@number="7"]/l:content/*)=0</test></resultSet><resultSet number="8" type="response" endpoint="MessageTestMultipartHTTP" binding="EchoMultipartHTTPBinding" implementation="Unknown"><test ref="" result="passed">/l:log/l:message[@number="8"]/@type="response"</test><test ref="" result="passed">/l:log/l:message[@nmber="8"]/l:httpHeaders/l:Content-Type/@type='application/xml'</test><test ref="" result="passed">/l:log/l:message[@number="8"]/l:httpHeaders/l:StatusCode/@value='500'</test><test ref="" result="passed">count(/l:log/l:message[@number="8"]/l:content/*)=1</test><test ref="" result="passed">/l:log/l:message[@number="8"]/l:content/*[local-name()="EchoNameFault" and namespace-uri()="http://example.org/message-test/xsd"]</test></resultSet></resultSets> \ No newline at end of file Index: description-xpath-assertions.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/MessageMultipart-1G/description-xpath-assertions.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C 2 -d -r1.2 -r1.3 *** description-xpath-assertions.xml 19 Feb 2007 18:30:43 -0000 1.2 --- description-xpath-assertions.xml 19 Feb 2007 21:59:02 -0000 1.3 *************** *** 27,32 **** <assertion>/l:log/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</assertion> <assertion>/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'</assertion> ! <assertion>count(/l:log/l:message[@number="1"]/l:content/*)=1</assertion> ! <assertion>/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</assertion> </assertionSet> <assertionSet messagePosition="2"> --- 27,31 ---- <assertion>/l:log/l:message[@number="1"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</assertion> <assertion>/l:log/l:message[@number="1"]/l:httpHeaders/l:Method/@value='POST'</assertion> ! <assertion>count(/l:log/l:message[@number="1"]/l:content/text())>0</assertion> </assertionSet> <assertionSet messagePosition="2"> *************** *** 83,88 **** <assertion>/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</assertion> <assertion>/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'</assertion> ! <assertion>count(/l:log/l:message[@number="3"]/l:content/*)=1</assertion> ! <assertion>/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']</assertion> </assertionSet> <assertionSet messagePosition="4"> --- 82,86 ---- <assertion>/l:log/l:message[@number="3"]/l:httpHeaders/l:Content-Type/@type='multipart/form-data'</assertion> <assertion>/l:log/l:message[@number="3"]/l:httpHeaders/l:Method/@value='POST'</assertion> ! <assertion>count(/l:log/l:message[@number="3"]/l:content/text())>0</assertion> </assertionSet> <assertionSet messagePosition="4"> Index: description-generate-report-html.xsl =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/MessageMultipart-1G/description-generate-report-html.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -C 2 -d -r1.1 -r1.2 *** description-generate-report-html.xsl 22 Jan 2007 11:36:25 -0000 1.1 --- description-generate-report-html.xsl 19 Feb 2007 21:59:02 -0000 1.2 *************** *** 171,197 **** </xsl:choose> <xsl:choose> ! <xsl:when test="count(/l:log/l:message[@number="1"]/l:content/*)=1"> ! <tr> ! <td class="passed"> ! <div>OK</div> ! </td> ! <td> ! <div class="assertion">count(/l:log/l:message[@number="1"]/l:content/*)=1</div> ! </td> ! </tr> ! </xsl:when> ! <xsl:otherwise> ! <tr> ! <td class="failed"> ! <div class="failed">FAILED</div> ! </td> ! <td> ! <div class="assertion">count(/l:log/l:message[@number="1"]/l:content/*)=1</div> ! </td> ! </tr> ! </xsl:otherwise> ! </xsl:choose> ! <xsl:choose> ! <xsl:when test="/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']"> <tr> <td class="passed"> --- 171,175 ---- </xsl:choose> <xsl:choose> ! <xsl:when test="count(/l:log/l:message[@number="1"]/l:content/text())>0"> <tr> <td class="passed"> *************** *** 199,203 **** </td> <td> ! <div class="assertion">/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</div> </td> </tr> --- 177,181 ---- </td> <td> ! <div class="assertion">count(/l:log/l:message[@number="1"]/l:content/text())>0</div> </td> </tr> *************** *** 209,213 **** </td> <td> ! <div class="assertion">/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</div> </td> </tr> --- 187,191 ---- </td> <td> ! <div class="assertion">count(/l:log/l:message[@number="1"]/l:content/text())>0</div> </td> </tr> *************** *** 468,494 **** </xsl:choose> <xsl:choose> ! <xsl:when test="count(/l:log/l:message[@number="3"]/l:content/*)=1"> ! <tr> ! <td class="passed"> ! <div>OK</div> ! </td> ! <td> ! <div class="assertion">count(/l:log/l:message[@number="3"]/l:content/*)=1</div> ! </td> ! </tr> ! </xsl:when> ! <xsl:otherwise> ! <tr> ! <td class="failed"> ! <div class="failed">FAILED</div> ! </td> ! <td> ! <div class="assertion">count(/l:log/l:message[@number="3"]/l:content/*)=1</div> ! </td> ! </tr> ! </xsl:otherwise> ! </xsl:choose> ! <xsl:choose> ! <xsl:when test="/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']"> <tr> <td class="passed"> --- 446,450 ---- </xsl:choose> <xsl:choose> ! <xsl:when test="count(/l:log/l:message[@number="3"]/l:content/text())>0"> <tr> <td class="passed"> *************** *** 496,500 **** </td> <td> ! <div class="assertion">/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']</div> </td> </tr> --- 452,456 ---- </td> <td> ! <div class="assertion">count(/l:log/l:message[@number="3"]/l:content/text())>0</div> </td> </tr> *************** *** 506,510 **** </td> <td> ! <div class="assertion">/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']</div> </td> </tr> --- 462,466 ---- </td> <td> ! <div class="assertion">count(/l:log/l:message[@number="3"]/l:content/text())>0</div> </td> </tr> Index: log-MessageMultipart1G-wso2-wso2-results.html =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/MessageMultipart-1G/log-MessageMultipart1G-wso2-wso2-results.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C 2 -d -r1.10 -r1.11 *** log-MessageMultipart1G-wso2-wso2-results.html 19 Feb 2007 20:26:24 -0000 1.10 --- log-MessageMultipart1G-wso2-wso2-results.html 19 Feb 2007 21:59:02 -0000 1.11 *************** *** 15,19 **** <h1>Message exchange test results</h1> <p>Generated February 19 2007, ! 1216</p> <h2>From Axis2 --- 15,19 ---- <h1>Message exchange test results</h1> <p>Generated February 19 2007, ! 1348</p> <h2>From Axis2 *************** *** 63,77 **** </tr> <tr> ! <td class="failed"> ! <div class="failed">FAILED</div> ! </td><td> ! <div class="assertion">count(/l:log/l:message[@number="1"]/l:content/*)=1</div> ! </td> ! </tr> ! <tr> ! <td class="failed"> ! <div class="failed">FAILED</div> </td><td> ! <div class="assertion">/l:log/l:message[@number="1"]/l:content/*[local-name()='EchoName' and namespace-uri()='http://example.org/message-test/xsd']</div> </td> </tr> --- 63,70 ---- </tr> <tr> ! <td class="passed"> ! <div>OK</div> </td><td> ! <div class="assertion">count(/l:log/l:message[@number="1"]/l:content/text())>0</div> </td> </tr> *************** *** 171,185 **** </tr> <tr> ! <td class="failed"> ! <div class="failed">FAILED</div> ! </td><td> ! <div class="assertion">count(/l:log/l:message[@number="3"]/l:content/*)=1</div> ! </td> ! </tr> ! <tr> ! <td class="failed"> ! <div class="failed">FAILED</div> </td><td> ! <div class="assertion">/l:log/l:message[@number="3"]/l:content/*[local-name()='EchoName2' and namespace-uri()='http://example.org/message-test/xsd']</div> </td> </tr> --- 164,171 ---- </tr> <tr> ! <td class="passed"> ! <div>OK</div> </td><td> ! <div class="assertion">count(/l:log/l:message[@number="3"]/l:content/text())>0</div> </td> </tr>
Received on Monday, 19 February 2007 21:59:28 UTC