]> source.dussan.org Git - aspectj.git/commitdiff
Add module tests back in - but streamlined
authorAndy Clement <aclement@pivotal.io>
Thu, 31 Jan 2019 21:06:04 +0000 (13:06 -0800)
committerAndy Clement <aclement@pivotal.io>
Thu, 31 Jan 2019 21:06:04 +0000 (13:06 -0800)
ajde.core/pom.xml
ajde.core/src/test/java/org/aspectj/ajde/core/AjdeCoreModuleTests.java [new file with mode: 0644]

index 6f3cae97428d9c3a585f4fc1abbdb9f4ec204703..d6315cf5b3fc2423fc31b90a074e3be4caab7cdf 100644 (file)
       <version>${project.version}</version>
     </dependency>
   </dependencies>
-
-  <build>
-    <plugins>
-     <plugin>
-       <groupId>org.apache.maven.plugins</groupId>
-       <artifactId>maven-jar-plugin</artifactId>
-       <version>2.2</version>
-       <executions>
-         <execution>
-           <goals>
-             <goal>test-jar</goal>
-           </goals>
-         </execution>
-       </executions>
-     </plugin>
-    </plugins>
-  </build>
 </project>
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 (file)
index 0000000..0e9991e
--- /dev/null
@@ -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);
+       }
+
+}