From 27f3a1ceb20f5515962151e57dca7c3798e71f48 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Wed, 23 Jan 2019 13:31:20 -0800 Subject: [PATCH] mavenized testing-util module - wip --- testing-util/.classpath | 11 ----- testing-util/.cvsignore | 2 - testing-util/.project | 19 --------- testing-util/build.xml | 6 --- testing-util/pom.xml | 42 +++++++++++++++++++ .../org/aspectj/testing/util/TestUtil.java | 0 .../testingutil/TestCompareClassFile.java | 0 .../org/aspectj/testingutil/TestUtilTest.java | 0 .../org/aspectj/testingutil/UtilTests.java | 1 + .../testingutil/TestingUtilModuleTests.java | 31 -------------- 10 files changed, 43 insertions(+), 69 deletions(-) delete mode 100644 testing-util/.classpath delete mode 100644 testing-util/.cvsignore delete mode 100644 testing-util/.project delete mode 100644 testing-util/build.xml create mode 100644 testing-util/pom.xml rename testing-util/src/{ => main/java}/org/aspectj/testing/util/TestUtil.java (100%) rename testing-util/{testsrc => src/test/java}/org/aspectj/testingutil/TestCompareClassFile.java (100%) rename testing-util/{testsrc => src/test/java}/org/aspectj/testingutil/TestUtilTest.java (100%) rename testing-util/{testsrc => src/test/java}/org/aspectj/testingutil/UtilTests.java (99%) delete mode 100644 testing-util/testsrc/org/aspectj/testingutil/TestingUtilModuleTests.java diff --git a/testing-util/.classpath b/testing-util/.classpath deleted file mode 100644 index 2261a7cce..000000000 --- a/testing-util/.classpath +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/testing-util/.cvsignore b/testing-util/.cvsignore deleted file mode 100644 index 38972d828..000000000 --- a/testing-util/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -bin -bintest diff --git a/testing-util/.project b/testing-util/.project deleted file mode 100644 index 917eccbff..000000000 --- a/testing-util/.project +++ /dev/null @@ -1,19 +0,0 @@ - - - testing-util - - - bridge - util - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/testing-util/build.xml b/testing-util/build.xml deleted file mode 100644 index 804ea5091..000000000 --- a/testing-util/build.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/testing-util/pom.xml b/testing-util/pom.xml new file mode 100644 index 000000000..402266f02 --- /dev/null +++ b/testing-util/pom.xml @@ -0,0 +1,42 @@ + + 4.0.0 + + + org.aspectj + aspectj-parent + 1.9.3.BUILD-SNAPSHOT + .. + + + testing-util + jar + testing-util + + + + org.aspectj + util + ${project.version} + + + org.aspectj + bridge + ${project.version} + + + junit + junit + 3.8.1 + + + jdiff + jdiff + 1.0 + system + ${project.basedir}/../lib/jdiff/jdiff.jar + + + + diff --git a/testing-util/src/org/aspectj/testing/util/TestUtil.java b/testing-util/src/main/java/org/aspectj/testing/util/TestUtil.java similarity index 100% rename from testing-util/src/org/aspectj/testing/util/TestUtil.java rename to testing-util/src/main/java/org/aspectj/testing/util/TestUtil.java diff --git a/testing-util/testsrc/org/aspectj/testingutil/TestCompareClassFile.java b/testing-util/src/test/java/org/aspectj/testingutil/TestCompareClassFile.java similarity index 100% rename from testing-util/testsrc/org/aspectj/testingutil/TestCompareClassFile.java rename to testing-util/src/test/java/org/aspectj/testingutil/TestCompareClassFile.java diff --git a/testing-util/testsrc/org/aspectj/testingutil/TestUtilTest.java b/testing-util/src/test/java/org/aspectj/testingutil/TestUtilTest.java similarity index 100% rename from testing-util/testsrc/org/aspectj/testingutil/TestUtilTest.java rename to testing-util/src/test/java/org/aspectj/testingutil/TestUtilTest.java diff --git a/testing-util/testsrc/org/aspectj/testingutil/UtilTests.java b/testing-util/src/test/java/org/aspectj/testingutil/UtilTests.java similarity index 99% rename from testing-util/testsrc/org/aspectj/testingutil/UtilTests.java rename to testing-util/src/test/java/org/aspectj/testingutil/UtilTests.java index 27d8399af..b2bbc27fb 100644 --- a/testing-util/testsrc/org/aspectj/testingutil/UtilTests.java +++ b/testing-util/src/test/java/org/aspectj/testingutil/UtilTests.java @@ -29,3 +29,4 @@ public class UtilTests extends TestCase { public UtilTests(String name) { super(name); } } + diff --git a/testing-util/testsrc/org/aspectj/testingutil/TestingUtilModuleTests.java b/testing-util/testsrc/org/aspectj/testingutil/TestingUtilModuleTests.java deleted file mode 100644 index 4c5f62ec0..000000000 --- a/testing-util/testsrc/org/aspectj/testingutil/TestingUtilModuleTests.java +++ /dev/null @@ -1,31 +0,0 @@ -package org.aspectj.testingutil; -/* ******************************************************************* - * Copyright (c) 1999-2001 Xerox Corporation, - * 2002 Palo Alto Research Center, Incorporated (PARC). - * 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://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Xerox/PARC initial implementation - * ******************************************************************/ - - -// default package - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -public class TestingUtilModuleTests extends TestCase { - - public static Test suite() { - TestSuite suite = new TestSuite(TestingUtilModuleTests.class.getName()); - suite.addTest(UtilTests.suite()); - return suite; - } - - public TestingUtilModuleTests(String name) { super(name); } -} -- 2.39.5