aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/testdata
diff options
context:
space:
mode:
authorwisberg <wisberg>2002-12-16 17:58:19 +0000
committerwisberg <wisberg>2002-12-16 17:58:19 +0000
commitd842c4f1139629c1f062b74ba818d233b2c31043 (patch)
tree842d3871620bc0eb60edcd95e55804d67e0f61fa /taskdefs/testdata
parent3ce247199704eae6b2c92c6e38c69584e3250c52 (diff)
downloadaspectj-d842c4f1139629c1f062b74ba818d233b2c31043.tar.gz
aspectj-d842c4f1139629c1f062b74ba818d233b2c31043.zip
initial version
Diffstat (limited to 'taskdefs/testdata')
-rw-r--r--taskdefs/testdata/Ajdoc14Source.java13
-rw-r--r--taskdefs/testdata/CompileError.java5
-rw-r--r--taskdefs/testdata/CompileWarning.java10
-rw-r--r--taskdefs/testdata/Default.java4
-rw-r--r--taskdefs/testdata/test-build.xml9
5 files changed, 41 insertions, 0 deletions
diff --git a/taskdefs/testdata/Ajdoc14Source.java b/taskdefs/testdata/Ajdoc14Source.java
new file mode 100644
index 000000000..2e0f87f74
--- /dev/null
+++ b/taskdefs/testdata/Ajdoc14Source.java
@@ -0,0 +1,13 @@
+
+
+public class Ajdoc14Source {
+ { assert(false); }
+
+ public Ajdoc14Source() {
+ assert(true);
+ }
+
+ public void doAssert() {
+ assert(true);
+ }
+} \ No newline at end of file
diff --git a/taskdefs/testdata/CompileError.java b/taskdefs/testdata/CompileError.java
new file mode 100644
index 000000000..9a71c1dab
--- /dev/null
+++ b/taskdefs/testdata/CompileError.java
@@ -0,0 +1,5 @@
+
+
+public class CompileError {
+ here // CE here
+} \ No newline at end of file
diff --git a/taskdefs/testdata/CompileWarning.java b/taskdefs/testdata/CompileWarning.java
new file mode 100644
index 000000000..9f68068af
--- /dev/null
+++ b/taskdefs/testdata/CompileWarning.java
@@ -0,0 +1,10 @@
+
+
+public class CompileWarning {
+ void run() {
+ }
+ static aspect A {
+ declare warning : execution(void CompileWarning.run()) :
+ "expected warning";
+ }
+} \ No newline at end of file
diff --git a/taskdefs/testdata/Default.java b/taskdefs/testdata/Default.java
new file mode 100644
index 000000000..7688bcb14
--- /dev/null
+++ b/taskdefs/testdata/Default.java
@@ -0,0 +1,4 @@
+
+
+public class Default {
+} \ No newline at end of file
diff --git a/taskdefs/testdata/test-build.xml b/taskdefs/testdata/test-build.xml
new file mode 100644
index 000000000..cb66c09b9
--- /dev/null
+++ b/taskdefs/testdata/test-build.xml
@@ -0,0 +1,9 @@
+
+<project default="default">
+ <target name="default">
+ <taskdef properties="src/org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties"/>
+ <iajc>
+ <fileset dir="testdata" includes="Default.j*"/>
+ </iajc>
+ </target>
+</project>