Class AbstractProducerTest

java.lang.Object
org.dbunit.dataset.stream.AbstractProducerTest
Direct Known Subclasses:
DataSetProducerAdapterTest, XmlProducerTest

public abstract class AbstractProducerTest extends Object
Since:
Apr 29, 2003
Version:
$Revision$
Author:
Manuel Laflamme
  • Constructor Details

    • AbstractProducerTest

      public AbstractProducerTest()
  • Method Details

    • getExpectedNames

      protected String[] getExpectedNames() throws Exception
      Throws:
      Exception
    • getExpectedRowCount

      protected int[] getExpectedRowCount() throws Exception
      Throws:
      Exception
    • getNotNullTableName

      protected String getNotNullTableName() throws Exception
      Throws:
      Exception
    • createExpectedColumns

      protected Column[] createExpectedColumns(Column.Nullable nullable) throws Exception
      Throws:
      Exception
    • createExpectedRow

      protected Object[] createExpectedRow(int row) throws Exception
      Throws:
      Exception
    • createProducer

      protected abstract IDataSetProducer createProducer() throws Exception
      Throws:
      Exception
    • testProduce_withExpectedTablesAndRows_producesCorrectDataSetOutput

      @Test public void testProduce_withExpectedTablesAndRows_producesCorrectDataSetOutput() throws Exception
      Throws:
      Exception
    • testProduceWithoutConsumer_withNoConsumerSet_doesNotThrowException

      @Test public void testProduceWithoutConsumer_withNoConsumerSet_doesNotThrowException() throws Exception
      Throws:
      Exception