aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/aspectpath/AspectPathTests.java
blob: 593b041bd8fdd55e072b5d72e7b21c48ca069432 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* *******************************************************************
 * 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.aspectpath;

import org.aspectj.testing.XMLBasedAjcTestCase;

import junit.framework.Test;

public class AspectPathTests extends org.aspectj.testing.XMLBasedAjcTestCase {

  public static Test suite() {
    return XMLBasedAjcTestCase.loadSuite(AspectPathTests.class);
  }

  protected java.net.URL getSpecFile() {
    return getClassResource("aspectpath.xml");
  }


  public void test001(){
    runTest("testing new options");
  }

  public void test002(){
    runTest("aspect-declared interface members in libraries - baseline");
  }

  public void test003(){
    runTest("aspect-declared interface members in libraries - interfaceOnly.jar");
  }

  public void test004(){
    runTest("aspect-declared interface members in libraries - aspectOnly.jar");
  }

  public void test005(){
    runTest("aspect-declared interface members in libraries - aspectedInterfaceOnly.jar");
  }

  public void test006(){
    runTest("aspect-declared interface members in libraries - aspectedInterfaceOnly.jar,aspectOnly.jar");
  }

  public void test007(){
    runTest("aspect-declared interface members in libraries - aspectedInterfaceOnlyBinary.jar,aspectOnly.jar");
  }

  public void test008(){
    runTest("aspect-declared interface members in libraries - aspectedInterfaceOnly.jar,aspectpath=aspectOnly.jar");
  }

  public void test009(){
    runTest("aspect-declared interface members in libraries - aspectedInterfaceOnly.jar,aspectpath=aspectOnly.jar");
  }

  public void test010(){
    runTest("exception clause for aspect-declared interface methods - positive");
  }

  public void test011(){
    runTest("exception clause for aspect-declared interface methods - negative");
  }

  public void test012(){
    runTest("exception clause for aspect-declared class methods - positive");
  }

  public void test013(){
    runTest("exception clause for aspect-declared class methods - negative");
  }

  public void test014(){
    runTest("exception clause for aspect-declared interface methods - positive binary");
  }

  public void test015(){
    runTest("exception clause for aspect-declared interface methods - negative binary");
  }

  public void test016(){
    runTest("exception clause for aspect-declared class methods - positive binary");
  }

  public void test017(){
    runTest("exception clause for aspect-declared class methods - negative binary");
  }

  public void test018(){
    runTest("percflow aspects compiled from jars share one instance for all entry points");
  }

  public void test019(){
    runTest("(using aspectpath) percflow aspects compiled from jars share one instance for all entry points");
  }

  public void test020(){
    runTest("Introduced abstract method on abstract class not implemented by subtype");
  }

  public void test021(){
    runTest("Introduced abstract method on interface not implemented by subtype (aspectpath)");
  }

}