1 17 18 package org.apache.james.imapserver; 19 20 import junit.framework.Test; 21 import junit.framework.TestSuite; 22 23 27 public class TestSelectedCommandsInSelectedState 28 extends TestCommandsInAuthenticatedState 29 { 30 public TestSelectedCommandsInSelectedState( String name ) 31 { 32 super( name ); 33 } 34 35 40 public void setUp() throws Exception 41 { 42 super.setUp(); 43 addTestFile( "SelectedStateSetup.test", preElements ); 44 addTestFile( "SelectedStateCleanup.test", postElements ); 45 } 46 47 51 public static Test suite() throws Exception 52 { 53 TestSuite suite = new TestSuite(); 54 55 suite.addTest( new TestSelectedCommandsInSelectedState( "Check" ) ); 57 suite.addTest( new TestSelectedCommandsInSelectedState( "Expunge" ) ); 58 suite.addTest( new TestSelectedCommandsInSelectedState( "Search" ) ); 59 suite.addTest( new TestSelectedCommandsInSelectedState( "FetchSingleMessage" ) ); 60 suite.addTest( new TestSelectedCommandsInSelectedState( "Store" ) ); 62 suite.addTest( new TestSelectedCommandsInSelectedState( "Copy" ) ); 63 suite.addTest( new TestSelectedCommandsInSelectedState( "Uid" ) ); 64 65 return suite; 66 } 67 } 68 | Popular Tags |