1 61 62 package org.apache.commons.fileupload; 63 64 import junit.framework.*; 65 66 71 public class TestAll extends TestCase { 72 73 public TestAll(String testName) { 74 super(testName); 75 } 76 77 public static Test suite() { 78 TestSuite suite = new TestSuite(); 79 suite.addTest(new TestSuite(MultipartStreamTest.class)); 80 suite.addTest(new TestSuite(FileUploadTest.class)); 81 suite.addTest(new TestSuite(DeferredFileOutputStreamTest.class)); 82 return suite; 83 } 84 85 public static void main(String args[]) { 86 String [] testCaseName = { TestAll.class.getName() }; 87 junit.textui.TestRunner.main(testCaseName); 88 } 89 } 90 | Popular Tags |