aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-10-31 22:36:16 +0000
committerwisberg <wisberg>2003-10-31 22:36:16 +0000
commit73ea8b743c9c0e711f181126c0324b09ff8b9e9d (patch)
treeb1822b3e48d6dadb1dfb2ae93898491fe4b56d5d
parente72c52476b8b393fecb4f0795e51ae07b3739e9b (diff)
downloadaspectj-73ea8b743c9c0e711f181126c0324b09ff8b9e9d.tar.gz
aspectj-73ea8b743c9c0e711f181126c0324b09ff8b9e9d.zip
initial version of common JUnit driver usable from Eclipse
-rw-r--r--run-all-junit-tests/.classpath22
-rw-r--r--run-all-junit-tests/.project32
-rw-r--r--run-all-junit-tests/testsrc/AllTests.java38
3 files changed, 92 insertions, 0 deletions
diff --git a/run-all-junit-tests/.classpath b/run-all-junit-tests/.classpath
new file mode 100644
index 000000000..46a1b3557
--- /dev/null
+++ b/run-all-junit-tests/.classpath
@@ -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
index 000000000..d7718dc8b
--- /dev/null
+++ b/run-all-junit-tests/.project
@@ -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
index 000000000..7c5e0a947
--- /dev/null
+++ b/run-all-junit-tests/testsrc/AllTests.java
@@ -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);
+ }
+
+}