]> source.dussan.org Git - aspectj.git/commitdiff
The JUnit test suite to end all test suites. This should come in pretty handy....
authoracolyer <acolyer>
Wed, 4 Aug 2004 12:00:34 +0000 (12:00 +0000)
committeracolyer <acolyer>
Wed, 4 Aug 2004 12:00:34 +0000 (12:00 +0000)
run-all-junit-tests/.classpath
run-all-junit-tests/testsrc/RunTheseBeforeYouCommitTests.java [new file with mode: 0644]

index 46a1b355740cd26adf7dd306ecc6c6be064cae9f..02762de9575884d9fc541db77e02318c87863399 100644 (file)
@@ -1,22 +1,23 @@
 <?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"/>
+       <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 sourcepath="/lib/junit/junit-src.jar" kind="lib" path="/lib/junit/junit.jar"/>
+       <classpathentry kind="src" path="/tests"/>
+       <classpathentry kind="output" path="bin"/>
 </classpath>
diff --git a/run-all-junit-tests/testsrc/RunTheseBeforeYouCommitTests.java b/run-all-junit-tests/testsrc/RunTheseBeforeYouCommitTests.java
new file mode 100644 (file)
index 0000000..f64c9e5
--- /dev/null
@@ -0,0 +1,29 @@
+import org.aspectj.systemtest.AllTests14;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/*
+ * Created on 03-Aug-2004
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+
+/**
+ * @author colyer
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class RunTheseBeforeYouCommitTests {
+
+       public static Test suite() {
+               TestSuite suite = new TestSuite("Test for default package");
+               //$JUnit-BEGIN$
+               suite.addTest(AllTests.suite());
+               suite.addTest(AllTests14.suite());
+               //$JUnit-END$
+               return suite;
+       }
+}