1 26 27 package net.sourceforge.groboutils.tp.v1.log; 28 29 import org.easymock.EasyMock; 30 import org.easymock.MockControl; 31 import junit.framework.Test; 32 import junit.framework.TestCase; 33 import junit.framework.TestSuite; 34 import net.sourceforge.groboutils.autodoc.v1.spi.*; 35 import net.sourceforge.groboutils.junit.v1.iftc.*; 36 import junit.framework.AssertionFailedError; 37 38 39 46 public class LogTPFactoryUTest extends TestCase 47 { 48 51 private static final Class THIS_CLASS = LogTPFactoryUTest.class; 52 53 public LogTPFactoryUTest( String name ) 54 { 55 super( name ); 56 } 57 58 59 62 66 protected void setUp() throws Exception 67 { 68 super.setUp(); 69 70 } 71 72 73 76 77 public void testConstructor1() 78 { 79 new LogTPFactory(); 80 } 81 82 83 84 87 88 89 92 93 public static Test suite() 94 { 95 InterfaceTestSuite suite = AutoDocTPFactoryUTestI.suite(); 96 suite.addTestSuite( THIS_CLASS ); 97 suite.addFactory( new CxFactory( "A" ) { 98 public Object createImplObject() { 99 return new LogTPFactory(); 100 } 101 } ); 102 103 return suite; 104 } 105 106 public static void main( String [] args ) 107 { 108 String [] name = { THIS_CLASS.getName() }; 109 110 113 junit.textui.TestRunner.main( name ); 114 } 115 116 117 121 protected void tearDown() throws Exception 122 { 123 125 126 super.tearDown(); 127 } 128 } 129 130 | Popular Tags |