blob: 2b26d8d6efd8a3bed25d594e9698f3766334b7b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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");
}
}
|