From 9867cbbcc40e471fb07ea7726fa02664f36ac8e8 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 27 Jul 2004 10:27:03 +0000 Subject: Test data for -showWeaveInfo --- .../testdata/WeaveInfoMessagesTest/AspectAdvice.aj | 32 +++++++++++++++++++++ .../WeaveInfoMessagesTest/AspectAdvice.jar | Bin 0 -> 2252 bytes .../WeaveInfoMessagesTest/AspectAdvice_nodebug.jar | Bin 0 -> 2252 bytes .../WeaveInfoMessagesTest/AspectDeclare.aj | 24 ++++++++++++++++ .../WeaveInfoMessagesTest/AspectDeclare.jar | Bin 0 -> 1720 bytes .../WeaveInfoMessagesTest/AspectDeclareExtends.aj | 22 ++++++++++++++ .../WeaveInfoMessagesTest/AspectDeclareSoft.aj | 9 ++++++ .../WeaveInfoMessagesTest/AspectDeclareSoft.jar | Bin 0 -> 1415 bytes .../AspectDeclareSoft_nodebug.jar | Bin 0 -> 1415 bytes .../AspectDeclare_nodebug.jar | Bin 0 -> 1720 bytes ajde/testdata/WeaveInfoMessagesTest/AspectITD.aj | 17 +++++++++++ .../testdata/WeaveInfoMessagesTest/AspectITD.class | Bin 0 -> 3252 bytes ajde/testdata/WeaveInfoMessagesTest/AspectITD.jar | Bin 0 -> 1546 bytes .../WeaveInfoMessagesTest/AspectITD_nodebug.jar | Bin 0 -> 1546 bytes ajde/testdata/WeaveInfoMessagesTest/Empty.ajsym | Bin 0 -> 2490 bytes ajde/testdata/WeaveInfoMessagesTest/Empty.lst | 1 + ajde/testdata/WeaveInfoMessagesTest/Five.lst | 3 ++ ajde/testdata/WeaveInfoMessagesTest/Four.lst | 3 ++ ajde/testdata/WeaveInfoMessagesTest/One.lst | 3 ++ ajde/testdata/WeaveInfoMessagesTest/Simple.class | Bin 0 -> 1401 bytes ajde/testdata/WeaveInfoMessagesTest/Simple.jar | Bin 0 -> 636 bytes ajde/testdata/WeaveInfoMessagesTest/Simple.java | 21 ++++++++++++++ .../WeaveInfoMessagesTest/Simple_nodebug.jar | Bin 0 -> 341 bytes ajde/testdata/WeaveInfoMessagesTest/Three.lst | 3 ++ ajde/testdata/WeaveInfoMessagesTest/Two.lst | 3 ++ ajde/testdata/WeaveInfoMessagesTest/a.lst | 2 ++ ajde/testdata/WeaveInfoMessagesTest/build.xml | 18 ++++++++++++ .../expected/advice.binary.nodebug.txt | 13 +++++++++ .../expected/advice.binary.txt | 13 +++++++++ .../WeaveInfoMessagesTest/expected/advice.txt | 13 +++++++++ .../expected/declare.extends.txt | 1 + .../expected/declare.soft.nodebug.txt | 2 ++ .../expected/declare.soft.txt | 2 ++ .../expected/declare1.nodebug.txt | 1 + .../WeaveInfoMessagesTest/expected/declare1.txt | 1 + .../WeaveInfoMessagesTest/expected/itd.nodebug.txt | 4 +++ .../WeaveInfoMessagesTest/expected/itd.txt | 4 +++ 37 files changed, 215 insertions(+) create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectAdvice_nodebug.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.aj create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclareExtends.aj create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.aj create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft_nodebug.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectDeclare_nodebug.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectITD.aj create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectITD.class create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectITD.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/AspectITD_nodebug.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Empty.ajsym create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Empty.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Five.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Four.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/One.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Simple.class create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Simple.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Simple.java create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Simple_nodebug.jar create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Three.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/Two.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/a.lst create mode 100644 ajde/testdata/WeaveInfoMessagesTest/build.xml create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.nodebug.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/advice.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/declare.extends.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.nodebug.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/declare1.nodebug.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/declare1.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/itd.nodebug.txt create mode 100644 ajde/testdata/WeaveInfoMessagesTest/expected/itd.txt (limited to 'ajde') diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj new file mode 100644 index 000000000..7ced0baf7 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.aj @@ -0,0 +1,32 @@ +// Simple aspect that tramples all over Simple.java + +public aspect AspectAdvice { + + // Go through all the kinds of things that might affect a type: + pointcut methodRunning(): execution(* *(..)) && !execution(* main(..)); + + before(): methodRunning() { + System.err.println("BEFORE ADVICE"); + } + + after(): methodRunning() { + System.err.println("AFTER ADVICE"); + } + + after() returning: methodRunning() { + System.err.println("AFTER RETURNING ADVICE"); + } + + after() throwing : methodRunning() { + System.err.println("AFTER THROWING ADVICE"); + } + + void around(): execution(* main(..)) && !cflow(adviceexecution()){ + System.err.println("AROUND ADVICE"); + proceed(); + } + + + interface markerInterface { + } +} diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.jar new file mode 100644 index 000000000..f0c206cc8 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice_nodebug.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice_nodebug.jar new file mode 100644 index 000000000..c6bea10fe Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectAdvice_nodebug.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.aj b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.aj new file mode 100644 index 000000000..e62661231 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.aj @@ -0,0 +1,24 @@ +// Simple aspect that tramples all over Simple.java + +public aspect AspectDeclare { + + pointcut methodRunning(): execution(* *(..)); + + declare parents: Simple implements MarkerInterface; + +// declare parents: Simple extends InTheWay; + +// declare soft: +// +// declare precedence: +// +// declare warning: +// +// declare error: +// +} + + +interface MarkerInterface {} + +class InTheWay {} \ No newline at end of file diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.jar new file mode 100644 index 000000000..3ac58f1ae Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareExtends.aj b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareExtends.aj new file mode 100644 index 000000000..f250515a1 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareExtends.aj @@ -0,0 +1,22 @@ +// Simple aspect that tramples all over Simple.java + +public aspect AspectDeclareExtends { + + pointcut methodRunning(): execution(* *(..)); + + declare parents: Simple extends InTheWay; + +// declare soft: +// +// declare precedence: +// +// declare warning: +// +// declare error: +// +} + + +interface MarkerInterface {} + +class InTheWay {} diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.aj b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.aj new file mode 100644 index 000000000..f7255675f --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.aj @@ -0,0 +1,9 @@ + +public aspect AspectDeclareSoft { + + declare soft: MyException: execution(* main(..)); + + declare soft: Exception+: execution(* main(..)); + +} +class MyException extends Exception {} diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.jar new file mode 100644 index 000000000..76becf16f Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft_nodebug.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft_nodebug.jar new file mode 100644 index 000000000..942e2af44 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareSoft_nodebug.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare_nodebug.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare_nodebug.jar new file mode 100644 index 000000000..15007f2c3 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare_nodebug.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectITD.aj b/ajde/testdata/WeaveInfoMessagesTest/AspectITD.aj new file mode 100644 index 000000000..1f47b33e0 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/AspectITD.aj @@ -0,0 +1,17 @@ +// Simple aspect that tramples all over Simple.java + +public aspect AspectITD { + + int Simple.fieldint = 5; + + String Simple.fieldstring = "hello"; + + public int Simple.returnint() { + return 5; + } + + public String Simple.returnstring() { + return "abc"; + } + +} \ No newline at end of file diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectITD.class b/ajde/testdata/WeaveInfoMessagesTest/AspectITD.class new file mode 100644 index 000000000..8048ad9f7 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectITD.class differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectITD.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectITD.jar new file mode 100644 index 000000000..b80af1dfe Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectITD.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/AspectITD_nodebug.jar b/ajde/testdata/WeaveInfoMessagesTest/AspectITD_nodebug.jar new file mode 100644 index 000000000..b80af1dfe Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/AspectITD_nodebug.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/Empty.ajsym b/ajde/testdata/WeaveInfoMessagesTest/Empty.ajsym new file mode 100644 index 000000000..53cf1bfd9 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/Empty.ajsym differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/Empty.lst b/ajde/testdata/WeaveInfoMessagesTest/Empty.lst new file mode 100644 index 000000000..2e3d99c2b --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/Empty.lst @@ -0,0 +1 @@ +-showWeaveInfo diff --git a/ajde/testdata/WeaveInfoMessagesTest/Five.lst b/ajde/testdata/WeaveInfoMessagesTest/Five.lst new file mode 100644 index 000000000..34b752fd2 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/Five.lst @@ -0,0 +1,3 @@ +Simple.java +-showWeaveInfo +AspectDeclareSoft.aj diff --git a/ajde/testdata/WeaveInfoMessagesTest/Four.lst b/ajde/testdata/WeaveInfoMessagesTest/Four.lst new file mode 100644 index 000000000..3f30efbcd --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/Four.lst @@ -0,0 +1,3 @@ +AspectDeclareExtends.aj +Simple.java +-showWeaveInfo diff --git a/ajde/testdata/WeaveInfoMessagesTest/One.lst b/ajde/testdata/WeaveInfoMessagesTest/One.lst new file mode 100644 index 000000000..e85b4af93 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/One.lst @@ -0,0 +1,3 @@ +AspectAdvice.aj +Simple.java +-showWeaveInfo diff --git a/ajde/testdata/WeaveInfoMessagesTest/Simple.class b/ajde/testdata/WeaveInfoMessagesTest/Simple.class new file mode 100644 index 000000000..d6dca7fc3 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/Simple.class differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/Simple.jar b/ajde/testdata/WeaveInfoMessagesTest/Simple.jar new file mode 100644 index 000000000..e09f48fda Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/Simple.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/Simple.java b/ajde/testdata/WeaveInfoMessagesTest/Simple.java new file mode 100644 index 000000000..934087546 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/Simple.java @@ -0,0 +1,21 @@ +// A simple class, interfered with by all sorts of advice ! + +public class Simple { + + public void m1() { + + } + + public String m2() { + return "a"; + } + + public static void main(String[] argv) { + + } + + private void mSecret() { + + } + +} \ No newline at end of file diff --git a/ajde/testdata/WeaveInfoMessagesTest/Simple_nodebug.jar b/ajde/testdata/WeaveInfoMessagesTest/Simple_nodebug.jar new file mode 100644 index 000000000..b8e45da32 Binary files /dev/null and b/ajde/testdata/WeaveInfoMessagesTest/Simple_nodebug.jar differ diff --git a/ajde/testdata/WeaveInfoMessagesTest/Three.lst b/ajde/testdata/WeaveInfoMessagesTest/Three.lst new file mode 100644 index 000000000..141c6c9d7 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/Three.lst @@ -0,0 +1,3 @@ +AspectDeclare.aj +Simple.java +-showWeaveInfo diff --git a/ajde/testdata/WeaveInfoMessagesTest/Two.lst b/ajde/testdata/WeaveInfoMessagesTest/Two.lst new file mode 100644 index 000000000..cb891a8a5 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/Two.lst @@ -0,0 +1,3 @@ +AspectITD.aj +Simple.java +-showWeaveInfo diff --git a/ajde/testdata/WeaveInfoMessagesTest/a.lst b/ajde/testdata/WeaveInfoMessagesTest/a.lst new file mode 100644 index 000000000..5df12713c --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/a.lst @@ -0,0 +1,2 @@ +Simple.jar +-showWeaveInfo diff --git a/ajde/testdata/WeaveInfoMessagesTest/build.xml b/ajde/testdata/WeaveInfoMessagesTest/build.xml new file mode 100644 index 000000000..774291d74 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/build.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.nodebug.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.nodebug.txt new file mode 100644 index 000000000..bd3f0b01b --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.nodebug.txt @@ -0,0 +1,13 @@ +Type 'Simple' (no debug info available) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (no debug info available) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (no debug info available) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (no debug info available) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) +Type 'Simple' (no debug info available) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (no debug info available) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (no debug info available) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (no debug info available) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) +Type 'Simple' (no debug info available) advised by around advice from 'AspectAdvice' (AspectAdvice.aj:24) +Type 'Simple' (no debug info available) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (no debug info available) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (no debug info available) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (no debug info available) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.txt new file mode 100644 index 000000000..05272b938 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/advice.binary.txt @@ -0,0 +1,13 @@ +Type 'Simple' (Simple.java:7) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (Simple.java:7) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (Simple.java:7) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (Simple.java:7) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) +Type 'Simple' (Simple.java:10) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (Simple.java:10) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (Simple.java:10) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (Simple.java:10) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) +Type 'Simple' (Simple.java:15) advised by around advice from 'AspectAdvice' (AspectAdvice.aj:24) +Type 'Simple' (Simple.java:19) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (Simple.java:19) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (Simple.java:19) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (Simple.java:19) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/advice.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/advice.txt new file mode 100644 index 000000000..05272b938 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/advice.txt @@ -0,0 +1,13 @@ +Type 'Simple' (Simple.java:7) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (Simple.java:7) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (Simple.java:7) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (Simple.java:7) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) +Type 'Simple' (Simple.java:10) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (Simple.java:10) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (Simple.java:10) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (Simple.java:10) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) +Type 'Simple' (Simple.java:15) advised by around advice from 'AspectAdvice' (AspectAdvice.aj:24) +Type 'Simple' (Simple.java:19) advised by before advice from 'AspectAdvice' (AspectAdvice.aj:8) +Type 'Simple' (Simple.java:19) advised by after advice from 'AspectAdvice' (AspectAdvice.aj:12) +Type 'Simple' (Simple.java:19) advised by afterReturning advice from 'AspectAdvice' (AspectAdvice.aj:16) +Type 'Simple' (Simple.java:19) advised by afterThrowing advice from 'AspectAdvice' (AspectAdvice.aj:20) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/declare.extends.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/declare.extends.txt new file mode 100644 index 000000000..29fb45592 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/declare.extends.txt @@ -0,0 +1 @@ +Setting superclass of type 'Simple' (Simple.java) to 'InTheWay' (AspectDeclareExtends.aj) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.nodebug.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.nodebug.txt new file mode 100644 index 000000000..02e006e29 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.nodebug.txt @@ -0,0 +1,2 @@ +Softening exceptions in type 'Simple' (no debug info available) as defined by aspect 'AspectDeclareSoft' (AspectDeclareSoft.aj:6) +Softening exceptions in type 'Simple' (no debug info available) as defined by aspect 'AspectDeclareSoft' (AspectDeclareSoft.aj:4) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.txt new file mode 100644 index 000000000..a48ea6101 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/declare.soft.txt @@ -0,0 +1,2 @@ +Softening exceptions in type 'Simple' (Simple.java:15) as defined by aspect 'AspectDeclareSoft' (AspectDeclareSoft.aj:6) +Softening exceptions in type 'Simple' (Simple.java:15) as defined by aspect 'AspectDeclareSoft' (AspectDeclareSoft.aj:4) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/declare1.nodebug.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/declare1.nodebug.txt new file mode 100644 index 000000000..1da4b502c --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/declare1.nodebug.txt @@ -0,0 +1 @@ +Extending interface set for type 'Simple' (no debug info available) to include 'MarkerInterface' (AspectDeclare.aj) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/declare1.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/declare1.txt new file mode 100644 index 000000000..b05cdfb86 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/declare1.txt @@ -0,0 +1 @@ +Extending interface set for type 'Simple' (Simple.java) to include 'MarkerInterface' (AspectDeclare.aj) diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/itd.nodebug.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/itd.nodebug.txt new file mode 100644 index 000000000..49bf89d69 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/itd.nodebug.txt @@ -0,0 +1,4 @@ +Type 'Simple' (no debug info available) has intertyped method from 'AspectITD' (AspectITD.aj:'java.lang.String Simple.returnstring()') +Type 'Simple' (no debug info available) has intertyped method from 'AspectITD' (AspectITD.aj:'int Simple.returnint()') +Type 'Simple' (no debug info available) has intertyped field from 'AspectITD' (AspectITD.aj:'java.lang.String Simple.fieldstring') +Type 'Simple' (no debug info available) has intertyped field from 'AspectITD' (AspectITD.aj:'int Simple.fieldint') diff --git a/ajde/testdata/WeaveInfoMessagesTest/expected/itd.txt b/ajde/testdata/WeaveInfoMessagesTest/expected/itd.txt new file mode 100644 index 000000000..eaaa311e1 --- /dev/null +++ b/ajde/testdata/WeaveInfoMessagesTest/expected/itd.txt @@ -0,0 +1,4 @@ +Type 'Simple' (Simple.java) has intertyped method from 'AspectITD' (AspectITD.aj:'java.lang.String Simple.returnstring()') +Type 'Simple' (Simple.java) has intertyped method from 'AspectITD' (AspectITD.aj:'int Simple.returnint()') +Type 'Simple' (Simple.java) has intertyped field from 'AspectITD' (AspectITD.aj:'java.lang.String Simple.fieldstring') +Type 'Simple' (Simple.java) has intertyped field from 'AspectITD' (AspectITD.aj:'int Simple.fieldint') -- cgit v1.2.3