|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sf.jsefa.test.csv.QuoteModeTest
public class QuoteModeTest
Tests to test the CSV serialization/deserialization with different quote mode.
Constructor Summary | |
---|---|
QuoteModeTest()
|
Method Summary | |
---|---|
void |
testDefault()
Test with the default mode (initially set to "on demand") for the case the quotes are needed. |
void |
testOnDemandNeeded()
Test with mode "on demand" for the case the quotes are needed. |
void |
testOnDemandNeededStartingWithQuoteChar()
Test with mode "on demand" for the case the quotes are needed and the field starts with a quote char. |
void |
testOnDemandNotNeeded()
Test with mode "on demand" for the case the quotes are not needed. |
void |
testQuoteAlways()
Test with mode "always" for the case the quotes are needed. |
void |
testQuoteAlwaysButNotNeeded()
Test with mode "always" for the case the quotes are not needed. |
void |
testQuoteAlwaysWithMultipleLineBreaks()
Test with mode "always" and multiple line breaks within one field. |
void |
testQuoteDefaultAsAlways()
Test with mode "default" where the default is set to "always" via the configuration. |
void |
testQuoteNeverWithMultipleLineBreaks()
Test with mode "never" and multiple line breaks within one field. |
void |
testQuoteNeverWithSpecialRecordDelimiter()
Test with mode "never" and a special record delimiter. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QuoteModeTest()
Method Detail |
---|
public void testDefault()
public void testQuoteAlways()
public void testQuoteAlwaysButNotNeeded()
public void testOnDemandNeeded()
public void testOnDemandNeededStartingWithQuoteChar()
public void testOnDemandNotNeeded()
public void testQuoteDefaultAsAlways()
public void testQuoteAlwaysWithMultipleLineBreaks()
public void testQuoteNeverWithMultipleLineBreaks()
public void testQuoteNeverWithSpecialRecordDelimiter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |