1 26 27 package net.sourceforge.groboutils.codecoverage.v2.datastore; 28 29 import junit.framework.Test; 30 import junit.framework.TestCase; 31 import junit.framework.TestSuite; 32 import net.sourceforge.groboutils.autodoc.v1.AutoDoc; 33 34 35 42 public class MarkRecordUTest extends TestCase 43 { 44 47 private static final Class THIS_CLASS = MarkRecordUTest.class; 48 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 49 50 public MarkRecordUTest( String name ) 51 { 52 super( name ); 53 } 54 55 56 59 60 public void testConstructor1() 61 { 62 try 63 { 64 MarkRecord mr = new MarkRecord( null, null, null, (short)0, 0 ); 65 fail( "Did not throw IllegalArgumentException." ); 66 } 67 catch (IllegalArgumentException ioe) 68 { 69 } 70 } 71 72 73 74 77 78 79 82 83 public static Test suite() 84 { 85 TestSuite suite = new TestSuite( 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 110 } 112 113 114 118 protected void tearDown() throws Exception 119 { 120 122 123 super.tearDown(); 124 } 125 } 126 127 | Popular Tags |