diff options
Diffstat (limited to 'tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml b/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml index 7485c1c20..75edcbc5e 100644 --- a/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml +++ b/tests/src/org/aspectj/systemtest/ajc1810/ajc1810.xml @@ -2,6 +2,51 @@ <suite> + <ajc-test dir="bugs1810/259416" title="param anno binding"> + <compile options="-1.8 -showWeaveInfo" files="RGB.java ColouredAnnotation.java Test1.java"> + <message kind="weave" text="Join point 'method-execution(void Test1.coloured(java.lang.String))' in Type 'Test1' (Test1.java:5) advised by before advice from 'X' (Test1.java:10)"/> + </compile> + <run class="Test1"> + <stdout> + <line text="Annotation from parameter on method execution(void Test1.coloured(String)) is @ColouredAnnotation(value=RED)"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs1810/259416" title="param anno binding 2"> + <compile options="-1.8 -showWeaveInfo" files="RGB.java ColouredAnnotation.java Test2.java"> + <message kind="weave" text="Join point 'method-execution(void Test2.coloured(java.lang.String))' in Type 'Test2' (Test2.java:5) advised by before advice from 'X' (Test2.java:10)"/> + </compile> + <run class="Test2"> + <stdout> + <line text="Annotation from parameter on method execution(void Test2.coloured(String)) is @ColouredAnnotation(value=GREEN)"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs1810/259416" title="param anno binding 3"> + <compile options="-1.8 -showWeaveInfo" files="RGB.java ColouredAnnotation.java Test3.java"> + <message kind="weave" text="Join point 'method-execution(void Test3.coloured(int, java.lang.String))' in Type 'Test3' (Test3.java:5) advised by before advice from 'X' (Test3.java:10)"/> + </compile> + <run class="Test3"> + <stdout> + <line text="Annotation from parameter on method execution(void Test3.coloured(int, String)) is @ColouredAnnotation(value=RED)"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs1810/259416" title="param anno binding 4"> + <compile options="-1.8 -showWeaveInfo" files="RGB.java ColouredAnnotation.java Test4.java Filler.java"> + <message kind="weave" text="Join point 'method-execution(void Test4.coloured(int, java.lang.String))' in Type 'Test4' (Test4.java:5) advised by before advice from 'X' (Test4.java:10)"/> + </compile> + <run class="Test4"> + <stdout> + <line text="Annotation from parameter on method execution(void Test4.coloured(int, String)) is @ColouredAnnotation(value=GREEN)"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs1810/500035" title="ataspectj binding"> <compile options="-1.8" files="Code.java"/> <run class="Code"> |