net.sf.jsefa.test.csv
Class EndOfLineTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jsefa.test.csv.EndOfLineTest
All Implemented Interfaces:
junit.framework.Test

public class EndOfLineTest
extends junit.framework.TestCase

Tests to test the CSV deserialization with respect to correct handling at the end of a line.

Author:
Norman Lahme-Huetig

Constructor Summary
EndOfLineTest()
           
 
Method Summary
 void testOneLineEmptyLastFieldWithDelimiter()
          Test one line with mode "delimiter after last field" for the case the last field is empty.
 void testOneLineEmptyLastFieldWithoutDelimiter()
          Test one line with mode "no delimiter after last field" for the case the last field is empty.
 void testOneLineNoEmptyLastFieldWithDelimiter()
          Test one line with mode "delimiter after last field" for the case the last field is not empty.
 void testOneLineNoEmptyLastFieldWithoutDelimiter()
          Test one line with mode "no delimiter after last field" for the case the last field is not empty.
 void testTwoLinesEmptyLastFieldWithDelimiter()
          Test two lines with mode "delimiter after last field" for the case the last field is empty.
 void testTwoLinesEmptyLastFieldWithoutDelimiter()
          Test two lines with mode "no delimiter after last field" for the case the last field is empty.
 void testTwoLinesNoEmptyLastFieldWithDelimiter()
          Test two lines with mode "delimiter after last field" for the case the last field is not empty.
 void testTwoLinesNoEmptyLastFieldWithoutDelimiter()
          Test two lines with mode "no delimiter after last field" for the case the last field is not empty.
 
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

EndOfLineTest

public EndOfLineTest()
Method Detail

testOneLineNoEmptyLastFieldWithoutDelimiter

public void testOneLineNoEmptyLastFieldWithoutDelimiter()
Test one line with mode "no delimiter after last field" for the case the last field is not empty.


testTwoLinesNoEmptyLastFieldWithoutDelimiter

public void testTwoLinesNoEmptyLastFieldWithoutDelimiter()
Test two lines with mode "no delimiter after last field" for the case the last field is not empty.


testOneLineEmptyLastFieldWithoutDelimiter

public void testOneLineEmptyLastFieldWithoutDelimiter()
Test one line with mode "no delimiter after last field" for the case the last field is empty.


testTwoLinesEmptyLastFieldWithoutDelimiter

public void testTwoLinesEmptyLastFieldWithoutDelimiter()
Test two lines with mode "no delimiter after last field" for the case the last field is empty.


testOneLineNoEmptyLastFieldWithDelimiter

public void testOneLineNoEmptyLastFieldWithDelimiter()
Test one line with mode "delimiter after last field" for the case the last field is not empty.


testTwoLinesNoEmptyLastFieldWithDelimiter

public void testTwoLinesNoEmptyLastFieldWithDelimiter()
Test two lines with mode "delimiter after last field" for the case the last field is not empty.


testOneLineEmptyLastFieldWithDelimiter

public void testOneLineEmptyLastFieldWithDelimiter()
Test one line with mode "delimiter after last field" for the case the last field is empty.


testTwoLinesEmptyLastFieldWithDelimiter

public void testTwoLinesEmptyLastFieldWithDelimiter()
Test two lines with mode "delimiter after last field" for the case the last field is empty.



Copyright © 2014. All rights reserved.