1 26 27 package net.sourceforge.groboutils.autodoc.v1.testserver; 28 29 import net.sourceforge.groboutils.autodoc.v1.*; 30 31 import org.easymock.EasyMock; 32 import org.easymock.MockControl; 33 import net.sourceforge.groboutils.junit.v1.iftc.*; 34 import junit.framework.Test; 35 import junit.framework.TestCase; 36 import junit.framework.TestSuite; 37 38 39 46 public class TestDataUTestI extends InterfaceTestCase 47 { 48 51 private static final Class THIS_CLASS = TestDataUTestI.class; 52 54 public TestDataUTestI( String name, ImplFactory f ) 55 { 56 super( name, TestData.class, f ); 57 } 58 59 60 public TestData createTestData() 61 { 62 return (TestData)createImplObject(); 63 } 64 65 66 69 70 public void testGetTestInfo() 71 { 72 TestData td = createTestData(); 73 assertNotNull( 74 "getTestInfo returned null.", 75 td.getTestInfo() ); 76 } 77 78 79 82 83 public static InterfaceTestSuite suite() 84 { 85 InterfaceTestSuite suite = new InterfaceTestSuite( THIS_CLASS ); 86 87 return suite; 88 } 89 90 public static void main( String [] args ) 91 { 92 String [] name = { THIS_CLASS.getName() }; 93 94 97 junit.textui.TestRunner.main( name ); 98 } 99 100 101 105 protected void setUp() throws Exception 106 { 107 super.setUp(); 108 109 } 111 112 113 117 protected void tearDown() throws Exception 118 { 119 121 122 super.tearDown(); 123 } 124 } 125 126 | Popular Tags |