KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > remoting > transport > socket > InvokerTestCase


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.test.remoting.transport.socket;
8
9 import org.apache.log4j.Level;
10 import org.jboss.jrunit.harness.TestDriver;
11
12 /**
13  * This should be used as the main test case for the invoker client/server.
14  * It will start one instance of the client and one of the server and will
15  * gather the test results and report them in standard JUnit format. When
16  * wanting to run JUnit test for invoker, this is the class to use.
17  *
18  * @author <a HREF="mailto:telrod@e2technologies.net">Tom Elrod</a>
19  */

20 public class InvokerTestCase extends TestDriver
21 {
22    public void declareTestClasses()
23    {
24       addTestClasses(InvokerClientTest.class.getName(),
25                      1,
26                      InvokerServerTest.class.getName());
27    }
28
29    protected Level getTestHarnessLogLevel()
30    {
31       return Level.DEBUG;
32    }
33
34 }
Popular Tags