camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r896839 - in /camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor: MarshalDomainObjectTest.java MarshalWithMappingDomainObjectTest.java
Date Thu, 07 Jan 2010 10:25:56 GMT
Author: davsclaus
Date: Thu Jan  7 10:25:01 2010
New Revision: 896839

URL: http://svn.apache.org/viewvc?rev=896839&view=rev
Log:
Skipping tests if not possible to run on box

Modified:
    camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalDomainObjectTest.java
    camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalWithMappingDomainObjectTest.java

Modified: camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalDomainObjectTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalDomainObjectTest.java?rev=896839&r1=896838&r2=896839&view=diff
==============================================================================
--- camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalDomainObjectTest.java
(original)
+++ camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalDomainObjectTest.java
Thu Jan  7 10:25:01 2010
@@ -28,6 +28,11 @@
 
     @Test
     public void testMarshalDomainObject() throws Exception {
+        // some platform cannot test using Castor as it uses a SUN dependent Xerces
+        if (isPlatform("aix")) {
+            return;
+        }
+
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);
 
@@ -43,6 +48,11 @@
 
     @Test
     public void testMarshalDomainObjectTwice() throws Exception {
+        // some platform cannot test using Castor as it uses a SUN dependent Xerces
+        if (isPlatform("aix")) {
+            return;
+        }
+
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(2);
 

Modified: camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalWithMappingDomainObjectTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalWithMappingDomainObjectTest.java?rev=896839&r1=896838&r2=896839&view=diff
==============================================================================
--- camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalWithMappingDomainObjectTest.java
(original)
+++ camel/trunk/components/camel-castor/src/test/java/org/apache/camel/dataformat/castor/MarshalWithMappingDomainObjectTest.java
Thu Jan  7 10:25:01 2010
@@ -28,6 +28,11 @@
 
     @Test
     public void testMarshalDomainObject() throws Exception {
+        // some platform cannot test using Castor as it uses a SUN dependent Xerces
+        if (isPlatform("aix")) {
+            return;
+        }
+
         MockEndpoint mock = getMockEndpoint("mock:marshal");
         mock.expectedMessageCount(1);
 
@@ -41,6 +46,11 @@
 
     @Test
     public void testUnmarshalDomainObject() throws Exception {
+        // some platform cannot test using Castor as it uses a SUN dependent Xerces
+        if (isPlatform("aix")) {
+            return;
+        }
+
         MockEndpoint mock = getMockEndpoint("mock:unmarshal");
         mock.expectedMessageCount(1);
 



Mime
View raw message