KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > SyntheticFaultTest


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