1 /****************************************************************************************************
2 * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved. *
3 * http://aspectwerkz.codehaus.org *
4 * ---------------------------------------------------------------------------------- * The software
5 * in this package is published under the terms of the LGPL license * a copy of which has been
6 * included with this distribution in the license.txt file. *
7 **************************************************************************************************/
8 package test.interfacesubtypebug;
9
10 import junit.framework.TestCase;
11
12 public class InterfaceSubtypeBug extends TestCase {
13 public static String LOG = "";
14
15 public InterfaceSubtypeBug() {
16 }
17
18 public InterfaceSubtypeBug(String name) {
19 super(name);
20 }
21
22 public void testInterfaceMethod() {
23 LOG = "";
24 Target target = new Target();
25 target.interfaceMethod();
26 System.out.println("InterfaceSubtypeBug.testInterfaceMethod - todo: support for # pattern");
27
28 }
29
30 public void testNonInterfaceMethod() {
31 LOG = "";
32 Target target = new Target();
33 target.interfaceMethod();
34 System.out.println("InterfaceSubtypeBug.testNonInterfaceMethod - todo: support for # pattern");
35
36 }
37
38 public static junit.framework.Test suite() {
39 return new junit.framework.TestSuite(InterfaceSubtypeBug.class);
40 }
41 }