aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/serialVerUID/SUIDTests.java
blob: c915a5c44830474ae80b7e8bfd82157302b885d2 (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
/* *******************************************************************
 * 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.serialVerUID;

import org.aspectj.testing.XMLBasedAjcTestCase;

import junit.framework.Test;

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

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

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


  public void test001(){
    runTest("SUID: Before execution advice");
  }

  public void test002(){
    runTest("SUID: Around execution advice");
  }

  public void test003(){
    runTest("SUID: Around closure execution advice (-Xlint:ignore)");
  }

  public void test004(){
    runTest("SUID: Around closure execution advice");
  }

  public void test005(){
    runTest("SUID: thisJoinPoint");
  }

  public void test006(){
    runTest("SUID: thisJoinPoint with clinit method");
  }

  public void test007(){
    runTest("SUID: After returning staticinitialization advice");
  }

  public void test008(){
    runTest("SUID: After returning staticinitialization advice with serialVersionUID field");
  }

  public void test009(){
    runTest("SUID: ITD field");
  }

  public void test010(){
    runTest("SUID: ITD method");
  }

  public void test011(){
    runTest("SUID: Declare extends");
  }

  public void test012(){
    runTest("SUID: Declare implements (compile)");
  }

  public void test013(){
    runTest("SUID: Declare implements non-Serializable (compile)");
  }

  public void test014(){
    runTest("SUID: Declare implements Serializable (compile)");
  }

  public void test015(){
    runTest("SUID: Declare implements (weave)");
  }

  public void test016(){
    runTest("SUID: Priviliged aspect");
  }

  public void test017(){
    runTest("SUID: Perthis aspect");
  }

}