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