public class CdmClientCachingTest extends RemotingSessionAwareTest
cacher, sessionOwner
cdmEntitySessionManager
contextPath, host, httpPort, password, sourceName, user
Constructor and Description |
---|
CdmClientCachingTest() |
Modifier and Type | Method and Description |
---|---|
void |
differentSubGraphDepthTest1()
when : retrieving objects using recursive caching of object graphs with different depths
then : the objects in the sub-graph having the same persistence id should be the same
|
void |
differentSubGraphDepthTest2()
when : retrieving objects using recursive caching of object graphs with different depths
then : the objects in the sub-graph having the same persistence id should be the same
|
static void |
initializePolytomousKeyTest() |
void |
lazyLoadAndRecursiveLoadTest()
when : retrieving objects using (first) lazy loading and (second) recursive load directly in the same session
then : the objects in the sub-graph having the same persistence id should be the same
|
void |
lazyLoadRecursiveTest()
when : retrieving objects using recursive caching of object graphs with different depths
then : the objects in the sub-graph having the same persistence id should be the same
|
void |
nonLazyCollectionLoadTest()
when : loading a non-lazy collection in a subgraph and loading the collection directly
then : the object stored in the cache should be the same as the object in the sub-graph collection and
the object in the directly loaded collection
|
void |
nonLazyMapLoadTest()
when : loading a non-lazy map in a subgraph and loading the map directly
then : the object stored in the cache should be the same as the object in the sub-graph map and
the object in the directly loaded map
|
void |
recursiveLoadAndLazyLoadTest()
when : retrieving objects using (first) recursive load directly and (second) lazy loading in the same session
then : the objects in the sub-graph having the same persistence id should be the same
|
void |
recursiveLoadSubGraphDepth1Test() |
void |
recursiveLoadSubGraphDepth2Test() |
void |
subGraphCollectionLoadTest()
when : loading objects from a collection
then : the object stored in the cache should be the same
|
void |
subGraphMapLoadTest()
when : loading objects from a map
then : the object stored in the cache should be the same
|
void |
subGraphObjectLoadTest1()
when : loading an object (first) and then (second) loading a graph the object is contained in, in the same session
then : the object should be the same
|
void |
subGraphObjectLoadTest2()
when : loading a graph (first) and then (second) loading an object contained in in the graph, in the same session
then : the object should be the same
|
authenticateExtraUser, initializeSession, postSessionAwareTest
authenticate, authenticateDefaultUser, emptyAllCachesExceptModelCache, getActiveSession, getCacher, getCdmEntitySessionManager, getCdmPersistentRemoteSource, getCdmRemoteSource, getFieldValueViaReflection, getRemoteApplicationController, getSession, initializeBaseRemotingTest, initializeController
cleanup, invokeThread
initializeTestConfig
public static void initializePolytomousKeyTest()
public void recursiveLoadSubGraphDepth1Test()
public void recursiveLoadSubGraphDepth2Test()
public void lazyLoadRecursiveTest()
public void differentSubGraphDepthTest1()
public void differentSubGraphDepthTest2()
public void recursiveLoadAndLazyLoadTest()
public void lazyLoadAndRecursiveLoadTest()
public void subGraphObjectLoadTest1()
public void subGraphObjectLoadTest2()
public void subGraphCollectionLoadTest()
public void nonLazyCollectionLoadTest()
public void subGraphMapLoadTest()
public void nonLazyMapLoadTest()
Copyright © 2007-2018. All Rights Reserved.