KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > ClientMemoryReaperTest


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 public class ClientMemoryReaperTest extends TransparentTestBase implements TestConfigurator {
7
8   private static final int NODE_COUNT = 2;
9   private static final int THREADS_COUNT = 2;
10
11   protected Class JavaDoc getApplicationClass() {
12     return ClientMemoryReaperTestApp.class;
13   }
14
15   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
16     t.getTransparentAppConfig().setClientCount(NODE_COUNT).setApplicationInstancePerClientCount(THREADS_COUNT);
17     t.initializeTestRunner();
18   }
19
20 }
21
Popular Tags