~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/BisocketInactiveIdleTimeoutTestCase.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.timeout.idle;
2
 
 
3
 
import org.jboss.jrunit.harness.TestDriver;
4
 
 
5
 
public class BisocketInactiveIdleTimeoutTestCase extends TestDriver
6
 
{
7
 
   public void declareTestClasses()
8
 
   {
9
 
      addTestClasses(BisocketInactiveIdleTimeoutClientTest.class.getName(),
10
 
                     1,
11
 
                     BisocketInactiveIdleTimeoutTestServer.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
 
}