Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

StAX ValueSerialization: disabled tests on IBM JDK

  • Loading branch information...
commit 2d5b02b2fa0daec583606f571a14884c41fb4f03 1 parent 3be0f46
Paul Merlin eskatos authored
10 ...ueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxCollectionSerializationTest.java
@@ -15,14 +15,24 @@
15 15 */
16 16 package org.qi4j.valueserialization.stax;
17 17
  18 +import org.junit.BeforeClass;
18 19 import org.qi4j.bootstrap.AssemblyException;
19 20 import org.qi4j.bootstrap.ModuleAssembly;
20 21 import org.qi4j.test.value.AbstractCollectionSerializationTest;
21 22
  23 +import static org.junit.Assume.assumeTrue;
  24 +
22 25 public class StaxCollectionSerializationTest
23 26 extends AbstractCollectionSerializationTest
24 27 {
25 28
  29 + @BeforeClass
  30 + public static void beforeClass_IBMJDK()
  31 + {
  32 + // Ignore this test on IBM JDK
  33 + assumeTrue( !( System.getProperty( "java.vendor" ).contains( "IBM" ) ) );
  34 + }
  35 +
26 36 @Override
27 37 public void assemble( ModuleAssembly module )
28 38 throws AssemblyException
10 ...ueserialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxPlainValueSerializationTest.java
@@ -15,14 +15,24 @@
15 15 */
16 16 package org.qi4j.valueserialization.stax;
17 17
  18 +import org.junit.BeforeClass;
18 19 import org.qi4j.bootstrap.AssemblyException;
19 20 import org.qi4j.bootstrap.ModuleAssembly;
20 21 import org.qi4j.test.value.AbstractPlainValueSerializationTest;
21 22
  23 +import static org.junit.Assume.assumeTrue;
  24 +
22 25 public class StaxPlainValueSerializationTest
23 26 extends AbstractPlainValueSerializationTest
24 27 {
25 28
  29 + @BeforeClass
  30 + public static void beforeClass_IBMJDK()
  31 + {
  32 + // Ignore this test on IBM JDK
  33 + assumeTrue( !( System.getProperty( "java.vendor" ).contains( "IBM" ) ) );
  34 + }
  35 +
26 36 // START SNIPPET: assembly
27 37 @Override
28 38 public void assemble( ModuleAssembly module )
10 ...rialization-stax/src/test/java/org/qi4j/valueserialization/stax/StaxValueCompositeSerializationTest.java
@@ -15,14 +15,24 @@
15 15 */
16 16 package org.qi4j.valueserialization.stax;
17 17
  18 +import org.junit.BeforeClass;
18 19 import org.qi4j.bootstrap.AssemblyException;
19 20 import org.qi4j.bootstrap.ModuleAssembly;
20 21 import org.qi4j.test.value.AbstractValueCompositeSerializationTest;
21 22
  23 +import static org.junit.Assume.assumeTrue;
  24 +
22 25 public class StaxValueCompositeSerializationTest
23 26 extends AbstractValueCompositeSerializationTest
24 27 {
25 28
  29 + @BeforeClass
  30 + public static void beforeClass_IBMJDK()
  31 + {
  32 + // Ignore this test on IBM JDK
  33 + assumeTrue( !( System.getProperty( "java.vendor" ).contains( "IBM" ) ) );
  34 + }
  35 +
26 36 @Override
27 37 public void assemble( ModuleAssembly module )
28 38 throws AssemblyException

0 comments on commit 2d5b02b

Please sign in to comment.
Something went wrong with that request. Please try again.