]> source.dussan.org Git - aspectj.git/commitdiff
and away we go ... 1.5.3 tests
authoraclement <aclement>
Mon, 3 Jul 2006 09:23:31 +0000 (09:23 +0000)
committeraclement <aclement>
Mon, 3 Jul 2006 09:23:31 +0000 (09:23 +0000)
tests/src/org/aspectj/systemtest/AllTests15.java
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc153/ajc153.xml [new file with mode: 0644]

index 8667d9686dc2025eb7039eb66a9f7aa32c15c647..3881f18d9b0c032b45e2f0ff9ea83de3f7715aee 100644 (file)
@@ -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 (file)
index 0000000..8899c45
--- /dev/null
@@ -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 (file)
index 0000000..46aabab
--- /dev/null
@@ -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 (file)
index 0000000..45371be
--- /dev/null
@@ -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