summaryrefslogtreecommitdiffstats
path: root/ajdoc/testsrc
diff options
context:
space:
mode:
authormkersten <mkersten>2004-03-10 19:46:13 +0000
committermkersten <mkersten>2004-03-10 19:46:13 +0000
commit799a74bf1cb3350cb0ab8ec55d23075524d4f240 (patch)
tree955989051fdd2ad7b7fc7dcce61d9277a2f5c1e7 /ajdoc/testsrc
parent281b698886b721aef7b15f356b0a4a50a2da7edf (diff)
downloadaspectj-799a74bf1cb3350cb0ab8ec55d23075524d4f240.tar.gz
aspectj-799a74bf1cb3350cb0ab8ec55d23075524d4f240.zip
Port of ajdoc declaration hierarchy to ASM.
Diffstat (limited to 'ajdoc/testsrc')
-rw-r--r--ajdoc/testsrc/org/aspectj/tools/ajdoc/MainTest.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/ajdoc/testsrc/org/aspectj/tools/ajdoc/MainTest.java b/ajdoc/testsrc/org/aspectj/tools/ajdoc/MainTest.java
new file mode 100644
index 000000000..6404ae25b
--- /dev/null
+++ b/ajdoc/testsrc/org/aspectj/tools/ajdoc/MainTest.java
@@ -0,0 +1,46 @@
+/* *******************************************************************
+ * Copyright (c) 2003 Contributors.
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Common Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * Mik Kersten initial implementation
+ * ******************************************************************/
+ package org.aspectj.tools.ajdoc;
+
+import java.io.File;
+
+import junit.framework.TestCase;
+
+/**
+ * @author Mik Kersten
+ */
+public class MainTest extends TestCase {
+
+
+ public void testRun() {
+
+// System.err.println(new File("testdata/figures-demo").exists());
+ File sourcepath = new File("testdata/simple/foo/ClassA.java");
+ File outdir = new File("testdata/simple/doc");
+
+ String[] args = { "-d", outdir.getAbsolutePath(), sourcepath.getAbsolutePath() };
+
+// String[] args = { "-sourcepath", sourcepath.getAbsolutePath(), "figures" };
+ org.aspectj.tools.ajdoc.Main.main(args);
+
+ assertTrue(true);
+ }
+
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+}