1 26 27 package net.sourceforge.groboutils.codecoverage.v2.logger; 28 29 import java.io.File ; 30 31 import junit.framework.Test; 32 import junit.framework.TestCase; 33 import junit.framework.TestSuite; 34 import net.sourceforge.groboutils.autodoc.v1.AutoDoc; 35 import net.sourceforge.groboutils.codecoverage.v2.ant.AntTestA; 36 37 44 public class CacheDirChannelLoggerUTest extends TestCase 45 { 46 49 private static final Class THIS_CLASS = CacheDirChannelLoggerUTest.class; 50 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 51 52 public CacheDirChannelLoggerUTest( String name ) 53 { 54 super( name ); 55 } 56 57 58 61 62 public void testBug1a() 63 { 64 DOC.getIT().testsIssue( 923349 ); 65 66 new CacheDirChannelLogger( new File ("."), -1 ); 68 } 69 70 71 public void testBug1b() 72 { 73 DOC.getIT().testsIssue( 923349 ); 74 75 new CacheDirChannelLogger( new File ("."), 0 ); 77 } 78 79 80 81 82 85 86 87 88 91 92 public static Test suite() 93 { 94 TestSuite suite = new TestSuite( THIS_CLASS ); 95 96 return suite; 97 } 98 99 public static void main( String [] args ) 100 { 101 String [] name = { THIS_CLASS.getName() }; 102 103 106 junit.textui.TestRunner.main( name ); 107 } 108 109 110 114 protected void setUp() throws Exception 115 { 116 super.setUp(); 117 118 } 120 121 122 126 protected void tearDown() throws Exception 127 { 128 130 super.tearDown(); 131 } 132 } 133 134 | Popular Tags |