jdo
Class JDOJ2EECategory

java.lang.Object
  extended by junit.framework.TestSuite
      extended by harness.TestHarness
          extended by jdo.JDOJ2EECategory
All Implemented Interfaces:
junit.framework.Test

public class JDOJ2EECategory
extends TestHarness

This Category is intended to allow developers to test Castor in a J2EE environment with managed transactions and JNDI.

Author:
Patrick van Kann

Field Summary
 
Fields inherited from class harness.TestHarness
_stream, _verbose
 
Constructor Summary
JDOJ2EECategory(TestHarness superTest, java.lang.String name, java.lang.String description, java.lang.Object jdo)
           
 
Method Summary
 Database getDatabase(boolean verbose)
           
 java.sql.Connection getJDBCConnection()
           
 JDO getJDO()
           
 
Methods inherited from class harness.TestHarness
getDescription, getName, getSuite, getVerbose, getVerboseStream, printInfo, printInfo, run, run, setDescription, setName, setSuite, setVerbose, setVerboseStream, toString
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getTestConstructor, runTest, testAt, testCount, tests, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDOJ2EECategory

public JDOJ2EECategory(TestHarness superTest,
                       java.lang.String name,
                       java.lang.String description,
                       java.lang.Object jdo)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getDatabase

public Database getDatabase(boolean verbose)
                     throws PersistenceException
Throws:
PersistenceException

getJDO

public JDO getJDO()

getJDBCConnection

public java.sql.Connection getJDBCConnection()
                                      throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2011. All Rights Reserved.