camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [01/11] git commit: Skip tests on aix
Date Wed, 11 Sep 2013 11:20:42 GMT
Updated Branches:
  refs/heads/camel-2.11.x e2b2f6cd0 -> 2fd7c90cc
  refs/heads/camel-2.12.x 88b24c480 -> 281f3e893
  refs/heads/master a4b78c53e -> 5fdb8b00d


Skip tests on aix


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c2de561c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c2de561c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c2de561c

Branch: refs/heads/master
Commit: c2de561c1aaa2721624a4096ddb07717429f5e55
Parents: a4b78c5
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Sep 11 12:58:37 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Sep 11 12:58:37 2013 +0200

----------------------------------------------------------------------
 .../BeanValidatorConfigurationTest.java         | 10 +++++
 .../bean/validator/BeanValidatorRouteTest.java  | 40 ++++++++++++++++++++
 2 files changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c2de561c/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorConfigurationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorConfigurationTest.java
b/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorConfigurationTest.java
index ce97c33..b24a417 100644
--- a/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorConfigurationTest.java
+++ b/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorConfigurationTest.java
@@ -65,6 +65,11 @@ public class BeanValidatorConfigurationTest extends CamelTestSupport {
     
     @Test
     public void configureWithDefaults() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         ProcessorEndpoint endpoint = context.getEndpoint("bean-validator://x", ProcessorEndpoint.class);
         BeanValidator processor = (BeanValidator) endpoint.getProcessor();
 
@@ -77,6 +82,11 @@ public class BeanValidatorConfigurationTest extends CamelTestSupport {
     
     @Test
     public void configureBeanValidator() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         ProcessorEndpoint endpoint = context.getEndpoint("bean-validator://x"
                 + "?group=org.apache.camel.component.bean.validator.OptionalChecks"
                 + "&messageInterpolator=#myMessageInterpolator"

http://git-wip-us.apache.org/repos/asf/camel/blob/c2de561c/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorRouteTest.java
----------------------------------------------------------------------
diff --git a/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorRouteTest.java
b/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorRouteTest.java
index f2052dd..261df77 100644
--- a/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorRouteTest.java
+++ b/components/camel-bean-validator/src/test/java/org/apache/camel/component/bean/validator/BeanValidatorRouteTest.java
@@ -48,6 +48,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
 
     @Test
     public void validateShouldSuccessWithImpliciteDefaultGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         Exchange exchange = template.request("bean-validator://x", new Processor() {
             public void process(Exchange exchange) throws Exception {
                 exchange.getIn().setBody(createCar("BMW", "DD-AB-123"));
@@ -59,6 +64,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldSuccessWithExpliciteDefaultGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         Exchange exchange = template.request("bean-validator://x?group=javax.validation.groups.Default",
new Processor() {
             public void process(Exchange exchange) throws Exception {
                 exchange.getIn().setBody(createCar("BMW", "DD-AB-123"));
@@ -70,6 +80,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldFailWithImpliciteDefaultGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         final String url = "bean-validator://x";
         final Car car = createCar("BMW", null);
         
@@ -102,6 +117,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldFailWithExpliciteDefaultGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         final String url = "bean-validator://x?group=javax.validation.groups.Default";
         final Car car = createCar("BMW", null);
         
@@ -134,6 +154,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldFailWithOptionalChecksGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         final String url = "bean-validator://x?group=org.apache.camel.component.bean.validator.OptionalChecks";
         final Car car = createCar("BMW", "D-A");
         
@@ -166,6 +191,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldFailWithOrderedChecksGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         final String url = "bean-validator://x?group=org.apache.camel.component.bean.validator.OrderedChecks";
         final Car car = createCar(null, "D-A");
         
@@ -216,6 +246,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldSuccessWithRedefinedDefaultGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         final String url = "bean-validator://x";
         final Car car = new CarWithRedefinedDefaultGroup(null, "DD-AB-123");
         
@@ -230,6 +265,11 @@ public class BeanValidatorRouteTest extends CamelTestSupport {
     
     @Test
     public void validateShouldFailWithRedefinedDefaultGroup() throws Exception {
+        if (isPlatform("aix")) {
+            // cannot run on aix
+            return;
+        }
+
         final String url = "bean-validator://x";
         final Car car = new CarWithRedefinedDefaultGroup(null, "D-A");
         


Mime
View raw message