1 26 27 package net.sourceforge.groboutils.pmti.v1.itf; 28 29 import net.sourceforge.groboutils.autodoc.v1.AutoDoc; 30 import org.easymock.EasyMock; 31 import org.easymock.MockControl; 32 import net.sourceforge.groboutils.junit.v1.iftc.*; 33 import junit.framework.Test; 34 import junit.framework.TestCase; 35 import junit.framework.TestSuite; 36 37 38 45 public class IIssueRecordUTestI extends InterfaceTestCase 46 { 47 50 private static final Class THIS_CLASS = IIssueRecordUTestI.class; 51 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 52 53 public IIssueRecordUTestI( String name, ImplFactory f ) 54 { 55 super( name, IIssueRecord.class, f ); 56 } 57 58 59 public IIssueRecord createIIssueRecord() 60 { 61 return (IIssueRecord)createImplObject(); 62 } 63 64 65 68 public void testGetID1() 69 { 70 IIssueRecord ir = createIIssueRecord(); 71 assertNotNull( 72 "Returned a null ID.", 73 ir.getID() ); 74 } 75 76 77 public void testGetDescription1() 78 { 79 IIssueRecord ir = createIIssueRecord(); 80 81 ir.getDescription(); 83 } 84 85 86 87 90 91 public static InterfaceTestSuite suite() 92 { 93 InterfaceTestSuite suite = new InterfaceTestSuite( THIS_CLASS ); 94 95 return suite; 96 } 97 98 public static void main( String [] args ) 99 { 100 String [] name = { THIS_CLASS.getName() }; 101 102 105 junit.textui.TestRunner.main( name ); 106 } 107 108 109 113 protected void setUp() throws Exception 114 { 115 super.setUp(); 116 117 } 119 120 121 125 protected void tearDown() throws Exception 126 { 127 129 130 super.tearDown(); 131 } 132 } 133 134 | Popular Tags |