diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfigurationTests.java index 6cf4186c03..02c8e92eb2 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfigurationTests.java @@ -23,7 +23,6 @@ import javax.persistence.EntityManagerFactory; import javax.sql.DataSource; import org.junit.After; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -85,7 +84,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testDefaultContext() throws Exception { this.context = new AnnotationConfigApplicationContext(); this.context.register(TestConfiguration.class, @@ -122,7 +120,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testDefinesAndLaunchesJob() throws Exception { this.context = new AnnotationConfigApplicationContext(); this.context.register(JobConfiguration.class, @@ -136,7 +133,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testDefinesAndLaunchesNamedJob() throws Exception { this.context = new AnnotationConfigApplicationContext(); EnvironmentTestUtils.addEnvironment(this.context, @@ -153,7 +149,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testDefinesAndLaunchesLocalJob() throws Exception { this.context = new AnnotationConfigApplicationContext(); EnvironmentTestUtils.addEnvironment(this.context, @@ -169,7 +164,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testDisableLaunchesJob() throws Exception { this.context = new AnnotationConfigApplicationContext(); EnvironmentTestUtils.addEnvironment(this.context, @@ -183,7 +177,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testDisableSchemaLoader() throws Exception { this.context = new AnnotationConfigApplicationContext(); EnvironmentTestUtils.addEnvironment(this.context, @@ -200,7 +193,6 @@ public class BatchAutoConfigurationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void testUsingJpa() throws Exception { this.context = new AnnotationConfigApplicationContext(); // The order is very important here: DataSource -> Hibernate -> Batch diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java index 5e80ea77ca..d0453f119b 100644 --- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java +++ b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java @@ -63,7 +63,6 @@ public class SampleIntegrationTests { } @Test - @Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public void jobSample() throws Exception { String output = this.cli.run("job.groovy", "foo=bar"); assertTrue("Wrong output: " + output, @@ -82,7 +81,6 @@ public class SampleIntegrationTests { } @Test - @Ignore("Spring Batch is incompatible with Spring Framework 4.2") public void jobWebSample() throws Exception { String output = this.cli.run("job.groovy", "web.groovy", "foo=bar"); assertTrue("Wrong output: " + output, diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index f13c3b32ea..09da537cc9 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -118,7 +118,7 @@ 4.2.0.BUILD-SNAPSHOT 1.4.4.RELEASE 1.1.1.RELEASE - 3.0.3.RELEASE + 3.0.4.BUILD-SNAPSHOT Fowler-RC1 0.16.0.RELEASE 4.1.3.RELEASE diff --git a/spring-boot-samples/spring-boot-sample-batch/src/test/java/sample/batch/SampleBatchApplicationTests.java b/spring-boot-samples/spring-boot-sample-batch/src/test/java/sample/batch/SampleBatchApplicationTests.java index b7365cd4e5..6b469edd87 100644 --- a/spring-boot-samples/spring-boot-sample-batch/src/test/java/sample/batch/SampleBatchApplicationTests.java +++ b/spring-boot-samples/spring-boot-sample-batch/src/test/java/sample/batch/SampleBatchApplicationTests.java @@ -16,7 +16,6 @@ package sample.batch; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.springframework.boot.SpringApplication; @@ -25,7 +24,6 @@ import org.springframework.boot.test.OutputCapture; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -@Ignore("Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2") public class SampleBatchApplicationTests { @Rule