Skip to content
Browse files

StAX ValueSerialization: disabled tests on IBM JDK

  • Loading branch information...
1 parent 3be0f46 commit 2d5b02b2fa0daec583606f571a14884c41fb4f03 @eskatos eskatos committed Feb 13, 2013
View
10 ...-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
View
10 ...-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 )
View
10 ...x/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

0 comments on commit 2d5b02b

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