aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc1924/Ajc1924TestsJava.java
blob: dfdb1ccdf3e2e1c5bce7b27167d08995578cb3e8 (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
/*******************************************************************************
 * Copyright (c) 2025 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.ajc1924;

import org.aspectj.apache.bcel.Constants;
import org.aspectj.testing.JavaVersionSpecificXMLBasedAjcTestCase;
import org.aspectj.testing.XMLBasedAjcTestCase;

import junit.framework.Test;

/**
 * @author Andy Clement
 */
public class Ajc1924TestsJava extends JavaVersionSpecificXMLBasedAjcTestCase {

	private static final Constants.ClassFileVersion classFileVersion = Constants.ClassFileVersion.of(24);

	public Ajc1924TestsJava() {
		super(24);
	}

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

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

	public void testJep455PrimitivePatternsSwitch2() {
		runTest("primitive types patterns - switch - with advice");
	}

}