public class T_DaemonService extends T_MultiThreadedIterations
Modifier and Type | Field and Description |
---|---|
private static java.util.Random |
random |
private java.util.Vector<T_Serviceable> |
serviceRecord |
private static org.apache.derby.iapi.services.daemon.DaemonService |
testDaemon |
threadNumber
out, 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 static java.lang.Object |
startSystemModule(java.lang.String factoryInterface)
Privileged startup.
|
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, runTests
boot, Execute, FAIL, PASS, REPORT, stop, UnitTestDuration, UnitTestType
private static org.apache.derby.iapi.services.daemon.DaemonService testDaemon
private static java.util.Random random
private java.util.Vector<T_Serviceable> serviceRecord
protected java.lang.String getModuleToTestProtocolName()
T_Generic
getModuleToTestProtocolName
in class T_Generic
protected void setupTest() throws T_Fail
setupTest
in class T_MultiIterations
T_Fail
- unexpected behaviour from the APIprotected void joinSetupTest() throws T_Fail
joinSetupTest
in class T_MultiThreadedIterations
T_Fail
- unexpected behaviour from the APIprotected T_MultiThreadedIterations newTestObject()
newTestObject
in class T_MultiThreadedIterations
protected void runTestSet() throws T_Fail
T_MultiIterations
runTestSet
in class T_MultiIterations
T_Fail
- - test failedprivate void T01(org.apache.derby.iapi.services.daemon.DaemonService daemon) throws T_Fail, org.apache.derby.iapi.error.StandardException
T_Fail
org.apache.derby.iapi.error.StandardException
private void T02(org.apache.derby.iapi.services.daemon.DaemonService daemon) throws T_Fail, org.apache.derby.iapi.error.StandardException
T_Fail
org.apache.derby.iapi.error.StandardException
private void T03(org.apache.derby.iapi.services.daemon.DaemonService daemon) throws T_Fail, org.apache.derby.iapi.error.StandardException
T_Fail
org.apache.derby.iapi.error.StandardException
private void t_checkStatus(org.apache.derby.iapi.services.daemon.DaemonService daemon) throws T_Fail
T_Fail
private void randomSleep() throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
private static java.lang.Object startSystemModule(java.lang.String factoryInterface) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.