KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > SingleVMWaitNotifyTest


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  * Tests that distributed wait/notify works intra-VM. Most other tests validate the it work inter-VM
8  */

9 public class SingleVMWaitNotifyTest extends TransparentTestBase implements TestConfigurator {
10
11   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
12     t.getTransparentAppConfig().setClientCount(1).setIntensity(1);
13     t.initializeTestRunner();
14   }
15
16   protected Class JavaDoc getApplicationClass() {
17     return SingleVMWaitNotifyTestApp.class;
18   }
19
20   protected boolean canRunCrash() {
21     return true;
22   }
23
24 }
25
Popular Tags