AppTest-orig.java

Download AppTest-orig.java

 1: package com.wpollock.hello;
 2: 
 3: import junit.framework.Test;
 4: import junit.framework.TestCase;
 5: import junit.framework.TestSuite;
 6: 
 7: /**
 8:  * Unit test for simple App.
 9:  */
10: public class AppTest
11:     extends TestCase
12: {
13:     /**
14:      * Create the test case
15:      *
16:      * @param testName name of the test case
17:      */
18:     public AppTest( String testName )
19:     {
20:         super( testName );
21:     }
22: 
23:     /**
24:      * @return the suite of tests being tested
25:      */
26:     public static Test suite()
27:     {
28:         return new TestSuite( AppTest.class );
29:     }
30: 
31:     /**
32:      * Rigourous Test :-)
33:      */
34:     public void testApp()
35:     {
36:         assertTrue( true );
37:     }
38: }