net.sf.jsefa.test.io
Class LineSegmentReaderTest

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

public class LineSegmentReaderTest
extends junit.framework.TestCase

Tests for testing the LineSegmentReader.

Author:
Norman Lahme-Huetig

Constructor Summary
LineSegmentReaderTest()
           
 
Method Summary
 void testLimitedLines()
          Tests the reading of lines with limited size.
 void testLines()
          Tests the reading of complete lines.
 void testMarkOnLines()
          Tests the mark and reset operation when reading complete lines.
 void testMarkOnSegmentsWithSpecialTerminator()
          Tests the mark and reset operation when reading segments with a special terminator.
 void testWithSpecialTerminator()
          Tests the reading of segments with a special terminator.
 
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

LineSegmentReaderTest

public LineSegmentReaderTest()
Method Detail

testLines

public void testLines()
               throws Exception
Tests the reading of complete lines.

Throws:
Exception - ignore

testLimitedLines

public void testLimitedLines()
                      throws Exception
Tests the reading of lines with limited size.

Throws:
Exception - ignore

testMarkOnLines

public void testMarkOnLines()
                     throws Exception
Tests the mark and reset operation when reading complete lines.

Throws:
Exception - ignore

testWithSpecialTerminator

public void testWithSpecialTerminator()
                               throws Exception
Tests the reading of segments with a special terminator.

Throws:
Exception - ignore

testMarkOnSegmentsWithSpecialTerminator

public void testMarkOnSegmentsWithSpecialTerminator()
                                             throws Exception
Tests the mark and reset operation when reading segments with a special terminator.

Throws:
Exception - ignore


Copyright © 2014. All rights reserved.