public class UnitTestService extends AppService implements UnitTestServiceRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
UNITTEST_LOGGER |
static MXLogger |
UTLOGGER |
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
UnitTestService()
Construct the service
|
UnitTestService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
protected UnitTestResult |
executeTestUnit(java.lang.String suiteId,
java.lang.String testUnitId,
java.util.Map unitTestMap,
java.util.Map execMap,
java.util.Map setupInvalidMap,
TestSuiteResult suiteResult,
TestRealTimeClientRemote trtc) |
byte[] |
getTemplateData(java.lang.String resName,
boolean mboType,
java.lang.String id) |
void |
init()
Initialize the Application Service.
|
boolean |
isMT() |
protected boolean |
isNull(java.lang.String value) |
static java.util.Map |
loadLibrary(java.lang.String resource) |
protected void |
prepareRunList(org.jdom2.Element rootElem,
java.util.List unitTestIdList,
java.util.Map unitTestMap,
java.util.Map setupInvalidMap,
TestDataSource testDataSource,
TestRealTimeClientRemote trtc) |
TestSuiteResult |
test(byte[] testScript) |
TestSuiteResult |
test(java.lang.String scriptName) |
void |
testRealTime(byte[] testScript,
TestRealTimeClientRemote trtc) |
void |
testRealTime(java.lang.String scriptName,
TestRealTimeClientRemote trtc) |
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic static final java.lang.String UNITTEST_LOGGER
public static final MXLogger UTLOGGER
public UnitTestService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic UnitTestService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - The "Server Environment" this Service is being created in.java.rmi.RemoteExceptionpublic void init()
AppServiceinit in interface Serviceinit in class AppServiceServicepublic byte[] getTemplateData(java.lang.String resName,
boolean mboType,
java.lang.String id)
throws MXException
getTemplateData in interface UnitTestServiceRemoteMXExceptionpublic static java.util.Map loadLibrary(java.lang.String resource)
protected void prepareRunList(org.jdom2.Element rootElem,
java.util.List unitTestIdList,
java.util.Map unitTestMap,
java.util.Map setupInvalidMap,
TestDataSource testDataSource,
TestRealTimeClientRemote trtc)
throws TestSetupException
rootElem - the root element for the scriptunitTestIdList - the empty list of test ids which needs to be rununitTestMap - the empty mapdatasrcMap - TestSetupExceptionprotected boolean isNull(java.lang.String value)
public boolean isMT()
isMT in interface UnitTestServiceRemotepublic TestSuiteResult test(byte[] testScript) throws TestSetupException, java.rmi.RemoteException
test in interface UnitTestServiceRemoteTestSetupExceptionjava.rmi.RemoteExceptionprotected UnitTestResult executeTestUnit(java.lang.String suiteId, java.lang.String testUnitId, java.util.Map unitTestMap, java.util.Map execMap, java.util.Map setupInvalidMap, TestSuiteResult suiteResult, TestRealTimeClientRemote trtc)
public TestSuiteResult test(java.lang.String scriptName) throws TestSetupException, java.rmi.RemoteException
test in interface UnitTestServiceRemoteTestSetupExceptionjava.rmi.RemoteExceptionpublic void testRealTime(byte[] testScript,
TestRealTimeClientRemote trtc)
throws TestSetupException,
java.rmi.RemoteException
testRealTime in interface UnitTestServiceRemoteTestSetupExceptionjava.rmi.RemoteExceptionpublic void testRealTime(java.lang.String scriptName,
TestRealTimeClientRemote trtc)
throws TestSetupException,
java.rmi.RemoteException
testRealTime in interface UnitTestServiceRemoteTestSetupExceptionjava.rmi.RemoteException