summaryrefslogtreecommitdiffstats
path: root/run-all-junit-tests
diff options
context:
space:
mode:
authormwebster <mwebster>2006-08-07 16:41:05 +0000
committermwebster <mwebster>2006-08-07 16:41:05 +0000
commit6dca4cc41d0af83c9baeb1aa1734b48cec11b1b0 (patch)
tree10d9e0127bcee36905c427d91d50e0de6af28a97 /run-all-junit-tests
parent51ace9a1a3bbcb24fd2a0f08ff6fdbec27f47738 (diff)
downloadaspectj-6dca4cc41d0af83c9baeb1aa1734b48cec11b1b0.tar.gz
aspectj-6dca4cc41d0af83c9baeb1aa1734b48cec11b1b0.zip
Bug 152982 "org.aspectj Restructure - Phase 2: Move tests" (move Java 5 dependedent tests to weaver5, reduce use of reflection and conditional execution, remove duplication)
Diffstat (limited to 'run-all-junit-tests')
-rw-r--r--run-all-junit-tests/testsrc/AllTests.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/run-all-junit-tests/testsrc/AllTests.java b/run-all-junit-tests/testsrc/AllTests.java
index bac614eb2..6ef81a518 100644
--- a/run-all-junit-tests/testsrc/AllTests.java
+++ b/run-all-junit-tests/testsrc/AllTests.java
@@ -11,10 +11,9 @@
* ******************************************************************/
// default package
-import org.aspectj.util.LangUtil;
-import org.aspectj.util.UtilModuleTests;
-import org.aspectj.weaver.BcweaverModuleTests;
-import org.aspectj.weaver.BcweaverModuleTests15;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
import org.aspectj.ajde.AjdeModuleTests;
import org.aspectj.ajdt.EajcModuleTests;
import org.aspectj.asm.AsmModuleTests;
@@ -30,9 +29,10 @@ import org.aspectj.testingutil.TestingUtilModuleTests;
import org.aspectj.tools.ajbrowser.AjbrowserModuleTests;
import org.aspectj.tools.ajdoc.AjdocModuleTests;
import org.aspectj.tools.ant.TaskdefsModuleTests;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.aspectj.util.LangUtil;
+import org.aspectj.util.UtilModuleTests;
+import org.aspectj.weaver.BcweaverModuleTests;
+import org.aspectj.weaver.Weaver5ModuleTests;
public class AllTests extends TestCase {
public static final boolean skipSupportModules = false;
@@ -65,8 +65,7 @@ public class AllTests extends TestCase {
TestUtil.loadTestsReflectively(suite, "org.aspectj.runtime.Aspectj5rtModuleTests", false);
TestUtil.loadTestsReflectively(suite, "org.aspectj.loadtime.Loadtime5ModuleTests", false);
// this next one is built normally, but needs 1.5 rt.jar to pass
- suite.addTest(BcweaverModuleTests15.suite());
- TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.Weaver5ModuleTests",false);
+ suite.addTest(Weaver5ModuleTests.suite());
} else {
suite.addTest(TestUtil.skipTest("for 1.5"));
}