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

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/transport/socket/ssl/serversocketrefresh/TestCase_Retired.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.socket.ssl.serversocketrefresh;
2
 
import org.apache.log4j.Level;
3
 
import org.jboss.jrunit.harness.TestDriver;
4
 
import org.jboss.logging.XLevel;
5
 
 
6
 
/**
7
 
 * JBREM-427 load a new keystore at runtime<br>
8
 
 * server is refreshing its serversocket after a new ServerSocketFactory was set<br>
9
 
 * second client connection attempt fails because client is not accepted by the new truststore
10
 
 * @author Michael Voss
11
 
 *
12
 
 */
13
 
public class TestCase_Retired extends TestDriver{
14
 
        
15
 
        public void declareTestClasses()
16
 
           {
17
 
              addTestClasses(TestClient.class.getName(),
18
 
                             1,
19
 
                             TestServer.class.getName());
20
 
 
21
 
           }
22
 
    
23
 
     protected Level getTestLogLevel()
24
 
     {
25
 
        return XLevel.TRACE;
26
 
     }
27
 
     
28
 
     protected long getResultsTimeout()
29
 
     {
30
 
        return 480000;
31
 
     }
32
 
     
33
 
     protected long getRunTestTimeout()
34
 
     {
35
 
        return 480000;
36
 
     }
37
 
}