KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > WaitNotifySystemTest


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  * System test for distributed wait/notify
8  */

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