diff options
author | aclement <aclement> | 2009-01-04 19:36:30 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-01-04 19:36:30 +0000 |
commit | 62c9d6c3ac9291aa3238d5dc02da9eb836cca7df (patch) | |
tree | caf2ee4c1371303d088adb56f2ba3eba036c2034 /tests | |
parent | 2b43e636bb8929430e75b1c90ddf2c2f6ba86093 (diff) | |
download | aspectj-62c9d6c3ac9291aa3238d5dc02da9eb836cca7df.tar.gz aspectj-62c9d6c3ac9291aa3238d5dc02da9eb836cca7df.zip |
164 added
Diffstat (limited to 'tests')
4 files changed, 67 insertions, 4 deletions
diff --git a/tests/src/org/aspectj/systemtest/AllTests16.java b/tests/src/org/aspectj/systemtest/AllTests16.java index 659180a52..57ec0a2a5 100644 --- a/tests/src/org/aspectj/systemtest/AllTests16.java +++ b/tests/src/org/aspectj/systemtest/AllTests16.java @@ -10,16 +10,19 @@ import org.aspectj.systemtest.ajc160.AllTestsAspectJ160; import org.aspectj.systemtest.ajc161.AllTestsAspectJ161; import org.aspectj.systemtest.ajc162.AllTestsAspectJ162; import org.aspectj.systemtest.ajc163.AllTestsAspectJ163; +import org.aspectj.systemtest.ajc164.AllTestsAspectJ164; public class AllTests16 { public static Test suite() { TestSuite suite = new TestSuite("AspectJ System Test Suite - JDK 1.6"); // $JUnit-BEGIN$ - suite.addTest(AllTestsAspectJ160.suite()); // dont require a 1.6 JRE to run but checks 1.6 compiler behaviour - suite.addTest(AllTestsAspectJ161.suite()); // dont require a 1.6 JRE to run but checks 1.6 compiler behaviour - suite.addTest(AllTestsAspectJ162.suite()); // dont require a 1.6 JRE to run but checks 1.6 compiler behaviour - suite.addTest(AllTestsAspectJ163.suite()); // dont require a 1.6 JRE to run but checks 1.6 compiler behaviour + // These 16X tests do not require 1.6 jre to run + suite.addTest(AllTestsAspectJ160.suite()); + suite.addTest(AllTestsAspectJ161.suite()); + suite.addTest(AllTestsAspectJ162.suite()); + suite.addTest(AllTestsAspectJ163.suite()); + suite.addTest(AllTestsAspectJ164.suite()); suite.addTest(AllTests15.suite()); // $JUnit-END$ return suite; diff --git a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java new file mode 100644 index 000000000..9976fb65e --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * 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.ajc164; + +import java.io.File; + +import junit.framework.Test; + +import org.aspectj.testing.XMLBasedAjcTestCase; + +public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + + public static Test suite() { + return XMLBasedAjcTestCase.loadSuite(Ajc164Tests.class); + } + + protected File getSpecFile() { + return new File("../tests/src/org/aspectj/systemtest/ajc164/ajc164.xml"); + } + +}
\ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc164/AllTestsAspectJ164.java b/tests/src/org/aspectj/systemtest/ajc164/AllTestsAspectJ164.java new file mode 100644 index 000000000..b7c3197f9 --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc164/AllTestsAspectJ164.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.ajc164; + +import junit.framework.Test; +import junit.framework.TestSuite; + +public class AllTestsAspectJ164 { + + public static Test suite() { + TestSuite suite = new TestSuite("AspectJ 1.6.4 tests"); + // $JUnit-BEGIN$ + suite.addTest(Ajc164Tests.suite()); + // $JUnit-END$ + return suite; + } +} diff --git a/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml b/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml new file mode 100644 index 000000000..9648575b2 --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml @@ -0,0 +1,6 @@ +<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]> + +<suite> + + +</suite>
\ No newline at end of file |