1 17 18 package org.apache.james.remotemanager; 19 20 import junit.framework.TestCase; 21 import junit.framework.Test; 22 import junit.framework.TestSuite; 23 24 import java.net.Socket ; 25 import java.io.*; 26 import java.util.List ; 27 import java.util.Iterator ; 28 import java.util.ArrayList ; 29 import java.util.Date ; 30 31 import org.apache.james.test.SimpleFileProtocolTest; 32 33 public class TestRemoteManager 34 extends SimpleFileProtocolTest 35 { 36 37 public TestRemoteManager( String testFileName ) throws Exception 38 { 39 super( testFileName ); 40 _port = 4555; 41 addTestFile( "RemoteManagerLogin.test", _preElements ); 42 addTestFile( "RemoteManagerLogout.test", _postElements ); 43 } 44 45 public static Test suite() throws Exception 46 { 47 TestSuite suite = new TestSuite(); 48 suite.addTest( new TestRemoteManager( "AddUsers" ) ); 49 suite.addTest( new TestRemoteManager( "DeleteUsers" ) ); 50 return suite; 51 } 52 } 53 | Popular Tags |