org.dbunit.dataset.common.handlers
Class HandlersTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.dataset.common.handlers.HandlersTest
All Implemented Interfaces:
junit.framework.Test

public class HandlersTest
extends junit.framework.TestCase


Constructor Summary
HandlersTest()
           
 
Method Summary
protected  void setUp()
           
 void testEmptyFields()
           
 void testEmptyQuotedAndUnquotedFieldsParser()
          Test the handling of a sequence of empty, unquoted and quoted fields
 void testEscapedFieldAssembler()
           
 void testEscapeHandler()
           
 void testQuotedFieldAssembler()
           
 void testQuotedFieldsParser()
           
 void testQuotedFieldWithEscapedCharacterAssembler()
           
 void testUnquotedFieldsParser()
           
 void testUnquotedFieldWithEscapedCharacterAssembler()
           
 void testUnquotedHandler()
           
 void testWhitespaceHandler()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

HandlersTest

public HandlersTest()
Method Detail

testEmptyFields

public void testEmptyFields()
                     throws IllegalInputCharacterException,
                            PipelineException
Throws:
IllegalInputCharacterException
PipelineException

testUnquotedFieldsParser

public void testUnquotedFieldsParser()
                              throws IllegalInputCharacterException,
                                     PipelineException
Throws:
IllegalInputCharacterException
PipelineException

testQuotedFieldWithEscapedCharacterAssembler

public void testQuotedFieldWithEscapedCharacterAssembler()
                                                  throws PipelineException,
                                                         IllegalInputCharacterException
Throws:
PipelineException
IllegalInputCharacterException

testUnquotedFieldWithEscapedCharacterAssembler

public void testUnquotedFieldWithEscapedCharacterAssembler()
                                                    throws PipelineException,
                                                           IllegalInputCharacterException
Throws:
PipelineException
IllegalInputCharacterException

testEscapedFieldAssembler

public void testEscapedFieldAssembler()
                               throws PipelineException,
                                      IllegalInputCharacterException
Throws:
PipelineException
IllegalInputCharacterException

testQuotedFieldAssembler

public void testQuotedFieldAssembler()
                              throws IllegalInputCharacterException,
                                     PipelineException
Throws:
IllegalInputCharacterException
PipelineException

testQuotedFieldsParser

public void testQuotedFieldsParser()
                            throws IllegalInputCharacterException,
                                   PipelineException
Throws:
IllegalInputCharacterException
PipelineException

testEmptyQuotedAndUnquotedFieldsParser

public void testEmptyQuotedAndUnquotedFieldsParser()
                                            throws IllegalInputCharacterException,
                                                   PipelineException
Test the handling of a sequence of empty, unquoted and quoted fields

Throws:
IllegalInputCharacterException
PipelineException

testEscapeHandler

public void testEscapeHandler()
                       throws PipelineException,
                              IllegalInputCharacterException
Throws:
PipelineException
IllegalInputCharacterException

testWhitespaceHandler

public void testWhitespaceHandler()
                           throws Exception
Throws:
Exception

testUnquotedHandler

public void testUnquotedHandler()
                         throws IllegalInputCharacterException,
                                PipelineException
Throws:
IllegalInputCharacterException
PipelineException

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception


Copyright © 2002-2012. All Rights Reserved.