com.objectwave.persist.xml
Class TestXMLPerson.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.persist.xml.TestXMLPerson.Test
All Implemented Interfaces:
UnitTest
Enclosing class:
TestXMLPerson

public static class TestXMLPerson.Test
extends UnitTestBaseImpl

Version:
$Id: TestXMLPerson.java,v 2.4 2002/03/23 13:42:11 dave_hoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.test.UnitTestBaseImpl
testContext
 
Constructor Summary
TestXMLPerson.Test()
           
 
Method Summary
 void delete()
           
 void insert()
           
static void main(java.lang.String[] args)
          initialize the environment parameters.
 void query()
           
 void setUp(java.lang.String str, TestContext context)
          The JUnit setup method
 void tearDown(TestContext context)
          The teardown method for JUnit
 void testInsert()
          A unit test for JUnit
 
Methods inherited from class com.objectwave.test.UnitTestBaseImpl
createTest, removeFile, writeFile, writeFileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestXMLPerson.Test

public TestXMLPerson.Test()
Method Detail

main

public static void main(java.lang.String[] args)
initialize the environment parameters. Note: set "ow.persistConnectionVerbose" to "true" if want to show the SQL queries jGrinder generates when running.

Parameters:
args - The command line arguments

setUp

public void setUp(java.lang.String str,
                  TestContext context)
           throws java.lang.Exception
The JUnit setup method

Specified by:
setUp in interface UnitTest
Overrides:
setUp in class UnitTestBaseImpl
Parameters:
str - The new Up value
context - The new Up value
Throws:
java.lang.Exception

insert

public void insert()
            throws java.lang.Exception
Throws:
java.lang.Exception

delete

public void delete()
            throws java.lang.Exception
Throws:
java.lang.Exception

query

public void query()
           throws java.lang.Exception
Throws:
java.lang.Exception

testInsert

public void testInsert()
                throws java.lang.Exception
A unit test for JUnit

Throws:
java.lang.Exception

tearDown

public void tearDown(TestContext context)
The teardown method for JUnit

Specified by:
tearDown in interface UnitTest
Overrides:
tearDown in class UnitTestBaseImpl
Parameters:
context - Description of Parameter