1 22 23 package net.sourceforge.groboutils.codecoverage.v2; 24 25 import net.sourceforge.groboutils.autodoc.v1.AutoDoc; 26 import net.sourceforge.groboutils.junit.v1.iftc.ImplFactory; 27 import net.sourceforge.groboutils.junit.v1.iftc.InterfaceTestCase; 28 import net.sourceforge.groboutils.junit.v1.iftc.InterfaceTestSuite; 29 30 31 38 public class IClassChannelLogReaderUTestI extends InterfaceTestCase 39 { 40 43 private static final Class THIS_CLASS = IClassChannelLogReaderUTestI.class; 44 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 45 46 public IClassChannelLogReaderUTestI( String name, ImplFactory f ) 47 { 48 super( name, IClassChannelLogReader.class, f ); 49 } 50 51 52 public IClassChannelLogReader createIClassChannelLogReader() 53 { 54 return (IClassChannelLogReader)createImplObject(); 55 } 56 57 58 61 62 public void testNextRecord1() throws Exception 63 { 64 IClassChannelLogReader cclr = createIClassChannelLogReader(); 65 IChannelLogRecord clr; 66 do { 67 clr = cclr.nextRecord(); 68 } while (clr != null); 69 } 70 71 72 75 76 public static InterfaceTestSuite suite() 77 { 78 InterfaceTestSuite suite = new InterfaceTestSuite( THIS_CLASS ); 79 80 return suite; 81 } 82 83 public static void main( String [] args ) 84 { 85 String [] name = { THIS_CLASS.getName() }; 86 87 90 junit.textui.TestRunner.main( name ); 91 } 92 93 94 98 protected void setUp() throws Exception 99 { 100 super.setUp(); 101 102 } 104 105 106 110 protected void tearDown() throws Exception 111 { 112 114 115 super.tearDown(); 116 } 117 } 118 119 | Popular Tags |