diff options
author | mwebster <mwebster> | 2006-08-08 14:12:19 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-08-08 14:12:19 +0000 |
commit | 08ddc0a60211cc895ed110ddf5f54ca55dd2bfa1 (patch) | |
tree | 7a409518b00ad38f0a71a09d332bec2347f7d9e7 /run-all-junit-tests/testsrc | |
parent | b8dd4360f0814cbc2d22eb5ffee25a364b1993c9 (diff) | |
download | aspectj-08ddc0a60211cc895ed110ddf5f54ca55dd2bfa1.tar.gz aspectj-08ddc0a60211cc895ed110ddf5f54ca55dd2bfa1.zip |
Bug 152982 "org.aspectj Restructure - Phase 2: Move tests" (remove unnecessary reflective invocation)
Diffstat (limited to 'run-all-junit-tests/testsrc')
-rw-r--r-- | run-all-junit-tests/testsrc/AllTests.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/run-all-junit-tests/testsrc/AllTests.java b/run-all-junit-tests/testsrc/AllTests.java index 6ef81a518..7cf73288d 100644 --- a/run-all-junit-tests/testsrc/AllTests.java +++ b/run-all-junit-tests/testsrc/AllTests.java @@ -19,7 +19,9 @@ import org.aspectj.ajdt.EajcModuleTests; import org.aspectj.asm.AsmModuleTests; import org.aspectj.bridge.BridgeModuleTests; import org.aspectj.build.BuildModuleTests; +import org.aspectj.loadtime.Loadtime5ModuleTests; import org.aspectj.loadtime.LoadtimeModuleTests; +import org.aspectj.runtime.Aspectj5rtModuleTests; import org.aspectj.runtime.RuntimeModuleTests; import org.aspectj.testing.TestingClientModuleTests; import org.aspectj.testing.TestingDriversModuleTests; @@ -59,12 +61,8 @@ public class AllTests extends TestCase { suite.addTest(UtilModuleTests.suite()); suite.addTest(BcweaverModuleTests.suite()); if (LangUtil.is15VMOrGreater()) { - // these only require 1.3, but in Eclipse they are built - // with 1.5, i.e., wrong class version to load under 1.3 - // so the class name can only be used reflectively - 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(Aspectj5rtModuleTests.suite()); + suite.addTest(Loadtime5ModuleTests.suite()); suite.addTest(Weaver5ModuleTests.suite()); } else { suite.addTest(TestUtil.skipTest("for 1.5")); |