KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > IBatisSimpleTest


1 package com.tctest;
2
3
4 /*
5  * Unit test for measuring the overhead of the instrumented Field class. For correctness
6  * tests for instrumented Field class, refer to the ReflectionFieldTest.
7  */

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