From 6dca4cc41d0af83c9baeb1aa1734b48cec11b1b0 Mon Sep 17 00:00:00 2001 From: mwebster Date: Mon, 7 Aug 2006 16:41:05 +0000 Subject: 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) --- run-all-junit-tests/testsrc/AllTests.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'run-all-junit-tests') 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")); } -- cgit v1.2.3