aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2006-07-03 09:23:31 +0000
committeraclement <aclement>2006-07-03 09:23:31 +0000
commitc3b3732cc91fd3718540ee92a9da1dc98bcf3066 (patch)
treefc5ae4fc02565abe6b17f7665484d60d3390f454
parent2f2f5683643a0f1e0856ac43fa590c4b39f1be26 (diff)
downloadaspectj-c3b3732cc91fd3718540ee92a9da1dc98bcf3066.tar.gz
aspectj-c3b3732cc91fd3718540ee92a9da1dc98bcf3066.zip
and away we go ... 1.5.3 tests
-rw-r--r--tests/src/org/aspectj/systemtest/AllTests15.java2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java32
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java25
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/ajc153.xml17
4 files changed, 76 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/AllTests15.java b/tests/src/org/aspectj/systemtest/AllTests15.java
index 8667d9686..3881f18d9 100644
--- a/tests/src/org/aspectj/systemtest/AllTests15.java
+++ b/tests/src/org/aspectj/systemtest/AllTests15.java
@@ -10,6 +10,7 @@ import org.aspectj.systemtest.ajc150.AllTestsAspectJ150;
import org.aspectj.systemtest.ajc150.ataspectj.AtAjAnnotationGenTests;
import org.aspectj.systemtest.ajc151.AllTestsAspectJ151;
import org.aspectj.systemtest.ajc152.AllTestsAspectJ152;
+import org.aspectj.systemtest.ajc153.AllTestsAspectJ153;
public class AllTests15 {
@@ -20,6 +21,7 @@ public class AllTests15 {
suite.addTest(AllTestsAspectJ150.suite());
suite.addTest(AllTestsAspectJ151.suite());
suite.addTest(AllTestsAspectJ152.suite());
+ suite.addTest(AllTestsAspectJ153.suite());
suite.addTest(AtAjAnnotationGenTests.suite());
//$JUnit-END$
return suite;
diff --git a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
new file mode 100644
index 000000000..8899c4581
--- /dev/null
+++ b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM
+ * 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.ajc153;
+
+import java.io.File;
+
+import junit.framework.Test;
+
+import org.aspectj.testing.XMLBasedAjcTestCase;
+
+public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+
+ // public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");}
+
+ /////////////////////////////////////////
+ public static Test suite() {
+ return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class);
+ }
+
+ protected File getSpecFile() {
+ return new File("../tests/src/org/aspectj/systemtest/ajc153/ajc153.xml");
+ }
+
+} \ No newline at end of file
diff --git a/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java b/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java
new file mode 100644
index 000000000..46aabab95
--- /dev/null
+++ b/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM
+ * 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.ajc153;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllTestsAspectJ153 {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("AspectJ 1.5.3 tests");
+ //$JUnit-BEGIN$
+ suite.addTest(Ajc153Tests.suite());
+ //$JUnit-END$
+ return suite;
+ }
+}
diff --git a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
new file mode 100644
index 000000000..45371bed1
--- /dev/null
+++ b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
@@ -0,0 +1,17 @@
+<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
+
+<!-- AspectJ v1.5.3 Tests -->
+<suite>
+
+ <ajc-test dir="bugs153/pr148381" title="argNames and javac">
+ <!--compile files="C.java" options="-1.5"/>
+ <compile files="A.java" options="-1.5"/-->
+ <compile files="Main.java,Monitor.java" options="-1.5" outjar="foo.jar" classpath="code.jar"/>
+ <run class="test.Main" classpath="$sandbox/code.jar" ltw="aop.xml">
+ <stderr>
+ <line text="goo"/>
+ </stderr>
+ </run>
+ </ajc-test>
+
+</suite> \ No newline at end of file