From 8cd8ce9101f1d04c0d12d8319a6b276f158ec762 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 24 Nov 2010 19:37:15 +0000 Subject: [PATCH] 329925: declare @field remove annotation --- .../ajc1611/AllTestsAspectJ1611.java | 1 + .../systemtest/ajc1611/NewFeatures.java | 69 ++++++++++ .../systemtest/ajc1611/newfeatures-tests.xml | 120 ++++++++++++++++++ 3 files changed, 190 insertions(+) create mode 100644 tests/src/org/aspectj/systemtest/ajc1611/NewFeatures.java create mode 100644 tests/src/org/aspectj/systemtest/ajc1611/newfeatures-tests.xml diff --git a/tests/src/org/aspectj/systemtest/ajc1611/AllTestsAspectJ1611.java b/tests/src/org/aspectj/systemtest/ajc1611/AllTestsAspectJ1611.java index 6ae1215a5..d52d22ea7 100644 --- a/tests/src/org/aspectj/systemtest/ajc1611/AllTestsAspectJ1611.java +++ b/tests/src/org/aspectj/systemtest/ajc1611/AllTestsAspectJ1611.java @@ -19,6 +19,7 @@ public class AllTestsAspectJ1611 { TestSuite suite = new TestSuite("AspectJ 1.6.11 tests"); // $JUnit-BEGIN$ suite.addTest(Ajc1611Tests.suite()); + suite.addTest(NewFeatures.suite()); // $JUnit-END$ return suite; } diff --git a/tests/src/org/aspectj/systemtest/ajc1611/NewFeatures.java b/tests/src/org/aspectj/systemtest/ajc1611/NewFeatures.java new file mode 100644 index 000000000..5fd491f61 --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc1611/NewFeatures.java @@ -0,0 +1,69 @@ +/******************************************************************************* + * Copyright (c) 2010 Lucierna + * 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: + * Abraham Nevado - initial API and implementation + *******************************************************************************/ +package org.aspectj.systemtest.ajc1611; + +import java.io.File; + +import junit.framework.Test; + +import org.aspectj.testing.XMLBasedAjcTestCase; + +public class NewFeatures extends org.aspectj.testing.XMLBasedAjcTestCase { + + public void testAddingRemoving() { + runTest("adding and removing"); + } + + public void testAddingRemoving2() { + runTest("adding and removing - 2"); + } + + public void testAddingRemoving3() { + runTest("adding and removing - 3"); + } + + public void testDeclareMinus() { + runTest("declare minus - 1"); + } + + public void testDeclareMinusItd() { + runTest("declare minus - itd"); + } + + public void testDeclareMinus2annos() { + runTest("declare minus - 2 annos"); + } + + public void testDeclareMinusmultifiles() { + runTest("declare minus - multifiles"); + } + + public void testDeclareMinusmultifiles2() { + runTest("declare minus - multifiles - 2"); + } + + public void testDeclareMinusmultifiles3() { + runTest("declare minus - multifiles - 3"); + } + + public void testBinaryWeaving() { + runTest("binary weaving"); + } + + public static Test suite() { + return XMLBasedAjcTestCase.loadSuite(NewFeatures.class); + } + + protected File getSpecFile() { + return new File("../tests/src/org/aspectj/systemtest/ajc1611/newfeatures-tests.xml"); + } + +} \ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc1611/newfeatures-tests.xml b/tests/src/org/aspectj/systemtest/ajc1611/newfeatures-tests.xml new file mode 100644 index 000000000..d8bae42fb --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc1611/newfeatures-tests.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5