1 7 8 package org.netbeans.test.junit.go.test; 9 10 import junit.framework.Test; 11 import junit.framework.TestCase; 12 import junit.framework.TestSuite; 13 14 18 public class AlfaTest extends TestCase { 19 20 public AlfaTest(String testName) { 21 super(testName); 22 } 23 24 public static Test suite() { 25 TestSuite suite = new TestSuite(AlfaTest.class); 26 27 return suite; 28 } 29 30 protected void setUp() throws Exception { 31 super.setUp(); 32 } 33 34 protected void tearDown() throws Exception { 35 super.tearDown(); 36 } 37 38 public void testHello() { 39 System.out.println("hello"); 40 String name = ""; 41 Alfa instance = new Alfa(); 42 String expResult = ""; 43 String result = instance.hello(name); 44 45 assertEquals(expResult, result); 46 fail("The test case is a prototype."); 47 } 48 49 } 50 | Popular Tags |