net.sourceforge.sqlunit.test
Class EmbeddedCallTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sourceforge.sqlunit.test.EmbeddedCallTest
All Implemented Interfaces:
junit.framework.Test

public class EmbeddedCallTest
extends junit.framework.TestCase

Simulates calling SQLUnit embedded in Java code.

Version:
$Revision: 1.2 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
EmbeddedCallTest(java.lang.String name)
          Boilerplate constructor.
 
Method Summary
static void main(java.lang.String[] argv)
          Boilerplate main method.
static junit.framework.Test suite()
          Boilerplate suite() method.
 void testSQLUnitWithCanooReporter()
          Simulates calling SQLUnit with CanooWebTestReporter.
 void testSQLUnitWithTextReporter()
          Simulates calling SQLUnit with a text reporter.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmbeddedCallTest

public EmbeddedCallTest(java.lang.String name)
Boilerplate constructor.

Parameters:
name - the name of this test class.
Method Detail

main

public static void main(java.lang.String[] argv)
Boilerplate main method.

Parameters:
argv - the arguments (none).

suite

public static junit.framework.Test suite()
Boilerplate suite() method.

Returns:
a Test object.

testSQLUnitWithTextReporter

public final void testSQLUnitWithTextReporter()
                                       throws java.lang.Exception
Simulates calling SQLUnit with a text reporter.

Throws:
java.lang.Exception - if there was a problem with the test.

testSQLUnitWithCanooReporter

public final void testSQLUnitWithCanooReporter()
                                        throws java.lang.Exception
Simulates calling SQLUnit with CanooWebTestReporter.

Throws:
java.lang.Exception - if there was a problem with the test.