From eb31ec6c3d7016f7b57210f61c27daa54118c263 Mon Sep 17 00:00:00 2001 From: mwebster Date: Sun, 30 Jul 2006 18:20:50 +0000 Subject: Bug 113948 "Repackage AspectJ" (move module root suites out of default package) --- weaver5/testsrc/Weaver5ModuleTests.java | 39 --------------------- .../org/aspectj/weaver/Weaver5ModuleTests.java | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 39 deletions(-) delete mode 100644 weaver5/testsrc/Weaver5ModuleTests.java create mode 100644 weaver5/testsrc/org/aspectj/weaver/Weaver5ModuleTests.java (limited to 'weaver5') diff --git a/weaver5/testsrc/Weaver5ModuleTests.java b/weaver5/testsrc/Weaver5ModuleTests.java deleted file mode 100644 index 8aa725b93..000000000 --- a/weaver5/testsrc/Weaver5ModuleTests.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: (See CVS logs) - * - *******************************************************************************/ - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -import org.aspectj.testing.util.TestUtil; -import org.aspectj.weaver.tools.PointcutExpressionTest; - -/** - */ -public class Weaver5ModuleTests extends TestCase { - - public static Test suite() { - TestSuite suite = new TestSuite(Weaver5ModuleTests.class.getName()); - if (TestUtil.is15VMOrGreater()) { - TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.tools.Java15PointcutExpressionTest", false); - TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.AllTracing5Tests", false); - suite.addTestSuite(PointcutExpressionTest.class); - } else { - suite.addTest(TestUtil.testNamed("all tests require 1.5")); - } - return suite; - } - public static void main(String[] args) { - junit.textui.TestRunner.main(new String[] {Weaver5ModuleTests.class.getName()}); - } - -} diff --git a/weaver5/testsrc/org/aspectj/weaver/Weaver5ModuleTests.java b/weaver5/testsrc/org/aspectj/weaver/Weaver5ModuleTests.java new file mode 100644 index 000000000..a72e34356 --- /dev/null +++ b/weaver5/testsrc/org/aspectj/weaver/Weaver5ModuleTests.java @@ -0,0 +1,40 @@ +package org.aspectj.weaver; +/******************************************************************************* + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: (See CVS logs) + * + *******************************************************************************/ + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +import org.aspectj.testing.util.TestUtil; +import org.aspectj.weaver.tools.PointcutExpressionTest; + +/** + */ +public class Weaver5ModuleTests extends TestCase { + + public static Test suite() { + TestSuite suite = new TestSuite(Weaver5ModuleTests.class.getName()); + if (TestUtil.is15VMOrGreater()) { + TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.tools.Java15PointcutExpressionTest", false); + TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.AllTracing5Tests", false); + suite.addTestSuite(PointcutExpressionTest.class); + } else { + suite.addTest(TestUtil.testNamed("all tests require 1.5")); + } + return suite; + } + public static void main(String[] args) { + junit.textui.TestRunner.main(new String[] {Weaver5ModuleTests.class.getName()}); + } + +} -- cgit v1.2.3