org.apache.ojb.broker
Class JUnitExtensions.MultiThreadedTestCase.TestCaseRunnable

java.lang.Object
  extended byorg.apache.ojb.broker.JUnitExtensions.MultiThreadedTestCase.TestCaseRunnable
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
LockingMultithreadedTest.LockHandle, MetadataMultithreadedTest.GlobalUsingBroker, MetadataMultithreadedTest.ThreadedUsingBroker, MultithreadedReadTest.TestHandleLazyRead, MultithreadedReadTest.TestHandleMaterialize, MultithreadedReadTest.TestHandleRead, SMMultiThreadedTest.BadThenGoodHandle, SMMultiThreadedTest.GoodThenBadHandle
Enclosing class:
JUnitExtensions.MultiThreadedTestCase

protected abstract class JUnitExtensions.MultiThreadedTestCase.TestCaseRunnable
extends java.lang.Object
implements java.lang.Runnable

A test case thread. Override runTestCase () and define behaviour of test in there.


Constructor Summary
protected JUnitExtensions.MultiThreadedTestCase.TestCaseRunnable()
           
 
Method Summary
 void run()
          Run the test in an environment where we can handle the exceptions generated by the test method.
abstract  void runTestCase()
          Override this to define the test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitExtensions.MultiThreadedTestCase.TestCaseRunnable

protected JUnitExtensions.MultiThreadedTestCase.TestCaseRunnable()
Method Detail

runTestCase

public abstract void runTestCase()
                          throws java.lang.Throwable
Override this to define the test

Throws:
java.lang.Throwable

run

public void run()
Run the test in an environment where we can handle the exceptions generated by the test method.

Specified by:
run in interface java.lang.Runnable


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14