Updated to fix test and build file
This commit is contained in:
@@ -555,6 +555,9 @@ project('spring-batch-integration') {
|
||||
optional "org.springframework:spring-jms:$springVersion"
|
||||
|
||||
optional "javax.batch:javax.batch-api:$javaxBatchApiVersion"
|
||||
|
||||
// JSR-305 only used for non-required meta-annotations
|
||||
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ import org.springframework.messaging.PollableChannel;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.ArgumentMatchers.eq;
|
||||
@@ -51,7 +50,7 @@ public class MessageChannelPartitionHandlerTests {
|
||||
//execute
|
||||
Collection<StepExecution> executions = messageChannelPartitionHandler.handle(stepExecutionSplitter, masterStepExecution);
|
||||
//verify
|
||||
assertNull(executions);
|
||||
assertTrue(executions.isEmpty());
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
|
||||
Reference in New Issue
Block a user