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 ITestIssueRecordUTestI extends InterfaceTestCase 46 { 47 50 private static final Class THIS_CLASS = ITestIssueRecordUTestI.class; 51 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 52 53 public ITestIssueRecordUTestI( String name, ImplFactory f ) 54 { 55 super( name, ITestIssueRecord.class, f ); 56 } 57 58 59 public ITestIssueRecord createITestIssueRecord() 60 { 61 return (ITestIssueRecord)createImplObject(); 62 } 63 64 65 68 69 70 public void testGetIssueRecord1() 71 { 72 ITestIssueRecord tir = createITestIssueRecord(); 73 IIssueRecord ir = tir.getIssueRecord(); 74 assertNotNull( 75 "Returned null issue record.", 76 ir ); 77 } 78 79 80 public void testGetTestRecord1() 81 { 82 ITestIssueRecord tir = createITestIssueRecord(); 83 ITestRecord ir = tir.getTestRecord(); 84 assertNotNull( 85 "Returned null test record.", 86 ir ); 87 } 88 89 90 public void testGetDescription1() 91 { 92 ITestIssueRecord tir = createITestIssueRecord(); 93 String desc = tir.getDescription(); 94 } 95 96 97 98 101 102 public static InterfaceTestSuite suite() 103 { 104 InterfaceTestSuite suite = new InterfaceTestSuite( THIS_CLASS ); 105 106 return suite; 107 } 108 109 public static void main( String [] args ) 110 { 111 String [] name = { THIS_CLASS.getName() }; 112 113 116 junit.textui.TestRunner.main( name ); 117 } 118 119 120 124 protected void setUp() throws Exception 125 { 126 super.setUp(); 127 128 } 130 131 132 136 protected void tearDown() throws Exception 137 { 138 140 141 super.tearDown(); 142 } 143 } 144 145 | Popular Tags |