]> source.dussan.org Git - aspectj.git/commitdiff
initial version of common JUnit driver usable from Eclipse
authorwisberg <wisberg>
Fri, 31 Oct 2003 22:36:16 +0000 (22:36 +0000)
committerwisberg <wisberg>
Fri, 31 Oct 2003 22:36:16 +0000 (22:36 +0000)
run-all-junit-tests/.classpath [new file with mode: 0644]
run-all-junit-tests/.project [new file with mode: 0644]
run-all-junit-tests/testsrc/AllTests.java [new file with mode: 0644]

diff --git a/run-all-junit-tests/.classpath b/run-all-junit-tests/.classpath
new file mode 100644 (file)
index 0000000..46a1b35
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+    <classpathentry kind="src" path="testsrc"/>
+    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+    <classpathentry kind="src" path="/ajbrowser"/>
+    <classpathentry kind="src" path="/ajde"/>
+    <classpathentry kind="src" path="/asm"/>
+    <classpathentry kind="src" path="/bridge"/>
+    <classpathentry kind="src" path="/build"/>
+    <classpathentry kind="src" path="/org.aspectj.ajdt.core"/>
+    <classpathentry kind="src" path="/org.eclipse.jdt.core"/>
+    <classpathentry kind="src" path="/runtime"/>
+    <classpathentry kind="src" path="/taskdefs"/>
+    <classpathentry kind="src" path="/testing"/>
+    <classpathentry kind="src" path="/testing-client"/>
+    <classpathentry kind="src" path="/testing-drivers"/>
+    <classpathentry kind="src" path="/testing-util"/>
+    <classpathentry kind="src" path="/util"/>
+    <classpathentry kind="src" path="/weaver"/>
+    <classpathentry kind="lib" path="/lib/junit/junit.jar" sourcepath="/lib/junit/junit-src.jar"/>
+    <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/run-all-junit-tests/.project b/run-all-junit-tests/.project
new file mode 100644 (file)
index 0000000..d7718dc
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>run-all-junit-tests</name>
+       <comment></comment>
+       <projects>
+               <project>ajbrowser</project>
+               <project>ajde</project>
+               <project>asm</project>
+               <project>bridge</project>
+               <project>build</project>
+               <project>org.aspectj.ajdt.core</project>
+               <project>org.eclipse.jdt.core</project>
+               <project>runtime</project>
+               <project>taskdefs</project>
+               <project>testing</project>
+               <project>testing-client</project>
+               <project>testing-drivers</project>
+               <project>testing-util</project>
+               <project>util</project>
+               <project>weaver</project>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/run-all-junit-tests/testsrc/AllTests.java b/run-all-junit-tests/testsrc/AllTests.java
new file mode 100644 (file)
index 0000000..7c5e0a9
--- /dev/null
@@ -0,0 +1,38 @@
+/* *******************************************************************
+ * Copyright (c) 2003 Contributors.
+ * All rights reserved. 
+ * This program and the accompanying materials are made available 
+ * under the terms of the Common Public License v1.0 
+ * which accompanies this distribution and is available at 
+ * http://www.eclipse.org/legal/cpl-v10.html 
+ *  
+ * Contributors: 
+ *     Wes Isberg     initial implementation 
+ * ******************************************************************/
+
+// default package
+import junit.framework.*;
+
+public class AllTests extends TestCase {
+
+    public static TestSuite suite() {
+        TestSuite suite = new TestSuite(AllTests.class.getName());
+        suite.addTest(AjbrowserModuleTests.suite());
+        suite.addTest(AjdeModuleTests.suite());
+        suite.addTest(AsmModuleTests.suite());
+        suite.addTest(BridgeModuleTests.suite());
+        suite.addTest(EajcModuleTests.suite());
+        suite.addTest(RuntimeModuleTests.suite());
+        suite.addTest(TaskdefsModuleTests.suite());
+        suite.addTest(TestingModuleTests.suite());
+        suite.addTest(TestingDriversModuleTests.suite());
+        suite.addTest(UtilModuleTests.suite());
+        suite.addTest(BcweaverModuleTests.suite());
+        return suite;
+    }
+
+    public AllTests(String name) {
+        super(name);
+    }
+
+}