polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [22/50] [abbrv] zest-qi4j git commit: StAX ValueSerialization: disabled tests on IBM JDK
Date Fri, 17 Apr 2015 16:05:42 GMT
StAX ValueSerialization: disabled tests on IBM JDK


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/2d5b02b2
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/2d5b02b2
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/2d5b02b2

Branch: refs/heads/master
Commit: 2d5b02b2fa0daec583606f571a14884c41fb4f03
Parents: 3be0f46
Author: Paul Merlin <paul@nosphere.org>
Authored: Wed Feb 13 16:58:15 2013 +0100
Committer: Paul Merlin <paul@nosphere.org>
Committed: Wed Feb 13 16:58:15 2013 +0100

----------------------------------------------------------------------
 .../stax/StaxCollectionSerializationTest.java             | 10 ++++++++++
 .../stax/StaxPlainValueSerializationTest.java             | 10 ++++++++++
 .../stax/StaxValueCompositeSerializationTest.java         | 10 ++++++++++
 3 files changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/2d5b02b2/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxCollectionSerializationTest.java
----------------------------------------------------------------------
diff --git a/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxCollectionSerializationTest.java
b/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxCollectionSerializationTest.java
index 1b8f109..30f392f 100644
--- a/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxCollectionSerializationTest.java
+++ b/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxCollectionSerializationTest.java
@@ -15,14 +15,24 @@
  */
 package org.qi4j.valueserialization.stax;
 
+import org.junit.BeforeClass;
 import org.qi4j.bootstrap.AssemblyException;
 import org.qi4j.bootstrap.ModuleAssembly;
 import org.qi4j.test.value.AbstractCollectionSerializationTest;
 
+import static org.junit.Assume.assumeTrue;
+
 public class StaxCollectionSerializationTest
     extends AbstractCollectionSerializationTest
 {
 
+    @BeforeClass
+    public static void beforeClass_IBMJDK()
+    {
+        // Ignore this test on IBM JDK
+        assumeTrue( !( System.getProperty( "java.vendor" ).contains( "IBM" ) ) );
+    }
+
     @Override
     public void assemble( ModuleAssembly module )
         throws AssemblyException

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/2d5b02b2/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxPlainValueSerializationTest.java
----------------------------------------------------------------------
diff --git a/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxPlainValueSerializationTest.java
b/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxPlainValueSerializationTest.java
index 3389e48..658a8c5 100644
--- a/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxPlainValueSerializationTest.java
+++ b/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxPlainValueSerializationTest.java
@@ -15,14 +15,24 @@
  */
 package org.qi4j.valueserialization.stax;
 
+import org.junit.BeforeClass;
 import org.qi4j.bootstrap.AssemblyException;
 import org.qi4j.bootstrap.ModuleAssembly;
 import org.qi4j.test.value.AbstractPlainValueSerializationTest;
 
+import static org.junit.Assume.assumeTrue;
+
 public class StaxPlainValueSerializationTest
     extends AbstractPlainValueSerializationTest
 {
 
+    @BeforeClass
+    public static void beforeClass_IBMJDK()
+    {
+        // Ignore this test on IBM JDK
+        assumeTrue( !( System.getProperty( "java.vendor" ).contains( "IBM" ) ) );
+    }
+
     // START SNIPPET: assembly
     @Override
     public void assemble( ModuleAssembly module )

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/2d5b02b2/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxValueCompositeSerializationTest.java
----------------------------------------------------------------------
diff --git a/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxValueCompositeSerializationTest.java
b/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxValueCompositeSerializationTest.java
index dd37660..f4c8e58 100644
--- a/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxValueCompositeSerializationTest.java
+++ b/extensions/valueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxValueCompositeSerializationTest.java
@@ -15,14 +15,24 @@
  */
 package org.qi4j.valueserialization.stax;
 
+import org.junit.BeforeClass;
 import org.qi4j.bootstrap.AssemblyException;
 import org.qi4j.bootstrap.ModuleAssembly;
 import org.qi4j.test.value.AbstractValueCompositeSerializationTest;
 
+import static org.junit.Assume.assumeTrue;
+
 public class StaxValueCompositeSerializationTest
     extends AbstractValueCompositeSerializationTest
 {
 
+    @BeforeClass
+    public static void beforeClass_IBMJDK()
+    {
+        // Ignore this test on IBM JDK
+        assumeTrue( !( System.getProperty( "java.vendor" ).contains( "IBM" ) ) );
+    }
+
     @Override
     public void assemble( ModuleAssembly module )
         throws AssemblyException


Mime
View raw message