diff options
author | aclement <aclement> | 2005-12-07 17:17:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-07 17:17:13 +0000 |
commit | cd49da26792c530d2a8c12028c7c1d7832ec6ad2 (patch) | |
tree | aa5ce21d777a0ca8c9a35e894db0a967c3ec9feb /tests | |
parent | 283d2cdd5b5d8e38c63694597d90561c50400c18 (diff) | |
download | aspectj-cd49da26792c530d2a8c12028c7c1d7832ec6ad2.tar.gz aspectj-cd49da26792c530d2a8c12028c7c1d7832ec6ad2.zip |
test for 119539,119543
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 0c16fdc17..7729d879e 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -69,6 +69,28 @@ <run class="Pr114054"/> </ajc-test> + <ajc-test dir="bugs150/pr119539" pr="119539" title="generic pertypewithin aspect - 1"> + <compile files="GenericPerTypeWithin.java" options="-1.5 -showWeaveInfo"> + <message kind="weave" text="Join point 'constructor-execution(void bugs.C.<init>())' in Type 'bugs.C' (GenericPerTypeWithin.java:10) advised by before advice from 'bugs.A' (GenericPerTypeWithin.java:21)"/> + <message kind="weave" text="Join point 'constructor-execution(void bugs.C.<init>())' in Type 'bugs.C' (GenericPerTypeWithin.java:10) advised by before advice from 'bugs.A' (GenericPerTypeWithin.java:20)"/> + </compile> + <run class="bugs.GenericPerTypeWithin"/> + </ajc-test> + + <ajc-test dir="bugs150/pr119539" pr="119539" title="generic pertypewithin aspect - 2"> + <compile files="GenericPerTypeWithin2.java" options="-1.5 -showWeaveInfo"> + <message kind="error" line="24" text="a generic super-aspect must be fully parameterized in an extends clause"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs150/pr119539" pr="119539" title="generic pertypewithin aspect - 3"> + <compile files="GenericPerTypeWithin3.java" options="-1.5 -showWeaveInfo"> + <message kind="weave" text="Join point 'constructor-execution(void bugs.GenericPerTypeWithin3$C.<init>())' in Type 'bugs.GenericPerTypeWithin3$C' (GenericPerTypeWithin3.java:15) advised by before advice from 'bugs.GenericPerTypeWithin3$A' (GenericPerTypeWithin3.java:10)"/> + <message kind="warning" line="15" text="Singleton.creation()"/> + </compile> + <run class="bugs.GenericPerTypeWithin3"/> + </ajc-test> + <ajc-test dir="bugs150/pr117854" pr="117854" title="broken switch transform"> <compile files="BrokenSwitch.java" options=""/> <run class="BrokenSwitch"/> @@ -1285,6 +1307,12 @@ <compile files="PR118149.aj"/> </ajc-test> + <ajc-test dir="bugs150" title="no StringOutOfBoundsException with generic inner aspects"> + <compile files="PR119543.java" options="-1.5"> + <message kind="warning" line="8" text="advice defined in PR119543$A has not been applied [Xlint:adviceDidNotMatch]"/> + </compile> + </ajc-test> + <!-- ============================================================================ --> <!-- ============================================================================ --> |