~ubuntu-branches/ubuntu/oneiric/libjboss-remoting-java/oneiric

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/transport/bisocket/ssl/handshake/SSLBisocketInvokerTestCase.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jboss.test.remoting.transport.bisocket.ssl.handshake;
2
 
 
3
 
import org.apache.log4j.Level;
4
 
import org.jboss.jrunit.harness.TestDriver;
5
 
 
6
 
/**
7
 
 * @author <a href="mailto:telrod@e2technologies.net">Tom Elrod</a>
8
 
 * @author <a href="ron.sigal@jboss.com">Ron Sigal</a>
9
 
 */
10
 
public class SSLBisocketInvokerTestCase extends TestDriver
11
 
{
12
 
   public void declareTestClasses()
13
 
   {
14
 
      addTestClasses(SSLBisocketInvokerClientTest.class.getName(),
15
 
                     1,
16
 
                     SSLBisocketInvokerServerTest.class.getName());
17
 
   }
18
 
 
19
 
   protected Level getTestLogLevel()
20
 
   {
21
 
      return Level.DEBUG;
22
 
   }
23
 
 
24
 
   /**
25
 
    * How long to wait for test results to be returned from the client(s).  If goes longer than the
26
 
    * specified limit, will throw an exception and kill the running test cases.  Default value is
27
 
    * RESULTS_TIMEOUT.
28
 
    *
29
 
    * @return
30
 
    */
31
 
   protected long getResultsTimeout()
32
 
   {
33
 
      return 600000;
34
 
   }
35
 
 
36
 
   /**
37
 
    * How long for the server test case to wait for tear down message.  If exceeds timeout,
38
 
    * will throw exception.  The default value is TEARDOWN_TIMEOUT.
39
 
    *
40
 
    * @return
41
 
    */
42
 
   protected long getTearDownTimeout()
43
 
   {
44
 
      return 600000;
45
 
   }
46
 
 
47
 
   /**
48
 
    * How long to allow each of the test cases to run their tests.  If exceeds this timeout
49
 
    * will throw exception and kill tests.  The default value is RUN_TEST_TIMEOUT.
50
 
    *
51
 
    * @return
52
 
    */
53
 
   protected long getRunTestTimeout()
54
 
   {
55
 
      return 600000;
56
 
   }
57
 
 
58
 
}