Enabled Jibx tests

master
Arjen Poutsma 16 years ago
parent 17fe9c9712
commit c3fcab05f0
  1. 22
      org.springframework.oxm/build.xml
  2. 2
      org.springframework.oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTest.java
  3. 1
      org.springframework.oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTest.java

@ -1,6 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.springframework.oxm">
<project name="org.springframework.oxm" xmlns:ivy="antlib:org.apache.ivy.ant">
<property file="${basedir}/../build.properties"/>
<import file="${basedir}/../build-spring-framework/package-bundle.xml"/>
<import file="${basedir}/../spring-build/standard/default.xml"/>
<macrodef name="test-post-compile">
<attribute name="classpath.id"/>
<attribute name="input.dir"/>
<attribute name="output.dir"/>
<attribute name="resources.dir"/>
<sequential>
<ivy:cachepath resolveId="jibx.classpath" pathid="jibx.classpath" organisation="net.sourceforge.jibx"
module="com.springsource.org.jibx.binding" revision="1.1.5"
conf="runtime" type="jar" inline="true" log="download-only"/>
<taskdef name="jibx-bind" classname="org.jibx.binding.ant.CompileTask" classpathref="jibx.classpath"/>
<jibx-bind load="true" binding="${basedir}/src/test/resources/org/springframework/oxm/jibx/binding.xml">
<classpathset dir="@{output.dir}">
<include name="**/jibx/**/*"/>
</classpathset>
</jibx-bind>
</sequential>
</macrodef>
</project>

@ -23,13 +23,11 @@ import static org.custommonkey.xmlunit.XMLAssert.assertXMLEqual;
import org.custommonkey.xmlunit.XMLUnit;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.oxm.AbstractMarshallerTestCase;
import org.springframework.oxm.Marshaller;
@Ignore("Code generation not yet support by Spring Build")
public class JibxMarshallerTest extends AbstractMarshallerTestCase {
@Override

@ -22,7 +22,6 @@ import org.junit.Ignore;
import org.springframework.oxm.AbstractUnmarshallerTestCase;
import org.springframework.oxm.Unmarshaller;
@Ignore("Code generation not yet support by Spring Build")
public class JibxUnmarshallerTest extends AbstractUnmarshallerTestCase {
@Override

Loading…
Cancel
Save