KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > TransparentVectorTest


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 TransparentVectorTest extends TransparentTestBase {
7   private static final int NODE_COUNT = 3;
8   private static final int EXECUTION_COUNT = 3;
9   private static final int LOOP_ITERATION_COUNT = 2;
10
11   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
12     t.getTransparentAppConfig().setClientCount(NODE_COUNT).setApplicationInstancePerClientCount(EXECUTION_COUNT)
13         .setIntensity(LOOP_ITERATION_COUNT);
14     t.initializeTestRunner();
15   }
16
17   protected Class JavaDoc getApplicationClass() {
18     return TransparentVectorTestApp.class;
19   }
20
21   protected boolean canRunCrash() {
22     return true;
23   }
24
25 }
26
Popular Tags