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: * Unit test for measuring the overhead of the instrumented Field class. For correctness
08: * tests for instrumented Field class, refer to the ReflectionFieldTest.
09: */
10: public class ReflectionPerformanceTest extends TransparentTestBase {
11: private final static int NODE_COUNT = 1;
12: private final static int LOOP_COUNT = 1;
13:
14: public void setUp() throws Exception {
15: super .setUp();
16:
17: getTransparentAppConfig().setClientCount(NODE_COUNT)
18: .setIntensity(LOOP_COUNT);
19: initializeTestRunner();
20: }
21:
22: protected Class getApplicationClass() {
23: return ReflectionPerformanceTestApp.class;
24: }
25:
26: }
|