aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2023-08-15 08:58:14 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2023-08-15 08:58:14 +0700
commit565f37b1970268234d9a823e2631ba3ed3e03037 (patch)
treedc627f09995beee7932da7056a2be279294d9c0e /tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java
parent364059c00f2393b8221cea29bdb6b7eabfd5b5c0 (diff)
downloadaspectj-565f37b1970268234d9a823e2631ba3ed3e03037.tar.gz
aspectj-565f37b1970268234d9a823e2631ba3ed3e03037.zip
Move 1.9.20 bug regression tests to the correct spots
Originally, I had intended to release a minor 1.9.19.1 release to fix some bugs. But then, Java 20 support was implemented and merged, so the next release will be 1.9.20. Therefore, I moved some bug regression tests to the 1.9.20 suite. Relates to #254. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java
index 593fdb198..574f1b7aa 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc1920/Bugs1920Tests.java
@@ -15,6 +15,38 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
*/
public class Bugs1920Tests extends XMLBasedAjcTestCase {
+ public void testSwitchWith_Integer_MAX_VALUE() {
+ runTest("switch with Integer.MAX_VALUE case");
+ }
+
+ public void testParenthesisedExpressionWithAjKeyword() {
+ runTest("parenthesised expression with AspectJ keyword");
+ }
+
+ public void testInterfaceInnerAspectImplicitlyStatic() {
+ runTest("inner aspect of interface is implicitly static");
+ }
+
+ public void testExactArrayTypeMatchCompiledTogether() {
+ runTest("exact array type matching, aspect compiled together with target class");
+ }
+
+ public void testExactArrayTypeMatchCompiledSeparately() {
+ runTest("exact array type matching, aspect compiled separately from target class");
+ }
+
+ public void testFuzzyArrayTypeMatchCompiledTogether() {
+ runTest("fuzzy array type matching, aspect compiled together with target class");
+ }
+
+ public void testFuzzyArrayTypeMatchCompiledSeparately() {
+ runTest("fuzzy array type matching, aspect compiled separately from target class");
+ }
+
+ public void test_GitHub_214() {
+ runTest("ArrayIndexOutOfBoundsException with Xlint unorderedAdviceAtShadow=warning");
+ }
+
/**
* Add correct annotations to multiple ITD methods with the same name and same number of arguments, i.e. copy the
* annotations correctly from the aspect into the target class instead of falsely always copying the annotations (if