1 17 18 package org.apache.james.imapserver; 19 20 import junit.framework.Test; 21 import junit.framework.TestSuite; 22 23 31 public class TestOtherCommandsInSelectedState 32 extends TestCommandsInAuthenticatedState 33 { 34 public TestOtherCommandsInSelectedState( String name ) 35 { 36 super( name ); 37 } 38 39 44 public void setUp() throws Exception 45 { 46 super.setUp(); 47 addTestFile( "SelectInbox.test", preElements ); 48 } 49 50 54 public static Test suite() throws Exception 55 { 56 TestSuite suite = new TestSuite(); 57 suite.addTest( new TestOtherCommandsInSelectedState( "ValidNonAuthenticated" ) ); 59 60 suite.addTest( new TestOtherCommandsInSelectedState( "Capability" ) ); 62 suite.addTest( new TestOtherCommandsInSelectedState( "Noop" ) ); 63 suite.addTest( new TestOtherCommandsInSelectedState( "Logout" ) ); 64 65 suite.addTest( new TestOtherCommandsInSelectedState( "Create" ) ); 67 suite.addTest( new TestOtherCommandsInSelectedState( "ExamineEmpty" ) ); 68 suite.addTest( new TestOtherCommandsInSelectedState( "SelectEmpty" ) ); 69 suite.addTest( new TestOtherCommandsInSelectedState( "ListNamespace" ) ); 70 suite.addTest( new TestOtherCommandsInSelectedState( "ListMailboxes" ) ); 71 suite.addTest( new TestOtherCommandsInSelectedState( "Status" ) ); 72 suite.addTest( new TestOtherCommandsInSelectedState( "StringArgs" ) ); 73 suite.addTest( new TestOtherCommandsInSelectedState( "Subscribe" ) ); 74 suite.addTest( new TestOtherCommandsInSelectedState( "Append" ) ); 75 suite.addTest( new TestOtherCommandsInSelectedState( "Delete" ) ); 76 77 return suite; 78 } 79 } 80 | Popular Tags |