diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-19 13:13:15 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-04-12 15:32:39 +0200 |
commit | 287ec8f5ef52510b36b05331e69b7dd579c01ecf (patch) | |
tree | e0b1c36ab234ae8906f5cb98bba8d01ff340f74c /tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml | |
parent | e8c2f57913042c6ceeeeac010e2c6658fcb3c147 (diff) | |
download | aspectj-287ec8f5ef52510b36b05331e69b7dd579c01ecf.tar.gz aspectj-287ec8f5ef52510b36b05331e69b7dd579c01ecf.zip |
Improve Ajc165Tests.testFunkyPointcut_pr272233_2
Add more funky pointcuts concerning 'void[]' and pointcuts matching
arrays of generic types. Remove TODO after previously committed bugfix.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml index f48581f87..cfdde8700 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml @@ -78,14 +78,26 @@ <ajc-test dir="bugs165/pr272233" title="funky pointcut 2"> <compile files="Iffy2.java" options="-1.5 -showWeaveInfo"> + + <!-- Should occur twice, but messages are identical, so they cannot be counted --> + <message kind="warning" text="arrays cannot have a void type, but found 'void[]' in pointcut [Xlint:arrayCannotBeVoid]"/> <message kind="warning" text="arrays cannot have a void type, but found 'void[]' in pointcut [Xlint:arrayCannotBeVoid]"/> - <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:8)"/> - <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:11)"/> - <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:14)"/> - <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:17)"/> - <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:20)"/> - <!-- TODO: Activate 'Iffy2.advice6()' pointcut after pointcut parsing problem has been fixed. --> - <!--<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:XX)"/>--> + + <message kind="warning" text="advice defined in Iffy2 has not been applied [Xlint:adviceDidNotMatch]" line="14"/> + <message kind="warning" text="advice defined in Iffy2 has not been applied [Xlint:adviceDidNotMatch]" line="39"/> + <message kind="warning" text="advice defined in Iffy2 has not been applied [Xlint:adviceDidNotMatch]" line="48"/> + + <message kind="weave" text="method-execution(void Iffy2.myVoid())' in Type 'Iffy2' (Iffy2.java:50) advised by before advice from 'Iffy2' (Iffy2.java:23)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getCollectionArray())' in Type 'Iffy2' (Iffy2.java:52) advised by before advice from 'Iffy2' (Iffy2.java:35)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getCollectionArray())' in Type 'Iffy2' (Iffy2.java:52) advised by before advice from 'Iffy2' (Iffy2.java:31)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getCollectionArray())' in Type 'Iffy2' (Iffy2.java:52) advised by before advice from 'Iffy2' (Iffy2.java:27)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getCollectionArray())' in Type 'Iffy2' (Iffy2.java:52) advised by before advice from 'Iffy2' (Iffy2.java:23)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getCollectionArray())' in Type 'Iffy2' (Iffy2.java:52) advised by before advice from 'Iffy2' (Iffy2.java:10)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getIntegerCollectionArray())' in Type 'Iffy2' (Iffy2.java:56) advised by before advice from 'Iffy2' (Iffy2.java:43)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getIntegerCollectionArray())' in Type 'Iffy2' (Iffy2.java:56) advised by before advice from 'Iffy2' (Iffy2.java:27)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getIntegerCollectionArray())' in Type 'Iffy2' (Iffy2.java:56) advised by before advice from 'Iffy2' (Iffy2.java:23)"/> + <message kind="weave" text="method-execution(java.util.Collection[] Iffy2.getIntegerCollectionArray())' in Type 'Iffy2' (Iffy2.java:56) advised by before advice from 'Iffy2' (Iffy2.java:10)"/> + </compile> </ajc-test> |