1 20 package org.apache.cactus; 21 22 import org.apache.cactus.internal.AbstractTestSuite; 23 24 import junit.framework.Test; 25 26 33 public class ServletTestSuite extends AbstractTestSuite 34 { 35 38 public ServletTestSuite() 39 { 40 } 41 42 45 public ServletTestSuite(final Class theClass) 46 { 47 super(theClass); 48 } 49 50 53 public ServletTestSuite(String theName) 54 { 55 super(theName); 56 } 57 58 65 public void addTest(Test theTest) 66 { 67 super.addTest(theTest); 68 } 69 70 77 public void addTestSuite(Class theTestClass) 78 { 79 super.addTestSuite(theTestClass); 80 } 81 82 85 protected Test createTestSuite(Class theTestClass) 86 { 87 return new ServletTestSuite(theTestClass); 88 } 89 90 93 protected Test createCactusTestCase(String theName, Test theTest) 94 { 95 return new ServletTestCase(theName, theTest); 96 } 97 } 98 | Popular Tags |