|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.springframework.batch.item.file.transform.FixedLengthLineAggregatorTests
public class FixedLengthLineAggregatorTests
Unit tests for FixedLengthLineAggregator
Constructor Summary | |
---|---|
FixedLengthLineAggregatorTests()
|
Method Summary | |
---|---|
void |
testAggregate()
Test aggregation |
void |
testAggregateFormattedCenter()
Test aggregation with center alignment |
void |
testAggregateFormattedLeft()
Test aggregation with left alignment |
void |
testAggregateFormattedRight()
Test aggregation with right alignment |
void |
testAggregateInvalidInputLength()
Text length exceeds the length of the column. |
void |
testAggregateNullArgument()
If one of the passed arguments is null, string filled with spaces should be returned |
void |
testAggregateNullRecordDescriptor()
If no ranges are specified, IllegalArgumentException is thrown |
void |
testAggregateWithCustomPadding()
Test aggregation with left alignment |
void |
testAggregateWithLastRangeUnbound()
Test aggregation with last range unbound |
void |
testAggregateWrongArgumentCount()
Count of aggregated strings does not match the number of columns |
void |
testInvalidAlignment()
Try set ivalid alignment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedLengthLineAggregatorTests()
Method Detail |
---|
public void testAggregateNullRecordDescriptor()
public void testAggregateWrongArgumentCount()
public void testAggregateInvalidInputLength()
public void testAggregate()
public void testAggregateWithLastRangeUnbound()
public void testAggregateFormattedRight()
public void testAggregateFormattedCenter()
public void testAggregateWithCustomPadding()
public void testAggregateFormattedLeft()
public void testInvalidAlignment()
public void testAggregateNullArgument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |