org.subethamail.smtp.test
Class StartStopTest

java.lang.Object
  extended by TestCase
      extended by org.subethamail.smtp.test.StartStopTest

public class StartStopTest
extends TestCase

This class attempts to quickly start/stop 10 Wiser servers. It makes sure that the socket bind address is correctly shut down.

Author:
Jon Stevens

Field Summary
protected  int counter
           
static int PORT
           
protected  javax.mail.Session session
           
 
Constructor Summary
StartStopTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
static Test suite()
           
protected  void tearDown()
           
 void testMultipleStartStop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT

public static final int PORT
See Also:
Constant Field Values

session

protected javax.mail.Session session

counter

protected int counter
Constructor Detail

StartStopTest

public StartStopTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleStartStop

public void testMultipleStartStop()
                           throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static Test suite()


Copyright © 2006-2011. All Rights Reserved.