aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc1921/Bugs1921Tests.java
blob: 8395b5bbf65cd9229335fdfc0eae60248cf522e5 (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
/*******************************************************************************
 * Copyright (c) 2023 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.ajc1921;

import junit.framework.Test;
import org.aspectj.testing.XMLBasedAjcTestCase;

/**
 * @author Alexander Kriegisch
 */
public class Bugs1921Tests extends XMLBasedAjcTestCase {

  public void testGitHub_279() {
    runTest("same class woven concurrently in parallel-capable classloader");
  }

  public void testGitHub_285() {
    runTest("shared cache negative test");
  }

  public void testGitHub_288_AssertionError() {
    runTest("memory leak for @AspectJ nested, non-inlined around-advice - AssertionError");
  }

  public void testGitHub_288_OutOfMemoryError() {
    runTest("memory leak for @AspectJ nested, non-inlined around-advice - OutOfMemoryError");
  }

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

  @Override
  protected java.net.URL getSpecFile() {
    return getClassResource("ajc1921.xml");
  }

}