KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > ReentrantLockCrashTest


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest;
5
6 public class ReentrantLockCrashTest extends TransparentTestBase {
7
8   private static final int NODE_COUNT = 3;
9
10   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
11     t.getTransparentAppConfig().setClientCount(NODE_COUNT);
12     t.initializeTestRunner();
13   }
14
15   protected Class JavaDoc getApplicationClass() {
16     return ReentrantLockTestApp.class;
17   }
18   
19   protected boolean canRunCrash() {
20     return true;
21   }
22   
23   protected boolean canRunRestart() {
24     return true;
25   }
26
27 }
28
Popular Tags