summaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
authormkersten <mkersten>2003-08-07 09:33:29 +0000
committermkersten <mkersten>2003-08-07 09:33:29 +0000
commitb0611b5428e1569837e1a5589a6713e47a37f0a9 (patch)
treefbf2d0ca1eec3a08086f646d35ac77a61c6b3e11 /ajde/testdata
parent8849b342f8bb61c8f9926425313047bd2f835d28 (diff)
downloadaspectj-b0611b5428e1569837e1a5589a6713e47a37f0a9.tar.gz
aspectj-b0611b5428e1569837e1a5589a6713e47a37f0a9.zip
Cleaned up test-generated files.
Diffstat (limited to 'ajde/testdata')
-rw-r--r--ajde/testdata/bug-36071/src/Main.java22
-rw-r--r--ajde/testdata/bug-36071/src/aspects/Logging.java27
-rw-r--r--ajde/testdata/bug-36071/src/test/TestProperties.java29
-rw-r--r--ajde/testdata/bug-36071/src/test/test.props1
4 files changed, 22 insertions, 57 deletions
diff --git a/ajde/testdata/bug-36071/src/Main.java b/ajde/testdata/bug-36071/src/Main.java
new file mode 100644
index 000000000..417fc6809
--- /dev/null
+++ b/ajde/testdata/bug-36071/src/Main.java
@@ -0,0 +1,22 @@
+import java.io.IOException;
+
+/*
+ * Created on 30-Jul-03
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+
+/**
+ * @author websterm
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class Main {
+
+ public static void main(String[] args) throws IOException {
+ String propsName = (args.length > 0)? args[0] : "test.props";
+ new test.TestProperties().load(propsName);
+ }
+}
diff --git a/ajde/testdata/bug-36071/src/aspects/Logging.java b/ajde/testdata/bug-36071/src/aspects/Logging.java
deleted file mode 100644
index 2e8ba485a..000000000
--- a/ajde/testdata/bug-36071/src/aspects/Logging.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Created on 30-Jul-03
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package aspects;
-
-/**
- * @author websterm
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public aspect Logging {
-
- pointcut methods () :
- execution(* *..*(..)) && !within(Logging);
-
- before () : methods () {
- System.err.println("> " + thisJoinPoint.getSignature().toLongString());
- }
-
- after () : methods () {
- System.err.println("< " + thisJoinPoint.getSignature().toLongString());
- }
-}
diff --git a/ajde/testdata/bug-36071/src/test/TestProperties.java b/ajde/testdata/bug-36071/src/test/TestProperties.java
deleted file mode 100644
index 18139e035..000000000
--- a/ajde/testdata/bug-36071/src/test/TestProperties.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Created on 30-Jul-03
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package test;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Properties;
-
-/**
- * @author websterm
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class TestProperties {
-
- public void load (String name) throws IOException {
- InputStream in = getClass().getResourceAsStream(name);
-// System.out.println("? load() in=" + in);
- Properties props = new Properties();
- props.load(in);
- in.close();
- props.list(System.out);
- }
-}
diff --git a/ajde/testdata/bug-36071/src/test/test.props b/ajde/testdata/bug-36071/src/test/test.props
deleted file mode 100644
index 51e670ac7..000000000
--- a/ajde/testdata/bug-36071/src/test/test.props
+++ /dev/null
@@ -1 +0,0 @@
-test=test \ No newline at end of file