01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest;
05:
06: /**
07: * Test what happens when an exception is thrown in a locked method.
08: */
09: public class TransparencyExceptionTest extends TransparentTestBase
10: implements TestConfigurator {
11:
12: private int clientCount = 2;
13:
14: protected Class getApplicationClass() {
15: return TransparencyExceptionTestApp.class;
16: }
17:
18: public void doSetUp(TransparentTestIface t) throws Exception {
19: t.getTransparentAppConfig().setClientCount(clientCount)
20: .setApplicationInstancePerClientCount(1)
21: .setIntensity(1);
22: t.initializeTestRunner();
23: }
24:
25: }
|