1 17 18 package org.apache.james.imapserver; 19 20 import org.apache.james.test.SimpleFileProtocolTest; 21 22 import junit.framework.Test; 23 import junit.framework.TestSuite; 24 25 29 public class TestCommandsInNonAuthenticatedState 30 extends SimpleFileProtocolTest 31 { 32 public TestCommandsInNonAuthenticatedState( String name ) 33 { 34 super( name ); 35 } 36 37 41 public void setUp() throws Exception 42 { 43 super.setUp(); 44 addTestFile( "Welcome.test", preElements ); 45 } 46 47 50 public static Test suite() throws Exception 51 { 52 TestSuite suite = new TestSuite(); 53 suite.addTest( new TestCommandsInNonAuthenticatedState( "ValidAuthenticated" ) ); 55 suite.addTest( new TestCommandsInNonAuthenticatedState( "ValidSelected" ) ); 56 57 suite.addTest( new TestCommandsInNonAuthenticatedState( "Capability" ) ); 59 suite.addTest( new TestCommandsInNonAuthenticatedState( "Noop" ) ); 60 suite.addTest( new TestCommandsInNonAuthenticatedState( "Logout" ) ); 61 62 suite.addTest( new TestCommandsInNonAuthenticatedState( "Authenticate" ) ); 64 suite.addTest( new TestCommandsInNonAuthenticatedState( "Login" ) ); 65 66 return suite; 67 } 68 69 } 70 | Popular Tags |