camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r905907 - in /camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom: CxfMtomConsumerTest.java CxfMtomProducerPayloadModeTest.java CxfMtomRouterPayloadModeTest.java
Date Wed, 03 Feb 2010 06:21:38 GMT
Author: ningjiang
Date: Wed Feb  3 06:21:37 2010
New Revision: 905907

URL: http://svn.apache.org/viewvc?rev=905907&view=rev
Log:
Try to fixed the TC test errors on Mac OSX

Modified:
    camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomConsumerTest.java
    camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomProducerPayloadModeTest.java
    camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomRouterPayloadModeTest.java

Modified: camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomConsumerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomConsumerTest.java?rev=905907&r1=905906&r2=905907&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomConsumerTest.java
(original)
+++ camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomConsumerTest.java
Wed Feb  3 06:21:37 2010
@@ -87,8 +87,9 @@
     
     @Test
     public void testInvokingServiceFromCXFClient() throws Exception {        
-        
-        if (Boolean.getBoolean("java.awt.headless")) {
+       
+        if (Boolean.getBoolean("java.awt.headless") 
+            || System.getProperty("os.name").startsWith("Mac OS") && System.getProperty("user.name").equals("cruise"))
{
             System.out.println("Running headless. Skipping test as Images may not work.");
             return;
         }        

Modified: camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomProducerPayloadModeTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomProducerPayloadModeTest.java?rev=905907&r1=905906&r2=905907&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomProducerPayloadModeTest.java
(original)
+++ camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomProducerPayloadModeTest.java
Wed Feb  3 06:21:37 2010
@@ -79,7 +79,8 @@
     @Test
     public void testProducer() throws Exception {
         
-        if (Boolean.getBoolean("java.awt.headless")) {
+        if (Boolean.getBoolean("java.awt.headless")
+            || System.getProperty("os.name").startsWith("Mac OS") && System.getProperty("user.name").equals("cruise"))
{
             System.out.println("Running headless. Skipping test as Images may not work.");
             return;
         }     

Modified: camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomRouterPayloadModeTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomRouterPayloadModeTest.java?rev=905907&r1=905906&r2=905907&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomRouterPayloadModeTest.java
(original)
+++ camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/CxfMtomRouterPayloadModeTest.java
Wed Feb  3 06:21:37 2010
@@ -73,7 +73,8 @@
     @Test
     public void testInvokingServiceFromCXFClient() throws Exception {        
         
-        if (Boolean.getBoolean("java.awt.headless")) {
+        if (Boolean.getBoolean("java.awt.headless")
+            || System.getProperty("os.name").startsWith("Mac OS") && System.getProperty("user.name").equals("cruise"))
{
             System.out.println("Running headless. Skipping test as Images may not work.");
             return;
         }        



Mime
View raw message