]> source.dussan.org Git - aspectj.git/commitdiff
Cleaned up test-generated files.
authormkersten <mkersten>
Thu, 7 Aug 2003 09:35:23 +0000 (09:35 +0000)
committermkersten <mkersten>
Thu, 7 Aug 2003 09:35:23 +0000 (09:35 +0000)
ajde/testdata/bug-36071/src/aspects/Logging.java [new file with mode: 0644]
ajde/testdata/bug-36071/src/test/TestProperties.java [new file with mode: 0644]
ajde/testdata/bug-36071/src/test/test.props [new file with mode: 0644]

diff --git a/ajde/testdata/bug-36071/src/aspects/Logging.java b/ajde/testdata/bug-36071/src/aspects/Logging.java
new file mode 100644 (file)
index 0000000..2e8ba48
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * 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
new file mode 100644 (file)
index 0000000..18139e0
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * 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
new file mode 100644 (file)
index 0000000..51e670a
--- /dev/null
@@ -0,0 +1 @@
+test=test
\ No newline at end of file