org.dbunit.dataset
Class ForwardOnlyTableTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.dataset.AbstractTableTest
              extended by org.dbunit.dataset.DefaultTableTest
                  extended by org.dbunit.dataset.ForwardOnlyTableTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ForwardOnlyResultSetTableTest, StreamingTableTest

public class ForwardOnlyTableTest
extends DefaultTableTest

Since:
Apr 11, 2003
Version:
$Revision: 398 $
Author:
Manuel Laflamme

Field Summary
 
Fields inherited from class org.dbunit.dataset.AbstractTableTest
COLUMN_COUNT, logger, ROW_COUNT
 
Constructor Summary
ForwardOnlyTableTest(String s)
           
 
Method Summary
protected  ITable createTable()
          Creates a table having 6 row and 4 column where columns are named "COLUMN1, COLUMN2, COLUMN3, COLUMN4" and values are string follwing this template "row ? col ?"
 void testGetRowCount()
           
 void testGetValueIterateBackward()
           
 void testGetValueOnEmptyTable()
           
 void testGetValueRowBounds()
           
 
Methods inherited from class org.dbunit.dataset.DefaultTableTest
createTable, createTableMetaData, testGetMissingValue
 
Methods inherited from class org.dbunit.dataset.AbstractTableTest
runTest, runTest, testGetValue, testGetValueAndNoSuchColumn, testGetValueCaseInsensitive, testTableMetaData
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

ForwardOnlyTableTest

public ForwardOnlyTableTest(String s)
Method Detail

createTable

protected ITable createTable()
                      throws Exception
Description copied from class: AbstractTableTest
Creates a table having 6 row and 4 column where columns are named "COLUMN1, COLUMN2, COLUMN3, COLUMN4" and values are string follwing this template "row ? col ?"

Overrides:
createTable in class DefaultTableTest
Throws:
Exception

testGetRowCount

public void testGetRowCount()
                     throws Exception
Overrides:
testGetRowCount in class AbstractTableTest
Throws:
Exception

testGetValueRowBounds

public void testGetValueRowBounds()
                           throws Exception
Overrides:
testGetValueRowBounds in class AbstractTableTest
Throws:
Exception

testGetValueIterateBackward

public void testGetValueIterateBackward()
                                 throws Exception
Throws:
Exception

testGetValueOnEmptyTable

public void testGetValueOnEmptyTable()
                              throws Exception
Throws:
Exception


Copyright © 2002-2012. All Rights Reserved.