Tests are ready ..... No need of any configurations...
On 7/27/05, Venkat Reddy <[EMAIL PROTECTED]> wrote:
Can someone remove the testcases, from the Axis2 test harness, if the
tests are not yet ready? If there is any configuration needed for
these testscase, we can update the README etc.
Currently i have the following failing.
[junit] Running org.apache.axis2.attachments.ImageSampleTest
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.719 sec
[junit] [ERROR] TEST org.apache.axis2.attachments.ImageSampleTest FAILED
[junit] Running
org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec
[junit] [ERROR] TEST
org.apache.axis2.om.impl.llom.mtom.MTOMStAXSOAPModelBuilderTest FAILED
[junit] Running org.apache.axis2.om.impl.llom.OMOutputTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.468 sec
[junit] [ERROR] TEST org.apache.axis2.om.impl.llom.OMOutputTest FAILED
with all the 3 test reports showing the following stack trace.
Testcase: testImageSampleSerialize(org.apache.axis2.attachments.ImageSampleTest ): Caused
an ERROR
Problem with the OutputStream.
org.apache.axis2.om.OMException: Problem with the OutputStream.
at org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:66)
at org.apache.axis2.om.impl.OMOutputImpl.flush(OMOutputImpl.java:76)
at org.apache.axis2.attachments.ImageSampleTest.testImageSampleSerialize(ImageSampleTest.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: javax.activation.UnsupportedDataTypeException: text/xml
at javax.activation.DataHandler.writeTo(DataHandler.java:76)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:211)
at org.apache.axis2.om.impl.MIMEOutputUtils.writeBodyPart (MIMEOutputUtils.java:114)
at org.apache.axis2.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:56)
... 16 more
Testcase: testImageSampleDeserialize(org.apache.axis2.attachments.ImageSampleTest ): Caused
an ERROR
Referenced MIME part not found.End of Stream reached.
org.apache.axis2.om.OMException: Referenced MIME part not found.End of
Stream reached.
at org.apache.axis2.attachments.MIMEHelper.getMimeBodyPart (MIMEHelper.java:279)
at org.apache.axis2.attachments.MIMEHelper.getNextPart(MIMEHelper.java:307)
at org.apache.axis2.attachments.MIMEHelper.getDataHandler(MIMEHelper.java:236)
at org.apache.axis2.attachments.MIMEHelper.getSOAPPartInputStream (MIMEHelper.java:197)
at org.apache.axis2.attachments.ImageSampleTest.testImageSampleDeserialize(ImageSampleTest.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
--
"May the SourcE be with u"
http://www.bloglines.com/blog/thilina
