public class UnitTestService extends AppService implements UnitTestServiceRemote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNITTEST_LOGGER |
static MXLogger |
UTLOGGER |
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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 |
---|---|
void |
init()
Initialize the Application Service.
|
boolean |
isMT() |
static java.util.Map<java.lang.String,java.lang.String> |
loadLibrary(java.lang.String resource) |
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, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public static final java.lang.String UNITTEST_LOGGER
public static final MXLogger UTLOGGER
public UnitTestService() throws java.rmi.RemoteException
java.rmi.RemoteException
public UnitTestService(MXServer mxServer) throws java.rmi.RemoteException
mxServer
- The "Server Environment" this Service is being created in.java.rmi.RemoteException
public void init()
AppService
init
in interface Service
init
in class AppService
Service
public static java.util.Map<java.lang.String,java.lang.String> loadLibrary(java.lang.String resource)
public boolean isMT()
isMT
in interface UnitTestServiceRemote
public TestSuiteResult test(byte[] testScript) throws TestSetupException, java.rmi.RemoteException
test
in interface UnitTestServiceRemote
TestSetupException
java.rmi.RemoteException
public TestSuiteResult test(java.lang.String scriptName) throws TestSetupException, java.rmi.RemoteException
test
in interface UnitTestServiceRemote
TestSetupException
java.rmi.RemoteException
public void testRealTime(byte[] testScript, TestRealTimeClientRemote trtc) throws TestSetupException, java.rmi.RemoteException
testRealTime
in interface UnitTestServiceRemote
TestSetupException
java.rmi.RemoteException
public void testRealTime(java.lang.String scriptName, TestRealTimeClientRemote trtc) throws TestSetupException, java.rmi.RemoteException
testRealTime
in interface UnitTestServiceRemote
TestSetupException
java.rmi.RemoteException