/Users/lyon/j4p/src/bookExamples/junit/AllTests.java

1    package bookExamples.junit; 
2     
3    import junit.framework.Test; 
4    import junit.framework.TestSuite; 
5    import junit.framework.TestCase; 
6     
7    /** 
8     * Created by  
9     * User: lyon 
10    * Date: Feb 26, 2004 
11    * Time: 9:13:39 AM 
12    *  
13    */ 
14   public class AllTests { 
15       public static Test suite() { 
16           TestSuite ste = new TestSuite("all junit tests"); 
17           ste.addTest(getTest()); 
18           return ste; 
19       } 
20       public static Test getTest() { 
21           Test t = new TestCase(){ 
22    
23           }   ; 
24           return t; 
25       } 
26    
27   } 
28    
29