1 package test; 2 3 import junit.framework.*; 4 5 11 public class TestSuite2 extends TestSuite { 12 public TestSuite2(String name) { 13 super(name); 14 } 15 16 public void run(TestResult result) { 17 testSuiteSetUp(); 18 try { 19 super.run(result); 20 } finally { 21 testSuiteTearDown(); 22 } 23 } 24 25 protected void testSuiteSetUp() { 26 } 27 protected void testSuiteTearDown() { 28 } 29 } 30 | Popular Tags |