public abstract class BaseRemotingTest extends ThreadedTest
Modifier and Type | Field and Description |
---|---|
protected static ICdmEntitySessionManager |
cdmEntitySessionManager |
contextPath, host, httpPort, password, sourceName, user
Constructor and Description |
---|
BaseRemotingTest() |
Modifier and Type | Method and Description |
---|---|
protected static void |
authenticate(java.lang.String username,
java.lang.String password) |
protected static void |
authenticateDefaultUser() |
static void |
emptyAllCachesExceptModelCache() |
protected static CdmEntitySession |
getActiveSession() |
protected static ConversationalTransientEntityCacher |
getCacher(ICdmEntitySessionEnabled sessionOwner) |
protected static ICdmEntitySessionManager |
getCdmEntitySessionManager() |
protected static CdmPersistentRemoteSource |
getCdmPersistentRemoteSource() |
protected static ICdmRemoteSource |
getCdmRemoteSource() |
protected static java.lang.Object |
getFieldValueViaReflection(java.lang.Object object,
java.lang.String fieldName) |
protected static CdmApplicationRemoteController |
getRemoteApplicationController() |
protected static CdmEntitySession |
getSession(ICdmEntitySessionEnabled sessionOwner) |
static void |
initializeBaseRemotingTest() |
static void |
initializeController(java.lang.String sourceName,
java.lang.String host,
int port,
java.lang.String contextPath,
java.lang.String username,
java.lang.String password) |
cleanup, invokeThread
initializeTestConfig
protected static ICdmEntitySessionManager cdmEntitySessionManager
public static void initializeBaseRemotingTest()
public static void emptyAllCachesExceptModelCache()
public static void initializeController(java.lang.String sourceName, java.lang.String host, int port, java.lang.String contextPath, java.lang.String username, java.lang.String password)
protected static void authenticate(java.lang.String username, java.lang.String password)
protected static CdmApplicationRemoteController getRemoteApplicationController()
protected static ICdmRemoteSource getCdmRemoteSource()
protected static CdmPersistentRemoteSource getCdmPersistentRemoteSource()
protected static ICdmEntitySessionManager getCdmEntitySessionManager()
protected static CdmEntitySession getSession(ICdmEntitySessionEnabled sessionOwner)
protected static CdmEntitySession getActiveSession()
protected static ConversationalTransientEntityCacher getCacher(ICdmEntitySessionEnabled sessionOwner)
protected static java.lang.Object getFieldValueViaReflection(java.lang.Object object, java.lang.String fieldName)
protected static void authenticateDefaultUser()
Copyright © 2007-2018. All Rights Reserved.