[
https://issues.apache.org/jira/browse/CXF-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551734
]
Jeff Zhang commented on CXF-1284:
---------------------------------
common/common
==============
W3CDOMSteamReaderTest:testReader
org.junit.ComparisonFailure: expected:<....0"
encoding="utf-8"[]?><SOAP-ENV:Envelope...> but was:<....0" encoding="utf-8"[
standalone="no"]?><SOAP-ENV:Envelope...>
caused by different stax reader impl.
match string standalone="no" could pass the test
frontend/jaxws
===========
jaxws.ServiceImplTest:testNonSpecificGetPort
java.lang.AssertionError: unexpected port selected expected:<{http://apache.org/
hello_world_soap_http}SoapPort> but
was:<{http://apache.org/hello_world_soap_http}SoapPort1>
Currently CXF testcase is not right.
=====================
public void testNonSpecificGetPort() throws Exception {
SOAPService service = new SOAPService();
Greeter proxy = service.getPort(Greeter.class); <= this maybe get
another PortName
Client client = ClientProxy.getClient(proxy);
assertEquals("unexpected port selected",
SOAP_PORT,
client.getEndpoint().getEndpointInfo().getName());
======================
<wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
<soap:address
location="http://localhost:9000/SoapContext/SoapPort"/>
</wsdl:port>
<wsdl:port name="SoapPort1" binding="tns:Greeter_SOAPBinding">
<soap:address
location="http://localhost:7000/SoapContext/SoapPort"/>
</wsdl:port>
===================
Currently testcase passed since SoapPort is the first on the returning
collection, but for jdk1.6, SoapPort1 return
We can check two PORT both on by one to make the test pass.
javascript
========
javascript.DocLitBareClientTest:callCompliantNoArgs
callCompliantNoArgs(org.apache.cxf.javascript.DocLitBareClientTest) Time
elapsed: 0.375 sec <<< FAILURE!
java.lang.AssertionError: expected:<horsefeathers> but was:<null>
I think this failed caused by js libary version
> fix failed testcase on jdk1.6
> -----------------------------
>
> Key: CXF-1284
> URL: https://issues.apache.org/jira/browse/CXF-1284
> Project: CXF
> Issue Type: Sub-task
> Environment: cxf trunk, sun jdk 1.6.0_10ea, XP
> Reporter: Jeff Zhang
> Fix For: 2.1
>
>
> run test on jdk1.6.0_10ea
> some test failed:
> common/common
> ==============
> W3CDOMSteamReader:testReader
> tools
> wsdl/test
> =======
> Failed tests:
> testNonUniqueBody(org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest)
> testCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
> testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
> Tests in error:
> testWsdlNoService(org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest)
> testNoServiceImport(org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest)
> testNoServiceNOPortType(org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest)
> Tests run: 106, Failures: 3, Errors: 3, Skipped: 0
> javato
> ====
> Failed tests:
>
> testDocLitWrappedWithWrapperClass(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderTest)
>
> testDocWrappedWithLocalName(org.apache.cxf.tools.java2wsdl.processor.internaljaxws.JaxwsServiceBuilderTest)
>
> testHolder(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderTest)
>
> testSoapHeader(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderTest)
>
> testRpcLitNoSEI(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderTest)
> testAegisBasic(org.apache.cxf.tools.java2ws.AegisTest)
>
> testGeneratedWithElementryClass(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderNoAnnoTest)
>
>
> testGeneratedWithDocWrappedClass(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderNoAnnoTest)
>
> testGeneratedWithRPCClass(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderNoAnnoTest)
>
> testGreeter(org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderRPCTest)
> 10 failed
> rt
> frontend/jaxws
> ===========
> jaxws.ServiceImplTest:testNonSpecificGetPort
> javascript
> ========
> javascript.DocLitBareClientTest:callCompliantNoArgs
> systests
> =======
> jaxws.ClientServerTest:GetPortOneParam
> BasicConnect2
> ProviderXMLClientServerTest:testDomSourcePAYLOAD
> SpringServletTest:testGetWSDL
> servlet.ExternalServicesServletTest:testGetServiceList
> CXFServletTest
> Failed tests:
> testGetWSDL(org.apache.cxf.systest.servlet.CXFServletTest)
> testGetServiceList(org.apache.cxf.systest.servlet.CXFServletTest)
> testGetWSDLWithXMLBinding(org.apache.cxf.systest.servlet.CXFServletTest)
> provider.ProviderRPCClientServerTest:testSWA
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.