IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7 More Statistics removal
This commit is contained in:
@@ -45,7 +45,7 @@ public class StepContributionTests extends TestCase {
|
||||
* Test method for
|
||||
* {@link org.springframework.batch.core.domain.StepContribution#setStreamContext(StreamContext)}.
|
||||
*/
|
||||
public void testSetStatistics() {
|
||||
public void testSetStreamContext() {
|
||||
assertEquals(null, contribution.getStreamContext());
|
||||
contribution.setStreamContext(new GenericStreamContext(PropertiesConverter.stringToProperties("foo=bar")));
|
||||
assertEquals(1, contribution.getStreamContext().getProperties().size());
|
||||
|
||||
@@ -198,7 +198,7 @@ public class StepExecutionTests extends TestCase {
|
||||
execution.toString().indexOf("rollback") >= 0);
|
||||
}
|
||||
|
||||
public void testStatistics() throws Exception {
|
||||
public void testStreamContext() throws Exception {
|
||||
assertNotNull(execution.getStreamContext());
|
||||
StreamContext context = new StreamContext();
|
||||
context.putString("foo", "bar");
|
||||
|
||||
Reference in New Issue
Block a user