aboutsummaryrefslogtreecommitdiffstats
path: root/testing/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2019-02-01 11:23:15 -0800
committerAndy Clement <aclement@pivotal.io>2019-02-01 11:23:15 -0800
commitce2634b7a92f2f9a2b2b5a00f361789a4efae1cb (patch)
treef11a4953f12ef49762bdaa14f0c82dcc909f06fb /testing/src
parent8f6b407d531396d85bdc34f08e251efee4cd1d1f (diff)
downloadaspectj-ce2634b7a92f2f9a2b2b5a00f361789a4efae1cb.tar.gz
aspectj-ce2634b7a92f2f9a2b2b5a00f361789a4efae1cb.zip
Add module tests back in - but streamlined
Diffstat (limited to 'testing/src')
-rw-r--r--testing/src/test/java/org/aspectj/testing/TestingModuleTests.java61
-rw-r--r--testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReaderTest.java6
2 files changed, 64 insertions, 3 deletions
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
index 000000000..81ff4e1b4
--- /dev/null
+++ b/testing/src/test/java/org/aspectj/testing/TestingModuleTests.java
@@ -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); }
+
+}
diff --git a/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReaderTest.java b/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReaderTest.java
index bff18c024..81842dc30 100644
--- a/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReaderTest.java
+++ b/testing/src/test/java/org/aspectj/testing/xml/AjcSpecXmlReaderTest.java
@@ -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");