Class MultithreadedTest

java.lang.Object
junit.framework.Assert
edu.umd.cs.mtc.MultithreadedTestCase
edu.umd.cs.mtc.MultithreadedTest
All Implemented Interfaces:
junit.framework.Test

public abstract class MultithreadedTest extends MultithreadedTestCase implements junit.framework.Test
Extends MultithreadedTestCase by implementing Test so that tests can be added to a TestSuite.

When using this class, the default behavior is to run the test once. To change this default behavior, override runTest(). For example, to run a test 20 times, override:


        public void runTest() throws Throwable {
                TestFramework.runManyTimes(this, 20);
        }
 
Since:
1.0
See Also: