KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > TransparencyExceptionTest


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 /**
8  * Test what happens when an exception is thrown in a locked method.
9  */

10 public class TransparencyExceptionTest extends TransparentTestBase implements TestConfigurator {
11
12   private int clientCount = 2;
13
14   protected Class JavaDoc getApplicationClass() {
15     return TransparencyExceptionTestApp.class;
16   }
17
18   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
19     t.getTransparentAppConfig().setClientCount(clientCount).setApplicationInstancePerClientCount(1).setIntensity(1);
20     t.initializeTestRunner();
21   }
22
23 }
24
Popular Tags