jdo
Class JDOJ2EECategory
java.lang.Object
junit.framework.TestSuite
harness.TestHarness
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
Constructor Summary |
JDOJ2EECategory(TestHarness superTest,
java.lang.String name,
java.lang.String description,
java.lang.Object jdo)
|
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 |
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
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.