public class T_DaemonService extends T_MultiThreadedIterations
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Random |
random |
private java.util.Vector |
serviceRecord |
private static org.apache.derby.iapi.services.daemon.DaemonService |
testDaemon |
threadNumberout, shortModuleToTestName, startParams| Constructor and Description |
|---|
T_DaemonService() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getModuleToTestProtocolName()
Get the name of the protocol for the module to test.
|
protected void |
joinSetupTest()
Methods required by T_MultiThreadedIterations
|
protected T_MultiThreadedIterations |
newTestObject() |
private void |
randomSleep() |
protected void |
runTestSet()
Run once per-iteration to run the actual test.
|
protected void |
setupTest()
Methods required by T_MultiIterations
|
private void |
t_checkStatus(org.apache.derby.iapi.services.daemon.DaemonService daemon) |
private void |
T01(org.apache.derby.iapi.services.daemon.DaemonService daemon) |
private void |
T02(org.apache.derby.iapi.services.daemon.DaemonService daemon) |
private void |
T03(org.apache.derby.iapi.services.daemon.DaemonService daemon) |
getNumThreads, run, runTestsboot, Execute, FAIL, PASS, REPORT, stop, UnitTestDuration, UnitTestTypeprivate static org.apache.derby.iapi.services.daemon.DaemonService testDaemon
private static java.util.Random random
private java.util.Vector serviceRecord
protected java.lang.String getModuleToTestProtocolName()
T_GenericgetModuleToTestProtocolName in class T_Genericprotected void setupTest()
throws T_Fail
setupTest in class T_MultiIterationsT_Fail - unexpected behaviour from the APIprotected void joinSetupTest()
throws T_Fail
joinSetupTest in class T_MultiThreadedIterationsT_Fail - unexpected behaviour from the APIprotected T_MultiThreadedIterations newTestObject()
newTestObject in class T_MultiThreadedIterationsprotected void runTestSet()
throws T_Fail
T_MultiIterationsrunTestSet in class T_MultiIterationsT_Fail - - test failedprivate void T01(org.apache.derby.iapi.services.daemon.DaemonService daemon)
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprivate void T02(org.apache.derby.iapi.services.daemon.DaemonService daemon)
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprivate void T03(org.apache.derby.iapi.services.daemon.DaemonService daemon)
throws T_Fail,
org.apache.derby.iapi.error.StandardException
T_Failorg.apache.derby.iapi.error.StandardExceptionprivate void t_checkStatus(org.apache.derby.iapi.services.daemon.DaemonService daemon)
throws T_Fail
T_Failprivate void randomSleep()
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.