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

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/transport/bisocket/timeout/idle/BisocketIdleTimeoutTestCase.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: package-import@ubuntu.com-20110909140103-o8ucrolqt5g25k57
Tags: upstream-2.5.3.SP1
ImportĀ upstreamĀ versionĀ 2.5.3.SP1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jboss.test.remoting.transport.bisocket.timeout.idle;
2
 
 
3
 
import org.jboss.jrunit.harness.TestDriver;
4
 
 
5
 
public class BisocketIdleTimeoutTestCase extends TestDriver
6
 
{
7
 
   public void declareTestClasses()
8
 
   {
9
 
      addTestClasses(BisocketIdleTimeoutClientTest.class.getName(),
10
 
                     2,
11
 
                     BisocketIdleTimeoutTestServer.class.getName());
12
 
   }
13
 
 
14
 
   /**
15
 
    * How long to wait for test results to be returned from the client(s).  If goes longer than the
16
 
    * specified limit, will throw an exception and kill the running test cases.  Default value is
17
 
    * RESULTS_TIMEOUT.
18
 
    *
19
 
    * @return
20
 
    */
21
 
   protected long getResultsTimeout()
22
 
   {
23
 
      return 360000;
24
 
   }
25
 
 
26
 
   /**
27
 
    * How long for the server test case to wait for tear down message.  If exceeds timeout,
28
 
    * will throw exception.  The default value is TEARDOWN_TIMEOUT.
29
 
    *
30
 
    * @return
31
 
    */
32
 
   protected long getTearDownTimeout()
33
 
   {
34
 
      return 360000;
35
 
   }
36
 
 
37
 
   /**
38
 
    * How long to allow each of the test cases to run their tests.  If exceeds this timeout
39
 
    * will throw exception and kill tests.  The default value is RUN_TEST_TIMEOUT.
40
 
    *
41
 
    * @return
42
 
    */
43
 
   protected long getRunTestTimeout()
44
 
   {
45
 
      return 360000;
46
 
   }
47
 
 
48
 
}
 
 
b'\\ No newline at end of file'