From e98f07fb4dada3f81706cf3a7481aedb252161c0 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Thu, 31 Jan 2019 13:06:04 -0800 Subject: Add module tests back in - but streamlined --- ajde.core/pom.xml | 17 ------- .../org/aspectj/ajde/core/AjdeCoreModuleTests.java | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 17 deletions(-) create mode 100644 ajde.core/src/test/java/org/aspectj/ajde/core/AjdeCoreModuleTests.java (limited to 'ajde.core') diff --git a/ajde.core/pom.xml b/ajde.core/pom.xml index 6f3cae974..d6315cf5b 100644 --- a/ajde.core/pom.xml +++ b/ajde.core/pom.xml @@ -41,21 +41,4 @@ ${project.version} - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2 - - - - test-jar - - - - - - diff --git a/ajde.core/src/test/java/org/aspectj/ajde/core/AjdeCoreModuleTests.java b/ajde.core/src/test/java/org/aspectj/ajde/core/AjdeCoreModuleTests.java new file mode 100644 index 000000000..0e9991eeb --- /dev/null +++ b/ajde.core/src/test/java/org/aspectj/ajde/core/AjdeCoreModuleTests.java @@ -0,0 +1,56 @@ +/******************************************************************** + * Copyright (c) 2007 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: IBM Corporation - initial API and implementation + * Helen Hawkins - initial version + *******************************************************************/ +package org.aspectj.ajde.core; + +import org.aspectj.ajde.core.tests.AjConfigTest; +import org.aspectj.ajde.core.tests.BuildCancellingTest; +import org.aspectj.ajde.core.tests.CompilerMessagesTest; +import org.aspectj.ajde.core.tests.DuplicateManifestTest; +import org.aspectj.ajde.core.tests.InpathTest; +import org.aspectj.ajde.core.tests.JarManifestTest; +import org.aspectj.ajde.core.tests.OutxmlTest; +import org.aspectj.ajde.core.tests.ResourceCopyTest; +import org.aspectj.ajde.core.tests.ReweavableTest; +import org.aspectj.ajde.core.tests.ShowWeaveMessagesTest; +import org.aspectj.ajde.core.tests.model.AsmDeclarationsTest; +import org.aspectj.ajde.core.tests.model.AsmRelationshipsTest; +import org.aspectj.ajde.core.tests.model.SavedModelConsistencyTest; +import org.aspectj.ajde.core.tests.model.StructureModelTest; + +import junit.framework.TestCase; +import junit.framework.TestSuite; + +public class AjdeCoreModuleTests extends TestCase { + + public static TestSuite suite() { + TestSuite suite = new TestSuite(AjdeCoreModuleTests.class.getName()); + suite.addTestSuite(ShowWeaveMessagesTest.class); + suite.addTestSuite(DuplicateManifestTest.class); + suite.addTestSuite(StructureModelTest.class); + suite.addTestSuite(CompilerMessagesTest.class); + suite.addTestSuite(AsmDeclarationsTest.class); + suite.addTestSuite(AsmRelationshipsTest.class); + suite.addTestSuite(InpathTest.class); + suite.addTestSuite(ReweavableTest.class); + suite.addTestSuite(ResourceCopyTest.class); + suite.addTestSuite(SavedModelConsistencyTest.class); + suite.addTestSuite(BuildCancellingTest.class); + suite.addTestSuite(JarManifestTest.class); + suite.addTestSuite(OutxmlTest.class); + suite.addTestSuite(AjConfigTest.class); + return suite; + } + + public AjdeCoreModuleTests(String name) { + super(name); + } + +} -- cgit v1.2.3