axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r551583 - in /webservices/axis2/trunk/java/modules/saaj: pom.xml test/org/apache/axis2/saaj/AttachmentTest.java
Date Thu, 28 Jun 2007 14:47:40 GMT
Author: dims
Date: Thu Jun 28 07:47:39 2007
New Revision: 551583

URL: http://svn.apache.org/viewvc?view=rev&rev=551583
Log:
Fix 1 failure and Narrow down the failures for AXIS2-2865. Fix only m2 build for 1.6

Modified:
    webservices/axis2/trunk/java/modules/saaj/pom.xml
    webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/AttachmentTest.java

Modified: webservices/axis2/trunk/java/modules/saaj/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/pom.xml?view=diff&rev=551583&r1=551582&r2=551583
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/saaj/pom.xml Thu Jun 28 07:47:39 2007
@@ -31,6 +31,52 @@
 		<developerConnection>scm:svn:https://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_2/modules/saaj</developerConnection>
 		<url>http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/saaj</url>
 	</scm>
+	<profiles>
+		<profile>
+			<id>java16</id>
+			<activation>
+				<jdk>1.6</jdk>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<artifactId>maven-surefire-plugin</artifactId>
+						<inherited>true</inherited>
+						<configuration>
+							<skip>false</skip>
+							<forkMode>pertest</forkMode>
+							<argLine>-Xms256m -Xmx512m</argLine>
+							<includes>
+							   <include>**/*Test.java</include>
+							</includes>
+							<excludes>
+							   <exclude>**/SAAJResultTest.java</exclude>
+							   <exclude>**/SOAPPartTest.java</exclude>
+							</excludes>
+							<systemProperties>
+								<property>
+									<name>javax.xml.soap.MessageFactory</name>
+									<value>org.apache.axis2.saaj.MessageFactoryImpl</value>
+								</property>
+								<property>
+									<name>javax.xml.soap.SOAPFactory</name>
+									<value>org.apache.axis2.saaj.SOAPFactoryImpl</value>
+								</property>
+								<property>
+									<name>javax.xml.soap.SOAPConnectionFactory</name>
+									<value>org.apache.axis2.saaj.SOAPConnectionFactoryImpl</value>
+								</property>
+								<property>
+									<name>javax.xml.soap.MetaFactory</name>
+									<value>org.apache.axis2.saaj.SAAJMetaFactoryImpl</value>
+								</property>
+							</systemProperties>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.axis2</groupId>
@@ -41,6 +87,11 @@
 			<groupId>org.apache.axis2</groupId>
 			<artifactId>axis2-kernel</artifactId>
 			<version>${version}</version>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
 		</dependency>
 		<dependency>
 			<groupId>xmlunit</groupId>

Modified: webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/AttachmentTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/AttachmentTest.java?view=diff&rev=551583&r1=551582&r2=551583
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/AttachmentTest.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/AttachmentTest.java
Thu Jun 28 07:47:39 2007
@@ -216,8 +216,7 @@
                         fail("Error: Received the same header1 header twice");
                         //System.out.println("received: name="+name+", value="+value);
                     }
-                } else if (name.equals("Content-Id") && value.equals("id@abc.com"))
{
-                    //TODO Content-Id or Content-ID??
+                } else if (name.equalsIgnoreCase("Content-Id") && value.equals("id@abc.com"))
{
                     if (!foundHeader2) {
                         foundHeader2 = true;
                         //MimeHeaders do match for header2



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message