aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc1923/Bugs1923Tests.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc1923/Bugs1923Tests.java')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc1923/Bugs1923Tests.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc1923/Bugs1923Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc1923/Bugs1923Tests.java
new file mode 100644
index 000000000..2b26d8d6e
--- /dev/null
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc1923/Bugs1923Tests.java
@@ -0,0 +1,55 @@
+/*******************************************************************************
+ * Copyright (c) 2025 Contributors
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
+ *******************************************************************************/
+package org.aspectj.systemtest.ajc1923;
+
+import junit.framework.Test;
+import org.aspectj.testing.XMLBasedAjcTestCase;
+
+/**
+ * @author Andy Clement
+ */
+public class Bugs1923Tests extends XMLBasedAjcTestCase {
+
+ public static Test suite() {
+ return XMLBasedAjcTestCase.loadSuite(Bugs1923Tests.class);
+ }
+
+ public void testGh328_AroundAdviceInlineAccessor() {
+ runTest("problem with inline accessor generator for around advice");
+ }
+
+ public void testGh327_IntertypeFields_Static() {
+ runTest("problem with intertype field declaration code generation - static");
+ }
+
+ public void testGh327_IntertypeFields_NonStatic() {
+ runTest("problem with intertype field declaration code generation - nonstatic");
+ }
+
+ public void testGh327_IntertypeFields_Private() {
+ runTest("problem with intertype field declaration code generation - private");
+ }
+
+ public void testGh327_IntertypeMethods() {
+ runTest("problem with intertype method declaration code generation");
+ }
+
+ public void testGh326_ClassCastExceptionHandling() {
+ runTest("classcast on exception handling aspect");
+ }
+
+ public void testGh322_DeprecatedAnnotation() {
+ runTest("ajc error for particular Pointcut and @Deprecated");
+ }
+
+ @Override
+ protected java.net.URL getSpecFile() {
+ return getClassResource("ajc1923.xml");
+ }
+
+}