1 package org.hanseltest; 2 3 import junit.framework.Test; 4 import junit.framework.TestCase; 5 import junit.framework.TestSuite; 6 7 import org.hansel.CoverageDecorator; 8 9 15 public class TestBug589205 extends TestCase { 16 17 21 public TestBug589205(String name) { 22 super(name); 23 } 24 25 30 public static Test suite() { 31 TestSuite suite = new TestSuite(); 32 suite.addTest(new CoverageDecorator(TestBug589205.class, 33 new Class [] { Example.class })); 34 suite.addTest(new CoverageDecorator(TestBug589205.class, 35 new Class [] { Example.class })); 36 37 return suite; 38 } 39 40 41 public void testClass() { 42 Example example = new Example(); 43 } 44 45 46 public static class Example { 47 48 } 49 } 50 | Popular Tags |