| org.apache.ojb.junit.OJBTestCase
All known Subclasses: org.apache.ojb.junit.PBTestCase, org.apache.ojb.odmg.LockingTest, org.apache.ojb.broker.locking.LockTestRepeatableReads, org.apache.ojb.otm.SwizzleTests, org.apache.ojb.otm.OtmExamples, org.apache.ojb.broker.metadata.PersistentFieldPerfTest, org.apache.ojb.broker.cache.ObjectCacheTest, org.apache.ojb.odmg.OdmgExamples, org.apache.ojb.broker.metadata.RepositoryPersistorTest, org.apache.ojb.otm.CopyTest, org.apache.ojb.broker.metadata.PersistentFieldTest, org.apache.ojb.broker.locking.CommonsLockTestRepeatableReads, org.apache.ojb.odmg.MultiDBUsageTest, org.apache.ojb.broker.locking.LockTestCommitedReads, org.apache.ojb.broker.locking.CommonsLockTestSerializable, org.apache.ojb.broker.locking.LockTestSerializable, org.apache.ojb.junit.ODMGTestCase, org.apache.ojb.broker.locking.LockTestUncommitedReads, org.apache.ojb.broker.sequence.SequenceManagerTest, org.apache.ojb.broker.locking.CommonsLockTestCommittedReads, org.apache.ojb.broker.locking.CommonsLockTestUncommittedReads,
OJBTestCase | public class OJBTestCase extends TestCase (Code) | | Extension of the JUnit test class.
author: Armin Waibel version: $Id: OJBTestCase.java,v 1.5.2.6 2005/03/18 19:22:30 arminw Exp $ |
Inner Class :public class MetadataHelper | |
Method Summary | |
public void | ojbChangeReferenceSetting(Class clazz, String referenceField, boolean autoRetrieve, int autoUpdate, int autoDelete, boolean useProxy) Allows to do a global change of object/collection reference settings. | public void | ojbChangeReferenceSetting(Class clazz, String referenceField, boolean autoRetrieve, boolean autoUpdate, boolean autoDelete, boolean useProxy) Allows to do a global change of object/collection reference settings. | public boolean | ojbSkipKnownIssueProblem() This method could be used to skip 'problematic' test cases or known issues before
a release was made. | public boolean | ojbSkipKnownIssueProblem(String message) This method could be used to skip 'problematic' test cases or known issues before
a release was made. | public void | ojbSkipTestMessage(String message) This method could be used to print a message before skip 'problematic' test cases. | public void | ojbSleep() Sleep current thread for a minimal period. | protected void | setUp() | protected void | tearDown() |
OJBTestCase | public OJBTestCase()(Code) | | |
ojbChangeReferenceSetting | public void ojbChangeReferenceSetting(Class clazz, String referenceField, boolean autoRetrieve, int autoUpdate, int autoDelete, boolean useProxy)(Code) | | Allows to do a global change of object/collection reference settings. When the test
is tear down the old settings will be restored. Be careful when override setUp/tearDown method, don't
forget the "super call", else this method couldn't work properly.
Parameters: clazz - Parameters: referenceField - Parameters: autoRetrieve - Parameters: autoUpdate - Parameters: autoDelete - Parameters: useProxy - |
ojbChangeReferenceSetting | public void ojbChangeReferenceSetting(Class clazz, String referenceField, boolean autoRetrieve, boolean autoUpdate, boolean autoDelete, boolean useProxy)(Code) | | Allows to do a global change of object/collection reference settings. When the test
is tear down the old settings will be restored. Be careful when override setUp/tearDown method, don't
forget the "super call", else this method couldn't work properly.
Parameters: clazz - Parameters: referenceField - Parameters: autoRetrieve - Parameters: autoUpdate - Parameters: autoDelete - Parameters: useProxy - |
ojbSkipKnownIssueProblem | public boolean ojbSkipKnownIssueProblem()(Code) | | This method could be used to skip 'problematic' test cases or known issues before
a release was made. To enable the skipped tests set a system property 'skip.issues'
to false.
|
ojbSkipKnownIssueProblem | public boolean ojbSkipKnownIssueProblem(String message)(Code) | | This method could be used to skip 'problematic' test cases or known issues before
a release was made. To enable the skipped tests set a system property 'skip.issues'
to false.
|
ojbSkipTestMessage | public void ojbSkipTestMessage(String message)(Code) | | This method could be used to print a message before skip 'problematic' test cases.
|
ojbSleep | public void ojbSleep()(Code) | | Sleep current thread for a minimal period.
|
|
|