1 26 27 package net.sourceforge.groboutils.pmti.v1.itf.parser; 28 29 import net.sourceforge.groboutils.pmti.v1.*; 30 31 import org.easymock.EasyMock; 32 import org.easymock.MockControl; 33 import junit.framework.Test; 34 import junit.framework.TestCase; 35 import junit.framework.TestSuite; 36 import net.sourceforge.groboutils.autodoc.v1.*; 37 import net.sourceforge.groboutils.junit.v1.iftc.*; 38 import junit.framework.AssertionFailedError; 39 40 41 48 public class DefaultParserCollatorUTest extends TestCase 49 { 50 53 private static final Class THIS_CLASS = DefaultParserCollatorUTest.class; 54 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 55 56 public DefaultParserCollatorUTest( String name ) 57 { 58 super( name ); 59 } 60 61 62 65 69 protected void setUp() throws Exception 70 { 71 super.setUp(); 72 73 } 75 76 77 80 81 public void testConstructor1() 82 { 83 new DefaultParserCollator(); 84 } 85 86 87 90 91 94 95 public static Test suite() 96 { 97 InterfaceTestSuite suite = IParserCollatorUTestI.suite(); 98 suite.addTestSuite( THIS_CLASS ); 99 suite.addFactory( new CxFactory( "A" ) { 100 public Object createImplObject() { 101 return new DefaultParserCollator(); 102 } 103 } ); 104 105 return suite; 106 } 107 108 public static void main( String [] args ) 109 { 110 String [] name = { THIS_CLASS.getName() }; 111 112 115 junit.textui.TestRunner.main( name ); 116 } 117 118 119 123 protected void tearDown() throws Exception 124 { 125 127 128 super.tearDown(); 129 } 130 } 131 132 | Popular Tags |