]> source.dussan.org Git - aspectj.git/commitdiff
Add module tests back in - but streamlined
authorAndy Clement <aclement@pivotal.io>
Fri, 1 Feb 2019 20:02:06 +0000 (12:02 -0800)
committerAndy Clement <aclement@pivotal.io>
Fri, 1 Feb 2019 20:02:06 +0000 (12:02 -0800)
testing-drivers/pom.xml
testing-drivers/src/test/java/org/aspectj/testing/TestingDriversModuleTests.java [deleted file]
testing-drivers/src/test/java/org/aspectj/testing/drivers/DriversTests.java [deleted file]
testing-drivers/src/test/java/org/aspectj/testing/drivers/TestingDriversModuleTests.java [new file with mode: 0644]

index 13e83f066fcf593b2cbfe884e75ab51bccc1823e..b3d8c9926ba8d8a8c7e36b68f0a8de774e4a6dd3 100644 (file)
       <type>test-jar</type>
     </dependency>
   </dependencies>
+
+  <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <configuration>
+                        <source>1.8</source>
+                        <target>1.8</target>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <configuration>
+                        <testFailureIgnore>true</testFailureIgnore>
+<excludes>
+<exclude>**/*AjcTestSpecAsTest*</exclude>
+</excludes>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+</build>
 </project>
diff --git a/testing-drivers/src/test/java/org/aspectj/testing/TestingDriversModuleTests.java b/testing-drivers/src/test/java/org/aspectj/testing/TestingDriversModuleTests.java
deleted file mode 100644 (file)
index 8cb8ddf..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.aspectj.testing;
-/* *******************************************************************
- * 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 org.aspectj.testing.drivers.DriversTests;
-
-import junit.framework.*;
-import junit.framework.Test;
-
-/**
- * TODO weaver dumping ajcore files when using this interface
- */
-public class TestingDriversModuleTests extends TestCase {
-
-    public static Test suite() { 
-        TestSuite suite = new TestSuite(TestingDriversModuleTests.class.getName());
-        suite.addTest(DriversTests.suite()); 
-        return suite;
-    }
-
-    public TestingDriversModuleTests(String name) { super(name); }
-
-}  
diff --git a/testing-drivers/src/test/java/org/aspectj/testing/drivers/DriversTests.java b/testing-drivers/src/test/java/org/aspectj/testing/drivers/DriversTests.java
deleted file mode 100644 (file)
index da277f1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation, 
- *               2002 Palo Alto Research Center, Incorporated (PARC)
- *               2003 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://www.eclipse.org/legal/epl-v10.html 
- *  
- * Contributors: 
- *     Xerox/PARC     initial implementation 
- *     Wes Isberg     added JUnit harness adapters
- * ******************************************************************/
-
-
-package org.aspectj.testing.drivers;
-
-import junit.framework.*;
-
-public class DriversTests extends TestCase {
-
-    public static Test suite() { 
-        TestSuite suite = new TestSuite(DriversTests.class.getName());
-        // AjcTestsUsingJUnit takes too long to include by default
-        //$JUnit-BEGIN$
-        suite.addTestSuite(HarnessSelectionTest.class); 
-        suite.addTest(AjcHarnessTestsUsingJUnit.suite()); 
-        //$JUnit-END$
-        return suite;
-    }
-
-    public DriversTests(String name) { super(name); }
-
-}  
diff --git a/testing-drivers/src/test/java/org/aspectj/testing/drivers/TestingDriversModuleTests.java b/testing-drivers/src/test/java/org/aspectj/testing/drivers/TestingDriversModuleTests.java
new file mode 100644 (file)
index 0000000..d690a4b
--- /dev/null
@@ -0,0 +1,29 @@
+/* *******************************************************************
+ * 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 
+ * ******************************************************************/
+package org.aspectj.testing.drivers;
+
+import junit.framework.*;
+import junit.framework.Test;
+
+public class TestingDriversModuleTests extends TestCase {
+
+    public static Test suite() { 
+        TestSuite suite = new TestSuite(TestingDriversModuleTests.class.getName());
+        suite.addTestSuite(HarnessSelectionTest.class); 
+        suite.addTest(AjcHarnessTestsUsingJUnit.suite()); 
+        return suite;  
+    }
+
+    public TestingDriversModuleTests(String name) { super(name); }
+
+}