From 25b6f6b634f9b74fb0a1dcf66c90875b73e0d04d Mon Sep 17 00:00:00 2001 From: dsyer Date: Mon, 11 Jan 2010 16:18:42 +0000 Subject: [PATCH] BATCH-1481: update for Spring 3. --- .../batch/test/StepScopeTestExecutionListener.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java b/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java index 5c143ef3d..ec82fb980 100644 --- a/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java +++ b/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java @@ -105,6 +105,18 @@ public class StepScopeTestExecutionListener implements TestExecutionListener { } } + /* + * Support for Spring 3.0 (empty). + */ + public void afterTestClass(TestContext testContext) throws Exception { + } + + /* + * Support for Spring 3.0 (empty). + */ + public void beforeTestClass(TestContext testContext) throws Exception { + } + /** * Discover a {@link StepExecution} as a field in the test case or create * one if none is available. @@ -165,4 +177,5 @@ public class StepScopeTestExecutionListener implements TestExecutionListener { } } } + }