1 package test.sample; 2 3 import junit.framework.TestCase; 4 5 /** 6 * This class 7 * 8 * @author Cedric Beust, May 5, 2004 9 * 10 */ 11 public class JUnitSample1 extends TestCase { 12 private String m_field = null; 13 public static final String EXPECTED2 = "testSample1_2"; 14 public static final String EXPECTED1 = "testSample1_1"; 15 JUnitSample1()16 public JUnitSample1() { 17 super(); 18 } 19 JUnitSample1(String n)20 public JUnitSample1(String n) { 21 super(n); 22 } 23 24 @Override setUp()25public void setUp() { 26 m_field = "foo"; 27 } 28 29 @Override tearDown()30 public void tearDown() { 31 m_field = null; 32 } 33 34 /** 35 * 36 * 37 */ testSample1_1()38 public void testSample1_1() { 39 // ppp("Sample 1_1"); 40 } 41 testSample1_2()42 public void testSample1_2() { 43 // ppp("Sample 1_2"); 44 } 45 ppp(String s)46 private static void ppp(String s) { 47 System.out.println("[JUnitSample1] " + s); 48 } 49 50 51 52 } 53