From: wisberg Date: Wed, 6 Aug 2003 01:53:16 +0000 (+0000) Subject: passing tests for interface libraries. The behavior might be wrong (i.e., some shoul... X-Git-Tag: V1_1_1~153 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c7584070e1ca1e4f1899f4b62e2c193d4d43c206;p=aspectj.git passing tests for interface libraries. The behavior might be wrong (i.e., some should fail) -- confirming on the list. --- diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 22f1019ee..82d4e6ed4 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6515,4 +6515,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/new/interfaceLibrary/Client.java b/tests/new/interfaceLibrary/Client.java new file mode 100644 index 000000000..e53bfff21 --- /dev/null +++ b/tests/new/interfaceLibrary/Client.java @@ -0,0 +1,9 @@ + + +public class Client { + public static void main(String[] a) { + new C().run(); + } +} + +class C implements lib.LibraryInterface {} \ No newline at end of file diff --git a/tests/new/interfaceLibrary/LibraryAspect.java b/tests/new/interfaceLibrary/LibraryAspect.java new file mode 100644 index 000000000..34a6a36b9 --- /dev/null +++ b/tests/new/interfaceLibrary/LibraryAspect.java @@ -0,0 +1,6 @@ + +aspect LibraryAspect { + public void lib.LibraryInterface.run() { + System.err.println("LibraryAspect-defined run() for " + this); + } +} \ No newline at end of file diff --git a/tests/new/interfaceLibrary/aspectOnly.jar b/tests/new/interfaceLibrary/aspectOnly.jar new file mode 100644 index 000000000..4aaffb645 Binary files /dev/null and b/tests/new/interfaceLibrary/aspectOnly.jar differ diff --git a/tests/new/interfaceLibrary/aspectedInterfaceOnly.jar b/tests/new/interfaceLibrary/aspectedInterfaceOnly.jar new file mode 100644 index 000000000..9cb969b9d Binary files /dev/null and b/tests/new/interfaceLibrary/aspectedInterfaceOnly.jar differ diff --git a/tests/new/interfaceLibrary/aspectedInterfaceOnlyBinary.jar b/tests/new/interfaceLibrary/aspectedInterfaceOnlyBinary.jar new file mode 100644 index 000000000..9cb969b9d Binary files /dev/null and b/tests/new/interfaceLibrary/aspectedInterfaceOnlyBinary.jar differ diff --git a/tests/new/interfaceLibrary/build.xml b/tests/new/interfaceLibrary/build.xml new file mode 100644 index 000000000..d23e49e38 --- /dev/null +++ b/tests/new/interfaceLibrary/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/new/interfaceLibrary/interfaceOnly.jar b/tests/new/interfaceLibrary/interfaceOnly.jar new file mode 100644 index 000000000..ede6fc868 Binary files /dev/null and b/tests/new/interfaceLibrary/interfaceOnly.jar differ diff --git a/tests/new/interfaceLibrary/lib/LibraryInterface.java b/tests/new/interfaceLibrary/lib/LibraryInterface.java new file mode 100644 index 000000000..a712c5a08 --- /dev/null +++ b/tests/new/interfaceLibrary/lib/LibraryInterface.java @@ -0,0 +1,6 @@ + +package lib; + +public interface LibraryInterface { +// void run(); +} \ No newline at end of file