From: aclement Date: Thu, 17 Nov 2011 18:16:00 +0000 (+0000) Subject: 363979 X-Git-Tag: preJava7Merge~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fc95d9e3cb3524abc45cf0fc1a3cd5952ee033c6;p=aspectj.git 363979 --- diff --git a/tests/src/org/aspectj/systemtest/AllTests16.java b/tests/src/org/aspectj/systemtest/AllTests16.java index c13b783c4..66e0d0bf3 100644 --- a/tests/src/org/aspectj/systemtest/AllTests16.java +++ b/tests/src/org/aspectj/systemtest/AllTests16.java @@ -37,7 +37,6 @@ public class AllTests16 { suite.addTest(AllTestsAspectJ1610.suite()); suite.addTest(AllTestsAspectJ1611.suite()); suite.addTest(AllTestsAspectJ1612.suite()); - suite.addTest(AllTests15.suite()); // $JUnit-END$ return suite; } diff --git a/tests/src/org/aspectj/systemtest/AllTests17.java b/tests/src/org/aspectj/systemtest/AllTests17.java new file mode 100644 index 000000000..f026ae59a --- /dev/null +++ b/tests/src/org/aspectj/systemtest/AllTests17.java @@ -0,0 +1,22 @@ +/* + * Created on 19-01-2005 + */ +package org.aspectj.systemtest; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.aspectj.systemtest.ajc170.AllTestsAspectJ170; + +public class AllTests17 { + + public static Test suite() { + TestSuite suite = new TestSuite("AspectJ System Test Suite - JDK 1.7"); + // $JUnit-BEGIN$ + suite.addTest(AllTestsAspectJ170.suite()); + suite.addTest(AllTests16.suite()); + suite.addTest(AllTests15.suite()); + // $JUnit-END$ + return suite; + } +} diff --git a/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java b/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java new file mode 100644 index 000000000..71089ccfc --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java @@ -0,0 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2008 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.ajc170; + +import java.io.File; + +import junit.framework.Test; + +import org.aspectj.testing.XMLBasedAjcTestCase; + +/** + * @author Andy Clement + */ +public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + + public void testMissingImpl_363979() { + runTest("missing impl"); + } + + // public void testMissingImpl_363979_2() { + // runTest("missing impl 2"); + // } + + // --- + + public static Test suite() { + return XMLBasedAjcTestCase.loadSuite(Ajc170Tests.class); + } + + @Override + protected File getSpecFile() { + return new File("../tests/src/org/aspectj/systemtest/ajc170/ajc170.xml"); + } + +} \ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc170/AllTestsAspectJ170.java b/tests/src/org/aspectj/systemtest/ajc170/AllTestsAspectJ170.java new file mode 100644 index 000000000..fbb7cd2c9 --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc170/AllTestsAspectJ170.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2008 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.ajc170; + +import junit.framework.Test; +import junit.framework.TestSuite; + +public class AllTestsAspectJ170 { + + public static Test suite() { + TestSuite suite = new TestSuite("AspectJ 1.7.0 tests"); + // $JUnit-BEGIN$ + suite.addTest(Ajc170Tests.suite()); + // $JUnit-END$ + return suite; + } +} diff --git a/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml b/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml new file mode 100644 index 000000000..0631a677e --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file