01: /***************************************************************************************************
02: * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
03: * http://aspectwerkz.codehaus.org *
04: * ---------------------------------------------------------------------------------- * The software
05: * in this package is published under the terms of the LGPL license * a copy of which has been
06: * included with this distribution in the license.txt file. *
07: **************************************************************************************************/package test.inheritedmixinbug;
08:
09: import junit.framework.TestCase;
10:
11: public class Target extends TestCase {
12: public Target() {
13: }
14:
15: public Target(String name) {
16: super (name);
17: }
18:
19: public void testInstanceOf() {
20: assertTrue(new Target() instanceof Aintf);
21: }
22:
23: public static junit.framework.Test suite() {
24: return new junit.framework.TestSuite(Target.class);
25: }
26:
27: public static void main(String[] args) {
28: junit.textui.TestRunner.run(suite());
29: }
30: }
|