1 | public class OptimisticSessionRefreshTest extends PessimisticSessionRefreshTest↵ | | 1 | public class OptimisticIsolatedClassLoaderTest extends PessimisticIsolatedClassLoaderTest↵
|
2 | {↵ | | 2 | {↵
|
3 | ↵ | | |
|
4 | private static final String CACHE_CONFIG = "optimistic-entity";↵ | | 3 | private static final String CACHE_CONFIG = "optimistic-↵
|
| | | 4 | shared";↵
|
| | | 5 | ↵
|
5 | /**↵ | | 6 | /**↵
|
6 | * Create a new OptimisticSessionRefreshTest.↵ | | 7 | * Create a new OptimisticIsolatedClassLoaderTest.↵
|
7 | * ↵ | | 8 | * ↵
|
8 | * @param x↵ | | 9 | * @param name↵
|
9 | */↵ | | 10 | */↵
|
10 | public OptimisticSessionRefreshTest(String x)↵ | | 11 | public OptimisticIsolatedClassLoaderTest(String name)↵
|
11 | {↵ | | 12 | {↵
|
12 | super(x);↵ | | 13 | super(name); ↵
|
13 | }↵ | | 14 | }↵
|
14 | ↵ | | 15 | ↵
|
15 | public static Test suite() throws Exception {↵ | | 16 | public static Test suite() throws Exception {↵
|
16 | TestSuite suite = new TestSuite(OptimisticSessionRefreshTest.class);↵ | | 17 | TestSuite suite = new TestSuite(OptimisticIsolatedClassLoaderTest.class);↵
|
17 | String[] acctClasses = { OUR_PACKAGE + ".Account", OUR_PACKAGE + ".AccountHolder" };↵ | | 18 | String[] acctClasses = { OUR_PACKAGE + ".Account", OUR_PACKAGE + ".AccountHolder" };↵
|
18 | return new IsolatedCacheTestSetup(suite, acctClasses, CACHE_CONFIG);↵ | | 19 | return new IsolatedCacheTestSetup(suite, acctClasses, CACHE_CONFIG);↵
|
19 | }↵ | | 20 | }↵
|
|
20 | @Override↵ | | |
|
21 | protected String getEntityCacheConfigName() {↵ | | 21 | protected String getEntityCacheConfigName() {↵
|
22 | return CACHE_CONFIG | | 22 | return CACHE_CONFIG
|