cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <nagendra.r...@tejasoft.com>
Subject CXF Test Cases failing
Date Mon, 28 Apr 2014 14:09:13 GMT
Hi,

CXF mvn packaging target fails

Apr 28, 2014 7:34:03 PM 
org.apache.cxf.tools.validator.internal.WSDLRefValidator
  collectValidationPoints
WARNING: WSDL document 
file:/C:/temp/cxf/tools/wsdlto/test/target/test-classes/w
sdl2java_wsdl/no_port_or_service.wsdl does not define any services
Tests run: 69, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.323 
sec <<<
FAILURE! - in org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
testNamespacePackageMapping3(org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest)
Time elapsed: 0.246 sec <<< ERROR!
org.apache.cxf.tools.common.ToolException: FAIL_TO_WRITE_FILE
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
         at 
org.apache.cxf.tools.util.OutputStreamCreator.createOutputStream(Outp
utStreamCreator.java:33)
         at 
org.apache.cxf.tools.util.FileWriterUtil.getWriter(FileWriterUtil.jav
a:68)
         at 
org.apache.cxf.tools.util.FileWriterUtil.getWriter(FileWriterUtil.jav
a:75)
         at 
org.apache.cxf.tools.wsdlto.core.AbstractGenerator.parseOutputName(Ab
stractGenerator.java:88)
         at 
org.apache.cxf.tools.wsdlto.core.AbstractGenerator.parseOutputName(Ab
stractGenerator.java:105)
         at 
org.apache.cxf.tools.wsdlto.frontend.jaxws.generators.SEIGenerator.ge
nerate(SEIGenerator.java:126)
         at 
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJav
aContainer.java:299)
         at 
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon
tainer.java:164)
         at 
org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest.testNamespacePackage
Mapping3(CodeGenBugTest.java:202)

Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.249 
sec - in
org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
WSIBP Validator found 
<{http://apache.org/xml_http_bare}GreetingPortTypeXMLBindi
ng> is NOT a SOAP binding
WSIBP Validator found 
<{http://apache.org/xml_http_wrapped}GreetingPortTypeXMLBi
nding> is NOT a SOAP binding
Apr 28, 2014 7:34:16 PM 
org.apache.cxf.tools.validator.internal.WSDLRefValidator
  collectValidationPoints
WARNING: WSDL document 
file:/C:/temp/cxf/tools/wsdlto/test/target/test-classes/w
sdl2java_wsdl/helloworld-noservice-header.wsdl does not define any services
Apr 28, 2014 7:34:17 PM 
org.apache.cxf.tools.validator.internal.WSDLRefValidator
  collectValidationPoints
WARNING: WSDL document 
file:/C:/temp/cxf/tools/wsdlto/test/target/test-classes/w
sdl2java_wsdl/hello_world_async_noservice.wsdl does not define any services
Apr 28, 2014 7:34:21 PM org.apache.cxf.tools.common.ToolErrorListener 
addWarning

WARNING: 
file:/C:/temp/cxf/tools/wsdlto/test/target/test-classes/wsdl2java_wsdl/
swa-mime.wsdl [34,25]: An xmime:expectedContentTypes attribute is 
present on an
incorrect element
Tests run: 60, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.991 
sec <<<
FAILURE! - in org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
testWrapperWithWildcard(org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest)  
Time ela
psed: 0.003 sec <<< ERROR!
java.io.IOException: a folder with the name 'classes' already exists
         at 
org.junit.rules.TemporaryFolder.newFolder(TemporaryFolder.java:97)
         at 
org.junit.rules.TemporaryFolder.newFolder(TemporaryFolder.java:84)
         at 
org.apache.cxf.tools.wsdlto.AbstractCodeGenTest$1.before(AbstractCode
GenTest.java:42)
         at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)

         at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)

         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
         at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
ner.java:70)
         at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
ner.java:50)
         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
         at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
         at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
         at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provide
r.java:264)
         at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4
Provider.java:153)
         at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider
.java:124)
         at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameCla
ssLoader(ForkedBooter.java:200)
         at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork
edBooter.java:153)
         at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:
103)

I am using JDK 6.0 and trunk of cxf code.

Any way to fix it.

Regards,
Nagendra

-- 
*Raja Nagendra Kumar*
Founder & C.T.O 	
*Mobile:* +91-9886723872
	*Email:* nagendra.raja@tejasoft.com <mailto:nagendra.raja@tejasoft.com>
*IM:* nagendra.raja (Skype)
*http://in.linkedin.com/in/nagkumar*
	*TejaSoft Innovations Pvt Ltd*
<http://www.tejasoft.com>
Factor 4 Results

See who we know in common 
<http://www.linkedin.com/e/wwk/5094208/?hs=false&tok=0bfzEZotG8slI1> 
Want a signature like this? 
<http://www.linkedin.com/e/sig/5094208/?hs=false&tok=0uLVu92uq8slI1>


Mime
View raw message