KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > ProxyTest


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  * Unit test for measuring the overhead of the instrumented Field class. For correctness
8  * tests for instrumented Field class, refer to the ReflectionFieldTest.
9  */

10 public class ProxyTest extends TransparentTestBase {
11   private final static int NODE_COUNT = 3;
12
13   public void setUp() throws Exception JavaDoc {
14     super.setUp();
15     
16     getTransparentAppConfig().setClientCount(NODE_COUNT).setIntensity(1);
17     initializeTestRunner();
18   }
19
20   protected Class JavaDoc getApplicationClass() {
21     return ProxyTestApp.class;
22   }
23  
24 }
25
Popular Tags