blob: 537bc49d3e27cdff2d430754fe35ab7cbf3d760d (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/* *******************************************************************
* Copyright (c) 2004 IBM Corporation
* 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.design;
import org.aspectj.testing.XMLBasedAjcTestCase;
import junit.framework.Test;
public class DesignTests extends org.aspectj.testing.XMLBasedAjcTestCase {
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(DesignTests.class);
}
protected java.net.URL getSpecFile() {
return getClassResource("design.xml");
}
public void test001(){
runTest("initial tests for new introduction style");
}
public void test002(){
runTest("overriding of introduced methods and accessibility");
}
public void test003(){
runTest("within and introductions behaves correctly");
}
public void test004(){
runTest("correct inheritance of multiple concrete methods");
}
public void test005(){
runTest("errors in inheritance of multiple concrete methods");
}
public void test006(){
runTest("declared exceptions are checked correctly on intros (errors)");
}
public void test007(){
runTest("declared exceptions are checked correctly on intros");
}
public void test008(){
runTest("Joinpoint is not created for foo(String) when before() advice is present.");
}
public void test009(){
runTest("more tests of eachobject with some difficult typing issues");
}
public void test010(){
runTest("eachobject: eachobject(receptions(...)) [eachobject]");
}
public void test011(){
runTest("Checking new joinpoints");
}
public void test012(){
runTest("eachobject: simple test [eachobject] (still)");
}
public void test013(){
runTest("scope issues with introduction (needs more work)");
}
// uncomment this test if we implement 42743
// public void test014_DeclareSoft(){
// runTest("declare soft limitation");
// }
}
|