1 | public class PessimisticInvalidatedTransactionalTestCase extends AbstractTransactionalAccessTestCase {↵ | | 1 | public class PessimisticInvalidatedTransactionalTestCase extends AbstractTransactionalAccessTestCase {↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Create a new PessimisticTransactionalAccessTestCase.↵ | | 3 | * Create a new PessimisticTransactionalAccessTestCase.↵
|
4 | * ↵ | | 4 | * ↵
|
5 | * @param name↵ | | 5 | * @param name↵
|
6 | */↵ | | 6 | */↵
|
7 | public PessimisticInvalidatedTransactionalTestCase(String name) {↵ | | 7 | public PessimisticInvalidatedTransactionalTestCase(String name) {↵
|
8 | super(name);↵ | | 8 | super(name);↵
|
9 | }↵ | | 9 | }↵
|
10 | ↵ | | 10 | ↵
|
11 | public static Test suite() throws Exception {↵ | | 11 | public static Test suite() throws Exception {↵
|
12 | TestSuite suite = CacheTestUtil.createFailureExpectedSuite(PessimisticInvalidatedTransactionalTestCase.class); ↵ | | 12 | TestSuite suite = CacheTestUtil.createFailureExpectedSuite(PessimisticInvalidatedTransactionalTestCase.class);↵
|
13 | return getTestSetup(suite, "pessimistic-entity");↵ | | 13 | return getTestSetup(suite, "pessimistic-entity");↵
|
14 | }↵ | | 14 | }↵
|
| | | 15 | ↵
|
| | | 16 | // Known failures ↵
|
|
| | | 17 | // Overrides↵
|
| | | 18 | ↵
|
15 | @Override↵ | | 19 | @Override↵
|
16 | public void testCacheConfiguration() {↵ | | 20 | public void testCacheConfiguration() {↵
|
17 | assertTrue("Using Invalidation", isUsingInvalidation());↵ | | 21 | assertTrue("Using Invalidation", isUsingInvalidation());↵
|
18 | assertFalse("Using Optimistic locking", isUsingOptimisticLocking());↵ | | 22 | assertFalse("Using Optimistic locking", isUsingOptimisticLocking());↵
|
19 | assertTrue("Synchronous mode", isSynchronous()) | | 23 | assertTrue("Synchronous mode", isSynchronous())
|