|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.springframework.batch.support.PropertiesConverterTests
public class PropertiesConverterTests
Unit tests for PropertiesConverter
Constructor Summary | |
---|---|
PropertiesConverterTests()
|
Method Summary | |
---|---|
void |
testInvalidConversion()
Converting a String to Properties and back does not return equal String! See PropertiesConverter javadoc for more details. |
void |
testPropertiesToStringNull()
Null or empty properties should be converted to empty String |
void |
testRegularConversionWithComma()
Check that Properties can be comma delimited. |
void |
testRegularConversionWithCommaAndNewline()
Check that Properties can be newline delimited. |
void |
testRegularConversionWithCommaAndWhitespace()
Check that Properties can be comma delimited with extra whitespace. |
void |
testStringToPropertiesNull()
Null String should be converted to empty Properties |
void |
testTwoWayRegularConversion()
Check that Properties can be converted to String and back correctly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesConverterTests()
Method Detail |
---|
public void testTwoWayRegularConversion()
public void testRegularConversionWithComma()
public void testRegularConversionWithCommaAndWhitespace()
public void testRegularConversionWithCommaAndNewline()
public void testInvalidConversion()
PropertiesConverter
javadoc for more details.
public void testStringToPropertiesNull()
public void testPropertiesToStringNull()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |