Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
8b1022ef
Commit
8b1022ef
authored
Apr 07, 2015
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Spring Batch 3.0.4 snapshots
Closes gh-2712
parent
c51277f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
13 deletions
+1
-13
BatchAutoConfigurationTests.java
...boot/autoconfigure/batch/BatchAutoConfigurationTests.java
+0
-8
SampleIntegrationTests.java
.../org/springframework/boot/cli/SampleIntegrationTests.java
+0
-2
pom.xml
spring-boot-dependencies/pom.xml
+1
-1
SampleBatchApplicationTests.java
...c/test/java/sample/batch/SampleBatchApplicationTests.java
+0
-2
No files found.
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfigurationTests.java
View file @
8b1022ef
...
@@ -23,7 +23,6 @@ import javax.persistence.EntityManagerFactory;
...
@@ -23,7 +23,6 @@ import javax.persistence.EntityManagerFactory;
import
javax.sql.DataSource
;
import
javax.sql.DataSource
;
import
org.junit.After
;
import
org.junit.After
;
import
org.junit.Ignore
;
import
org.junit.Rule
;
import
org.junit.Rule
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.rules.ExpectedException
;
import
org.junit.rules.ExpectedException
;
...
@@ -85,7 +84,6 @@ public class BatchAutoConfigurationTests {
...
@@ -85,7 +84,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testDefaultContext
()
throws
Exception
{
public
void
testDefaultContext
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
.
register
(
TestConfiguration
.
class
,
this
.
context
.
register
(
TestConfiguration
.
class
,
...
@@ -122,7 +120,6 @@ public class BatchAutoConfigurationTests {
...
@@ -122,7 +120,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testDefinesAndLaunchesJob
()
throws
Exception
{
public
void
testDefinesAndLaunchesJob
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
.
register
(
JobConfiguration
.
class
,
this
.
context
.
register
(
JobConfiguration
.
class
,
...
@@ -136,7 +133,6 @@ public class BatchAutoConfigurationTests {
...
@@ -136,7 +133,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testDefinesAndLaunchesNamedJob
()
throws
Exception
{
public
void
testDefinesAndLaunchesNamedJob
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
...
@@ -153,7 +149,6 @@ public class BatchAutoConfigurationTests {
...
@@ -153,7 +149,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testDefinesAndLaunchesLocalJob
()
throws
Exception
{
public
void
testDefinesAndLaunchesLocalJob
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
...
@@ -169,7 +164,6 @@ public class BatchAutoConfigurationTests {
...
@@ -169,7 +164,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testDisableLaunchesJob
()
throws
Exception
{
public
void
testDisableLaunchesJob
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
...
@@ -183,7 +177,6 @@ public class BatchAutoConfigurationTests {
...
@@ -183,7 +177,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testDisableSchemaLoader
()
throws
Exception
{
public
void
testDisableSchemaLoader
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
EnvironmentTestUtils
.
addEnvironment
(
this
.
context
,
...
@@ -200,7 +193,6 @@ public class BatchAutoConfigurationTests {
...
@@ -200,7 +193,6 @@ public class BatchAutoConfigurationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
testUsingJpa
()
throws
Exception
{
public
void
testUsingJpa
()
throws
Exception
{
this
.
context
=
new
AnnotationConfigApplicationContext
();
this
.
context
=
new
AnnotationConfigApplicationContext
();
// The order is very important here: DataSource -> Hibernate -> Batch
// The order is very important here: DataSource -> Hibernate -> Batch
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
View file @
8b1022ef
...
@@ -63,7 +63,6 @@ public class SampleIntegrationTests {
...
@@ -63,7 +63,6 @@ public class SampleIntegrationTests {
}
}
@Test
@Test
@Ignore
(
"Due to the removal of ParameterizedRowMapper, Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
jobSample
()
throws
Exception
{
public
void
jobSample
()
throws
Exception
{
String
output
=
this
.
cli
.
run
(
"job.groovy"
,
"foo=bar"
);
String
output
=
this
.
cli
.
run
(
"job.groovy"
,
"foo=bar"
);
assertTrue
(
"Wrong output: "
+
output
,
assertTrue
(
"Wrong output: "
+
output
,
...
@@ -82,7 +81,6 @@ public class SampleIntegrationTests {
...
@@ -82,7 +81,6 @@ public class SampleIntegrationTests {
}
}
@Test
@Test
@Ignore
(
"Spring Batch is incompatible with Spring Framework 4.2"
)
public
void
jobWebSample
()
throws
Exception
{
public
void
jobWebSample
()
throws
Exception
{
String
output
=
this
.
cli
.
run
(
"job.groovy"
,
"web.groovy"
,
"foo=bar"
);
String
output
=
this
.
cli
.
run
(
"job.groovy"
,
"web.groovy"
,
"foo=bar"
);
assertTrue
(
"Wrong output: "
+
output
,
assertTrue
(
"Wrong output: "
+
output
,
...
...
spring-boot-dependencies/pom.xml
View file @
8b1022ef
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<spring.version>
4.2.0.BUILD-SNAPSHOT
</spring.version>
<spring.version>
4.2.0.BUILD-SNAPSHOT
</spring.version>
<spring-amqp.version>
1.4.4.RELEASE
</spring-amqp.version>
<spring-amqp.version>
1.4.4.RELEASE
</spring-amqp.version>
<spring-cloud-connectors.version>
1.1.1.RELEASE
</spring-cloud-connectors.version>
<spring-cloud-connectors.version>
1.1.1.RELEASE
</spring-cloud-connectors.version>
<spring-batch.version>
3.0.
3.RELEASE
</spring-batch.version>
<spring-batch.version>
3.0.
4.BUILD-SNAPSHOT
</spring-batch.version>
<spring-data-releasetrain.version>
Fowler-RC1
</spring-data-releasetrain.version>
<spring-data-releasetrain.version>
Fowler-RC1
</spring-data-releasetrain.version>
<spring-hateoas.version>
0.16.0.RELEASE
</spring-hateoas.version>
<spring-hateoas.version>
0.16.0.RELEASE
</spring-hateoas.version>
<spring-integration.version>
4.1.3.RELEASE
</spring-integration.version>
<spring-integration.version>
4.1.3.RELEASE
</spring-integration.version>
...
...
spring-boot-samples/spring-boot-sample-batch/src/test/java/sample/batch/SampleBatchApplicationTests.java
View file @
8b1022ef
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
package
sample
.
batch
;
package
sample
.
batch
;
import
org.junit.Ignore
;
import
org.junit.Rule
;
import
org.junit.Rule
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
...
@@ -25,7 +24,6 @@ import org.springframework.boot.test.OutputCapture;
...
@@ -25,7 +24,6 @@ import org.springframework.boot.test.OutputCapture;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
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
{
public
class
SampleBatchApplicationTests
{
@Rule
@Rule
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment