1
package org.jboss.test.remoting.transport.socket.ssl.no_connection_check;
3
import org.apache.log4j.Level;
4
import org.jboss.jrunit.harness.TestDriver;
7
* This should be used as the main test case for the invoker client/server.
8
* It will start one instance of the client and one of the server and will
9
* gather the test results and report them in standard JUnit format. When
10
* wanting to run JUnit test for invoker, this is the class to use.
12
* @author <a href="mailto:telrod@e2technologies.net">Tom Elrod</a>
14
public class InvokerTestCase extends TestDriver
16
public void declareTestClasses()
18
addTestClasses(InvokerClientTest.class.getName(),
20
InvokerServerTest.class.getName());
23
protected Level getTestLogLevel()
29
* How long to wait for test results to be returned from the client(s). If goes longer than the
30
* specified limit, will throw an exception and kill the running test cases. Default value is
35
protected long getResultsTimeout()
41
* How long for the server test case to wait for tear down message. If exceeds timeout,
42
* will throw exception. The default value is TEARDOWN_TIMEOUT.
46
protected long getTearDownTimeout()
52
* How long to allow each of the test cases to run their tests. If exceeds this timeout
53
* will throw exception and kill tests. The default value is RUN_TEST_TIMEOUT.
57
protected long getRunTestTimeout()