1 package test.functional; 2 3 import junit.framework.Test; 4 import junit.framework.TestCase; 5 import junit.framework.TestSuite; 6 import org.apache.axis.utils.ClassUtils; 7 8 11 public class FunctionalTests extends TestCase 12 { 13 public FunctionalTests(String name) 14 { 15 super(name); 16 } 17 18 public static Test suite() throws Exception 19 { 20 TestSuite suite = new TestSuite(); 21 22 suite.addTestSuite(TestEchoSample.class); 25 26 suite.addTestSuite(TestJAXRPCSamples.class); 28 29 suite.addTestSuite(TestJAXMSamples.class); 31 32 suite.addTestSuite(TestStockSample.class); 37 38 suite.addTestSuite(TestJWSGlobalTypes.class); 40 41 suite.addTestSuite(TestTCPTransportSample.class); 43 44 suite.addTestSuite(TestTransportSample.class); 46 47 suite.addTestSuite(TestBidBuySample.class); 49 50 suite.addTestSuite(TestMiscSample.class); 52 53 56 suite.addTestSuite(TestElementSample.class); 58 59 suite.addTestSuite(TestMessageSample.class); 61 62 suite.addTestSuite(TestIF3SOAP.class); 64 65 suite.addTestSuite(TestFaultsSample.class); 67 68 suite.addTestSuite(TestEncoding.class); 69 70 try{ 72 if( null != ClassUtils.forName("javax.activation.DataHandler") && 73 null != ClassUtils.forName("javax.mail.internet.MimeMultipart")){ 74 suite.addTestSuite( ClassUtils.forName("test.functional.TestAttachmentsSample")); 75 } 76 }catch( Throwable t){;} 77 78 82 suite.addTestSuite(TestAutoTypes.class); 83 84 return suite; 85 } 86 } 87 | Popular Tags |