com.ricebridge.csvman.test
Class EdgeCasesTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.ricebridge.csvman.test.EdgeCasesTest
All Implemented Interfaces:
junit.framework.Test

public class EdgeCasesTest
extends junit.framework.TestCase

Test cases for CSV format edge cases.

The Source Code of this Java class is available under a BSD-style license.


Nested Class Summary
static class EdgeCasesTest.NumFieldLineListener
           
 
Constructor Summary
EdgeCasesTest(String pName)
           
 
Method Summary
static void main(String[] pArgs)
           
static junit.framework.TestSuite suite()
           
 void testDisallowQuotedNewlines()
           
 void testEmptyLines()
           
 void testLastComma()
           
 void testLastCommaNumFields()
           
 void testLastLine()
           
 void testQuotedEscapeSep()
           
 void testStartEndLineWithLoader()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeCasesTest

public EdgeCasesTest(String pName)
Method Detail

suite

public static junit.framework.TestSuite suite()

main

public static void main(String[] pArgs)

testEmptyLines

public void testEmptyLines()

testLastComma

public void testLastComma()

testQuotedEscapeSep

public void testQuotedEscapeSep()

testLastCommaNumFields

public void testLastCommaNumFields()

testDisallowQuotedNewlines

public void testDisallowQuotedNewlines()

testLastLine

public void testLastLine()
                  throws Exception
Throws:
Exception

testStartEndLineWithLoader

public void testStartEndLineWithLoader()


Copyright © 2003-2006 Ricebridge