1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /*******************************************************************************
- * Copyright (c) 2014 Contributors
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Andy Clement - initial API and implementation
- *******************************************************************************/
- package org.aspectj.systemtest.ajc181;
-
- import java.io.File;
-
- import junit.framework.Test;
-
- import org.aspectj.apache.bcel.classfile.Method;
- import org.aspectj.testing.XMLBasedAjcTestCase;
-
- /**
- * @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 File getSpecFile() {
- return getClassResource("ajc181.xml");
- }
-
- }
|