Ajc181Tests.java

/*******************************************************************************
 * Copyright (c) 2014 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
 *
 * Contributors:
 *    Andy Clement - initial API and implementation
 *******************************************************************************/
package org.aspectj.systemtest.ajc181;

import org.aspectj.apache.bcel.classfile.Method;
import org.aspectj.testing.XMLBasedAjcTestCase;

import junit.framework.Test;

/**
 * @author Andy Clement
 */
public class Ajc181Tests extends org.aspectj.testing.XMLBasedAjcTestCase {

	public void testParameterNamesAttribute_436531() {
		runTest("parameter names attribute");
	}

	public void testVariableNotInitialized_431976() {
		runTest("variable not initialized");
	}

	public void testThisEnclosingJoinPointStaticPartNotInitialized_431976() {
		runTest("thisEnclosingJoinPointStaticPart not initialized");
	}

	public void testLvarTable_435446() throws Exception {
		runTest("lvartable");
	}

	public void testBrokenAnnotations_377096() throws Exception {
		runTest("broken annotations");
		Method method = getMethodFromClass(getClassFrom(ajc.getSandboxDirectory(), "C"), "xxx");
		method.getAnnotations();
	}

	public void testDefaultMethods_433744() {
		runTest("default methods");
	}

	// ---

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

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

}