blob: 77b453188be682bec70efd4cc8b60349351ec392 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/*******************************************************************************
* Copyright (c) 2014 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Andy Clement - initial API and implementation
*******************************************************************************/
package org.aspectj.systemtest.ajc185;
import java.io.File;
import org.aspectj.testing.XMLBasedAjcTestCase;
import junit.framework.Test;
/**
* @author Andy Clement
*/
public class Ajc185Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testUnresolvableMember_456357() throws Exception {
runTest("unresolvable member");
}
// Waiting on JDT fix. Second test is a 'variant' that is also causing me issues but not JDT it seems. Let's
// see what happens when we pick up the real fixes.
// public void testBadAnnos_455608() throws Exception {
// runTest("bad annos");
// JavaClass jc = getClassFrom(ajc.getSandboxDirectory(), "Code2");
// File f = new File(ajc.getSandboxDirectory(), "Code2.class");
// byte[] data = loadFileAsByteArray(f);
// // Will throw ClassFormatException if there is a problem
// new ClassFileReader(data, null);
// }
//
// public void testBadAnnos_455608_2() throws Exception {
// runTest("bad annos 2");
// JavaClass jc = getClassFrom(ajc.getSandboxDirectory(), "Code3");
// File f = new File(ajc.getSandboxDirectory(), "Code3.class");
// byte[] data = loadFileAsByteArray(f);
// // Will throw ClassFormatException if there is a problem
// new ClassFileReader(data, null);
// }
public void testITDInterface_451966() throws Exception {
runTest("itd interface");
}
public void testITDInterface_451966_2() throws Exception {
// call made from inner type
runTest("itd interface - 2");
}
// ---
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc185Tests.class);
}
@Override
protected File getSpecFile() {
return getClassResource("ajc185.xml");
}
}
|