IN PROGRESS - BATCH-693: Refactor samples along domain contours

This commit is contained in:
robokaso
2008-07-25 12:53:09 +00:00
parent 74b4bdccb8
commit 0d5b61d4de
9 changed files with 12 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.domain.trade;
import static org.junit.Assert.assertTrue;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.domain.trade;
import java.math.BigDecimal;
import java.sql.ResultSet;
@@ -7,6 +7,7 @@ import java.sql.SQLException;
import org.easymock.MockControl;
import org.springframework.batch.sample.domain.trade.CustomerCredit;
import org.springframework.batch.sample.domain.trade.CustomerCreditRowMapper;
import org.springframework.batch.sample.mapping.AbstractRowMapperTests;
import org.springframework.jdbc.core.RowMapper;
public class CustomerCreditRowMapperTests extends AbstractRowMapperTests {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.domain.trade;
import java.math.BigDecimal;
import java.sql.PreparedStatement;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.domain.trade;
import java.math.BigDecimal;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.domain.trade;
import static org.junit.Assert.assertEquals;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.reader;
package org.springframework.batch.sample.domain.trade;
import static org.junit.Assert.assertEquals;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.domain.trade;
import static org.junit.Assert.assertEquals;
@@ -11,6 +11,7 @@ import org.springframework.batch.item.file.mapping.FieldSetMapper;
import org.springframework.batch.item.support.AggregateItemReader;
import org.springframework.batch.sample.domain.trade.Trade;
import org.springframework.batch.sample.domain.trade.TradeFieldSetMapper;
import org.springframework.batch.sample.mapping.AbstractFieldSetMapperTests;
public class TradeFieldSetMapperTests extends AbstractFieldSetMapperTests {

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.domain.trade;
import org.easymock.MockControl;
import org.junit.Before;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.domain.trade;
import java.math.BigDecimal;
import java.sql.ResultSet;
@@ -7,6 +7,7 @@ import java.sql.SQLException;
import org.easymock.MockControl;
import org.springframework.batch.sample.domain.trade.Trade;
import org.springframework.batch.sample.domain.trade.TradeRowMapper;
import org.springframework.batch.sample.mapping.AbstractRowMapperTests;
import org.springframework.jdbc.core.RowMapper;
public class TradeRowMapperTests extends AbstractRowMapperTests {