1 8 package test.inheritedmixinbug; 9 10 import junit.framework.TestCase; 11 12 public class Target extends TestCase { 13 public Target() { 14 } 15 16 public Target(String name) { 17 super(name); 18 } 19 20 public void testInstanceOf() { 21 assertTrue(new Target() instanceof Aintf); 22 } 23 24 public static junit.framework.Test suite() { 25 return new junit.framework.TestSuite(Target.class); 26 } 27 28 public static void main(String [] args) { 29 junit.textui.TestRunner.run(suite()); 30 } 31 } | Popular Tags |