]> source.dussan.org Git - aspectj.git/commitdiff
Add module tests back in - but streamlined
authorAndy Clement <aclement@pivotal.io>
Fri, 1 Feb 2019 19:23:15 +0000 (11:23 -0800)
committerAndy Clement <aclement@pivotal.io>
Fri, 1 Feb 2019 19:23:15 +0000 (11:23 -0800)
testing/src/test/java/org/aspectj/testing/TestingModuleTests.java [new file with mode: 0644]
testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReaderTest.java

diff --git a/testing/src/test/java/org/aspectj/testing/TestingModuleTests.java b/testing/src/test/java/org/aspectj/testing/TestingModuleTests.java
new file mode 100644 (file)
index 0000000..81ff4e1
--- /dev/null
@@ -0,0 +1,61 @@
+/* *******************************************************************
+ * 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;
+
+import org.aspectj.testing.harness.bridge.*;
+import org.aspectj.testing.taskdefs.*;
+import org.aspectj.testing.util.*;
+import org.aspectj.testing.util.options.*;
+import org.aspectj.testing.xml.*;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+public class TestingModuleTests extends TestCase {
+
+    public static Test suite() { 
+        TestSuite suite = new TestSuite(TestingModuleTests.class.getName());
+
+        suite.addTestSuite(ValuesTest.class);
+        suite.addTestSuite(OptionsTest.class);
+        suite.addTestSuite(StructureModelUtilTest.class);
+        suite.addTestSuite(FileUtilTest.class);
+        suite.addTestSuite(BridgeUtilTest.class);
+        suite.addTestSuite(IteratorWrapperTest.class);
+        suite.addTestSuite(StreamGrabberTest.class);
+        suite.addTestSuite(TestDiffsTest.class);
+        suite.addTestSuite(LangUtilTest.class);
+        suite.addTestSuite(MessageUtilTest.class);
+        suite.addTestSuite(XMLWriterTest.class);
+        suite.addTestSuite(AjcSpecXmlReaderTest.class);
+        suite.addTestSuite(MessageListXmlReaderTest.class);
+        suite.addTestSuite(CompilerRunTest.class);
+        suite.addTestSuite(CompilerRunSpecTest.class);
+        suite.addTestSuite(AjcSpecTest.class);
+        suite.addTestSuite(DirChangesTest.class);
+        suite.addTestSuite(ParseTestCase.class);
+        suite.addTestSuite(AbstractRunSpecTest.class);
+        suite.addTestSuite(AjcTaskCompileCommandTest.class);
+
+//        suite.addTest(org.aspectj.testing.harness.bridge.TestingBridgeTests.suite()); 
+//        suite.addTest(org.aspectj.testing.taskdefs.TaskdefTests.suite()); 
+//        suite.addTest(org.aspectj.testing.util.UtilTests.suite()); 
+//        suite.addTest(org.aspectj.testing.util.options.OptionsTests.suite()); 
+//        suite.addTest(org.aspectj.testing.xml.TestingXmlTests.suite()); 
+        return suite;
+    }
+
+    public TestingModuleTests(String name) { super(name); }
+
+}  
index bff18c024d7be495427688ae1052c12f9ff9becb..81842dc300922b37d953cd50bf413b3e213769aa 100644 (file)
@@ -87,9 +87,9 @@ public class AjcSpecXmlReaderTest extends TestCase {
                }
         
     }
-    public void testAjcTests() throws IOException { 
-        checkXmlRoundTrip("../tests/ajcTests");
-    }
+//    public void testAjcTests() throws IOException { 
+//        checkXmlRoundTrip("../tests/ajcTests");
+//    }
 
     public void testAjcTests10() throws IOException { 
         checkXmlRoundTrip("../tests/ajcTests10");