KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > GetRootFirstTest


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 /**
7  *
8  */

9 public class GetRootFirstTest extends TransparentTestBase implements TestConfigurator {
10   private static final int NODE_COUNT = 2;
11   private static final int LOOP_ITERATION_COUNT = 1;
12
13   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
14     t.getTransparentAppConfig().setClientCount(NODE_COUNT).setIntensity(LOOP_ITERATION_COUNT);
15     t.initializeTestRunner();
16   }
17
18   protected Class JavaDoc getApplicationClass() {
19     return GetRootFirstTestApp.class;
20   }
21
22   protected boolean canRunCrash() {
23     return true;
24   }
25
26 }
27
Popular Tags