From fc95d9e3cb3524abc45cf0fc1a3cd5952ee033c6 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 17 Nov 2011 18:16:00 +0000 Subject: [PATCH] 363979 --- .../org/aspectj/systemtest/AllTests16.java | 1 - .../org/aspectj/systemtest/AllTests17.java | 22 ++++++++++ .../systemtest/ajc170/Ajc170Tests.java | 43 +++++++++++++++++++ .../systemtest/ajc170/AllTestsAspectJ170.java | 25 +++++++++++ .../org/aspectj/systemtest/ajc170/ajc170.xml | 24 +++++++++++ 5 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 tests/src/org/aspectj/systemtest/AllTests17.java create mode 100644 tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java create mode 100644 tests/src/org/aspectj/systemtest/ajc170/AllTestsAspectJ170.java create mode 100644 tests/src/org/aspectj/systemtest/ajc170/ajc170.xml 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 -- 2.39.5