|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.osesb.utilities.junit.OSESBTestCase
org.osesb.utilities.junit.OSESBThreadedTestCase
org.osesb.transporthandlers.test.deployabletestpackage1.ThreadedTransportHandlerSynchronousTest
public class ThreadedTransportHandlerSynchronousTest
ThreadedTransportHandlerSynchronousTest re-uses the test methods in TransportHandlerSynchronousUnitTest. The test method testTransportHandlerSynchronousThreaded() randomly selects one of the test methods to run in a thread. When testing with ThreadedTransportHandlerSynchronousTest, make sure that the 'runningThreadedTest' property in Test.properties is set to 'true'. When true, the setUp() and tearDown() methods of the non-threaded tests return immediately. setUp() and tearDown() is accomplished by the threaded test. 'false' is the default value for 'runningThreadedTest'.
| Field Summary |
|---|
| Fields inherited from class org.osesb.utilities.junit.OSESBThreadedTestCase |
|---|
numberOfIterations, numberOfTestThreads, threadDelay |
| Fields inherited from class org.osesb.utilities.junit.OSESBTestCase |
|---|
configFile, log, reader, testDataDirectory, testProperties, thisClassName |
| Constructor Summary | |
|---|---|
ThreadedTransportHandlerSynchronousTest(java.lang.String name)
Construct a new instance. |
|
| Method Summary | |
|---|---|
void |
setUp()
This method is called before a test is executed. |
void |
tearDown()
This method is called after a test is executed. |
void |
testTransportHandlerSynchronousThreaded()
Test XSLTemplateCache. |
| Methods inherited from class org.osesb.utilities.junit.OSESBThreadedTestCase |
|---|
displayStartupMessage |
| Methods inherited from class org.osesb.utilities.junit.OSESBTestCase |
|---|
getBooleanTestProperty, getIntTestProperty, getLongTestProperty, getTestResourcesAsStreams, getTestResourcesAsText, getTestResourcesFiles, loadTestProperties, readTestFilesAsStreams |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadedTransportHandlerSynchronousTest(java.lang.String name)
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class OSESBTestCasejava.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class OSESBTestCasejava.lang.Exception
public void testTransportHandlerSynchronousThreaded()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||