IN PROGRESS - issue BATCH-212: Merge InputSource with ItemProvider

http://opensource.atlassian.com/projects/spring/browse/BATCH-212

Rename class and method names (Provider -> Reader)
This commit is contained in:
dsyer
2007-12-17 14:12:24 +00:00
parent 67a7a2de5b
commit fe54a6f38d
26 changed files with 47 additions and 47 deletions

View File

@@ -56,7 +56,7 @@ public class StagingItemReaderTests extends
getJdbcTemplate().update("DELETE FROM BATCH_STAGING");
}
public void testProviderUpdatesProcessIndicator() throws Exception {
public void testReaderUpdatesProcessIndicator() throws Exception {
long id = getJdbcTemplate().queryForLong(
"SELECT MIN(ID) from BATCH_STAGING where JOB_ID=?",
@@ -77,7 +77,7 @@ public class StagingItemReaderTests extends
}
public void testUpdateProcessIndicatorAfterCommit() throws Exception {
testProviderUpdatesProcessIndicator();
testReaderUpdatesProcessIndicator();
setComplete();
endTransaction();
startNewTransaction();

View File

@@ -38,7 +38,7 @@ public class ExceptionRestartableTaskletTests extends TestCase {
module.setItemProcessor(itemProcessor);
module.setThrowExceptionOnRecordNumber(ITER_COUNT + 1);
module.setItemProvider(new ListItemReader(new ArrayList() {{
module.setItemReader(new ListItemReader(new ArrayList() {{
add("a");
add("b");
add("c");