01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest;
05:
06: /**
07: * This test is mainly to model and test the use case reported in CDV-456. Specifically, the use case is to add ReentrantReadWriteLock.WriteLock
08: * to the config with honorTransient to true which will result in NPE when the lock is faulted in the other node. In general, this problem
09: * could apply to any class that is in the boot jar.
10: *
11: */
12: public class AddIncludeClassFromBootJarTest extends TransparentTestBase {
13:
14: private static final int NODE_COUNT = 2;
15:
16: public void doSetUp(TransparentTestIface t) throws Exception {
17: t.getTransparentAppConfig().setClientCount(NODE_COUNT);
18: t.initializeTestRunner();
19: }
20:
21: protected Class getApplicationClass() {
22: return AddIncludeClassFromBootJarTestApp.class;
23: }
24:
25: }
|