org.dbunit.dataset.excel
Class XlsTableTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.dataset.AbstractTableTest
              extended by org.dbunit.dataset.excel.XlsTableTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
XlsTableWriteTest

public class XlsTableTest
extends AbstractTableTest

Since:
Feb 21, 2003
Version:
$Revision: 915 $ $Date: 2008-12-07 14:17:25 +0100 (Sun, 07 Dec 2008) $
Author:
Manuel Laflamme, Last changed by: $Author: gommma $

Field Summary
 
Fields inherited from class org.dbunit.dataset.AbstractTableTest
COLUMN_COUNT, logger, ROW_COUNT
 
Constructor Summary
XlsTableTest(String s)
           
 
Method Summary
protected  IDataSet createDataSet()
           
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 testDifferentDatatypes()
           
 void testEmptySheet()
           
 void testEmptyTableColumns()
           
 void testGetMissingValue()
           
 
Methods inherited from class org.dbunit.dataset.AbstractTableTest
runTest, runTest, testGetRowCount, testGetValue, testGetValueAndNoSuchColumn, testGetValueCaseInsensitive, testGetValueRowBounds, 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

XlsTableTest

public XlsTableTest(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 ?"

Specified by:
createTable in class AbstractTableTest
Throws:
Exception

createDataSet

protected IDataSet createDataSet()
                          throws Exception
Throws:
Exception

testGetMissingValue

public void testGetMissingValue()
                         throws Exception
Specified by:
testGetMissingValue in class AbstractTableTest
Throws:
Exception

testEmptyTableColumns

public void testEmptyTableColumns()
                           throws Exception
Throws:
Exception

testEmptySheet

public void testEmptySheet()
                    throws Exception
Throws:
Exception

testDifferentDatatypes

public void testDifferentDatatypes()
                            throws Exception
Throws:
Exception


Copyright © 2002-2012. All Rights Reserved.