KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > longrunning > LargeGraphTester


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.longrunning;
5
6 import com.tctest.TestConfigurator;
7 import com.tctest.TransparentTestIface;
8 import com.tctest.TransparentTestBase;
9
10 public class LargeGraphTester extends TransparentTestBase implements TestConfigurator {
11
12   int NODE_COUNT = 4;
13   int LOOP_ITERATION_COUNT = 1;
14
15   public void setUp() throws Exception JavaDoc {
16     super.setUp();
17     doSetUp(this);
18   }
19
20   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
21     t.getTransparentAppConfig().setClientCount(NODE_COUNT)
22     .setIntensity(LOOP_ITERATION_COUNT);
23
24     t.getRunnerConfig().setExecutionTimeout(300 * 60 * 1000);
25     t.initializeTestRunner();
26   }
27
28   protected Class JavaDoc getApplicationClass() {
29     return LargeGraphTestApp.class;
30   }
31
32 }
33
Popular Tags