KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > restart > system > ObjectDataRestartTest


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

5 package com.tctest.restart.system;
6
7 import com.tctest.TestConfigurator;
8 import com.tctest.TransparentTestBase;
9 import com.tctest.TransparentTestIface;
10
11 public class ObjectDataRestartTest extends TransparentTestBase implements TestConfigurator {
12
13   private int clientCount = 2;
14
15   protected Class JavaDoc getApplicationClass() {
16     return ObjectDataRestartTestApp.class;
17   }
18
19   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
20     t.getTransparentAppConfig().setClientCount(clientCount).setIntensity(1);
21     t.initializeTestRunner();
22   }
23
24   protected boolean canRunCrash() {
25     return true;
26   }
27
28   protected boolean canRunRestart() {
29     return true;
30   }
31
32 }
33
Popular Tags