org.dbunit.dataset.xml
Class XmlProducerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.dataset.stream.AbstractProducerTest
              extended by org.dbunit.dataset.xml.XmlProducerTest
All Implemented Interfaces:
junit.framework.Test

public class XmlProducerTest
extends AbstractProducerTest

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

Constructor Summary
XmlProducerTest(String s)
           
 
Method Summary
protected  Column[] createExpectedColumns(Column.Nullable nullable)
           
protected  IDataSetProducer createProducer()
           
 void testProduceEmptyDataSet()
           
 void testProduceInvalidXml()
           
 void testProduceMissingColumn()
           
 void testProduceNotWellFormedXml()
           
 void testProduceNullValue()
           
 
Methods inherited from class org.dbunit.dataset.stream.AbstractProducerTest
createExpectedRow, getExpectedNames, getExpectedRowCount, getNotNullTableName, testProduce, testProduceWithoutConsumer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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

XmlProducerTest

public XmlProducerTest(String s)
Method Detail

createProducer

protected IDataSetProducer createProducer()
                                   throws Exception
Specified by:
createProducer in class AbstractProducerTest
Throws:
Exception

createExpectedColumns

protected Column[] createExpectedColumns(Column.Nullable nullable)
                                  throws Exception
Overrides:
createExpectedColumns in class AbstractProducerTest
Throws:
Exception

testProduceEmptyDataSet

public void testProduceEmptyDataSet()
                             throws Exception
Throws:
Exception

testProduceNullValue

public void testProduceNullValue()
                          throws Exception
Throws:
Exception

testProduceMissingColumn

public void testProduceMissingColumn()
                              throws Exception
Throws:
Exception

testProduceNotWellFormedXml

public void testProduceNotWellFormedXml()
                                 throws Exception
Throws:
Exception

testProduceInvalidXml

public void testProduceInvalidXml()
                           throws Exception
Throws:
Exception


Copyright © 2002-2012. All Rights Reserved.