Author: thilina
Date: Fri Jul 21 22:26:35 2006
New Revision: 424525
URL: http://svn.apache.org/viewvc?rev=424525&view=rev
Log:
Fixed the test failures occured with latest sun mail & activation jars.
Had incorrect hardcoded content-type strings in the test cases
Modified:
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/IncomingAttachmentInputTest.java
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/MIMEHelperTest.java
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/PartOnFileTest.java
Modified:
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/IncomingAttachmentInputTest.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/IncomingAttachmentInputTest.java?rev=424525&r1=424524&r2=424525&view=diff
==============================================================================
---
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/IncomingAttachmentInputTest.java
(original)
+++
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/IncomingAttachmentInputTest.java
Fri Jul 21 22:26:35 2006
@@ -34,7 +34,7 @@
}
String inMimeFileName = "mtom/MTOMAttachmentStream.bin";
- String contentTypeString = "multipart/related;
boundary=MIMEBoundaryurn:uuid:A3ADBAEE51A1A87B2A11443668160701;
type=\"application/xop+xml\"; start=\"<0.urn:uuid:[EMAIL PROTECTED]>\";
start-info=\"application/soap+xml\"; charset=UTF-8;action=\"mtomSample\"";
+ String contentTypeString = "multipart/related;
boundary=\"MIMEBoundaryurn:uuid:A3ADBAEE51A1A87B2A11443668160701\";
type=\"application/xop+xml\"; start=\"<0.urn:uuid:[EMAIL PROTECTED]>\";
start-info=\"application/soap+xml\"; charset=UTF-8;action=\"mtomSample\"";
File temp;
public void testIncomingAttachmentInputStreamFunctions() throws
Exception {
Modified:
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/MIMEHelperTest.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/MIMEHelperTest.java?rev=424525&r1=424524&r2=424525&view=diff
==============================================================================
---
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/MIMEHelperTest.java
(original)
+++
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/MIMEHelperTest.java
Fri Jul 21 22:26:35 2006
@@ -38,7 +38,7 @@
String img1FileName = "mtom/img/test.jpg";
String img2FileName = "mtom/img/test2.jpg";
- String contentTypeString = "multipart/related;
boundary=MIMEBoundaryurn:uuid:A3ADBAEE51A1A87B2A11443668160701;
type=\"application/xop+xml\"; start=\"<0.urn:uuid:[EMAIL PROTECTED]>\";
start-info=\"application/soap+xml\"; charset=UTF-8;action=\"mtomSample\"";
+ String contentTypeString = "multipart/related;
boundary=\"MIMEBoundaryurn:uuid:A3ADBAEE51A1A87B2A11443668160701\";
type=\"application/xop+xml\"; start=\"<0.urn:uuid:[EMAIL PROTECTED]>\";
start-info=\"application/soap+xml\"; charset=UTF-8;action=\"mtomSample\"";
public void testMIMEHelper() {
}
Modified:
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/PartOnFileTest.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/PartOnFileTest.java?rev=424525&r1=424524&r2=424525&view=diff
==============================================================================
---
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/PartOnFileTest.java
(original)
+++
webservices/commons/trunk/modules/axiom/test/org/apache/axiom/attachments/PartOnFileTest.java
Fri Jul 21 22:26:35 2006
@@ -37,7 +37,7 @@
}
String inMimeFileName = "mtom/MTOMAttachmentStream.bin";
- String contentTypeString = "multipart/related;
boundary=MIMEBoundaryurn:uuid:A3ADBAEE51A1A87B2A11443668160701;
type=\"application/xop+xml\"; start=\"<0.urn:uuid:[EMAIL PROTECTED]>\";
start-info=\"application/soap+xml\"; charset=UTF-8;action=\"mtomSample\"";
+ String contentTypeString = "multipart/related;
boundary=\"MIMEBoundaryurn:uuid:A3ADBAEE51A1A87B2A11443668160701\";
type=\"application/xop+xml\"; start=\"<0.urn:uuid:[EMAIL PROTECTED]>\";
start-info=\"application/soap+xml\"; charset=UTF-8;action=\"mtomSample\"";
File temp;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]