org.dbunit.dataset.stream
Class MockDataSetConsumer

java.lang.Object
  extended by org.dbunit.dataset.stream.MockDataSetConsumer
All Implemented Interfaces:
com.mockobjects.Verifiable, IDataSetConsumer

public class MockDataSetConsumer
extends Object
implements com.mockobjects.Verifiable, IDataSetConsumer

Since:
Apr 29, 2003
Version:
$Revision: 421 $
Author:
Manuel Laflamme

Constructor Summary
MockDataSetConsumer()
           
 
Method Summary
 void addExpectedEmptyTable(String tableName, Column[] columns)
           
 void addExpectedEmptyTableIgnoreColumns(String tableName)
           
 void addExpectedEndDataSet()
           
 void addExpectedEndTable(String tableName)
           
 void addExpectedRow(String tableName, Object[] values)
           
 void addExpectedStartDataSet()
           
 void addExpectedStartTable(ITableMetaData metaData)
           
 void addExpectedStartTable(String tableName, Column[] columns)
           
 void addExpectedStartTableIgnoreColumns(String tableName)
           
 void endDataSet()
           
 void endTable()
           
 void row(Object[] values)
           
 void startDataSet()
           
 void startTable(ITableMetaData metaData)
           
 void verify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockDataSetConsumer

public MockDataSetConsumer()
Method Detail

addExpectedStartDataSet

public void addExpectedStartDataSet()
                             throws Exception
Throws:
Exception

addExpectedEndDataSet

public void addExpectedEndDataSet()
                           throws Exception
Throws:
Exception

addExpectedStartTable

public void addExpectedStartTable(ITableMetaData metaData)
                           throws Exception
Throws:
Exception

addExpectedStartTable

public void addExpectedStartTable(String tableName,
                                  Column[] columns)
                           throws Exception
Throws:
Exception

addExpectedStartTableIgnoreColumns

public void addExpectedStartTableIgnoreColumns(String tableName)
                                        throws Exception
Throws:
Exception

addExpectedEmptyTable

public void addExpectedEmptyTable(String tableName,
                                  Column[] columns)
                           throws Exception
Throws:
Exception

addExpectedEmptyTableIgnoreColumns

public void addExpectedEmptyTableIgnoreColumns(String tableName)
                                        throws Exception
Throws:
Exception

addExpectedEndTable

public void addExpectedEndTable(String tableName)
                         throws Exception
Throws:
Exception

addExpectedRow

public void addExpectedRow(String tableName,
                           Object[] values)
                    throws Exception
Throws:
Exception

verify

public void verify()
Specified by:
verify in interface com.mockobjects.Verifiable

startDataSet

public void startDataSet()
                  throws DataSetException
Specified by:
startDataSet in interface IDataSetConsumer
Throws:
DataSetException

endDataSet

public void endDataSet()
                throws DataSetException
Specified by:
endDataSet in interface IDataSetConsumer
Throws:
DataSetException

startTable

public void startTable(ITableMetaData metaData)
                throws DataSetException
Specified by:
startTable in interface IDataSetConsumer
Throws:
DataSetException

endTable

public void endTable()
              throws DataSetException
Specified by:
endTable in interface IDataSetConsumer
Throws:
DataSetException

row

public void row(Object[] values)
         throws DataSetException
Specified by:
row in interface IDataSetConsumer
Throws:
DataSetException


Copyright © 2002-2012. All Rights Reserved.