summaryrefslogtreecommitdiffstats
path: root/ajdoc/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'ajdoc/testdata')
-rw-r--r--ajdoc/testdata/failing-build/Fail.java5
-rw-r--r--ajdoc/testdata/simple/foo/ClassA.java23
-rw-r--r--ajdoc/testdata/simple/foo/InterfaceI.java6
3 files changed, 30 insertions, 4 deletions
diff --git a/ajdoc/testdata/failing-build/Fail.java b/ajdoc/testdata/failing-build/Fail.java
new file mode 100644
index 000000000..63cba6e98
--- /dev/null
+++ b/ajdoc/testdata/failing-build/Fail.java
@@ -0,0 +1,5 @@
+
+class Mumble {
+
+ this fails
+} \ No newline at end of file
diff --git a/ajdoc/testdata/simple/foo/ClassA.java b/ajdoc/testdata/simple/foo/ClassA.java
index 458c76397..76bc4588e 100644
--- a/ajdoc/testdata/simple/foo/ClassA.java
+++ b/ajdoc/testdata/simple/foo/ClassA.java
@@ -1,14 +1,29 @@
package foo;
-public class ClassA {
+import java.io.IOException;
+
+/**
+ * Test class. This is a comment.
+ */
+public abstract class ClassA implements InterfaceI {
public int pubfield;
private int privfield;
- void method1(int arg1) {
+ /**
+ * Mumbo. Jumbo.
+ *
+ * @param arg1 integer parameter
+ */
+ void method1(int arg1) throws IOException {
pubfield = arg1;
}
-
+
+ public void foo() { }
}
- \ No newline at end of file
+
+class SubClass extends ClassA {
+
+ public void foo() { }
+} \ No newline at end of file
diff --git a/ajdoc/testdata/simple/foo/InterfaceI.java b/ajdoc/testdata/simple/foo/InterfaceI.java
new file mode 100644
index 000000000..55b018146
--- /dev/null
+++ b/ajdoc/testdata/simple/foo/InterfaceI.java
@@ -0,0 +1,6 @@
+
+package foo;
+
+public interface InterfaceI {
+ void foo();
+} \ No newline at end of file