diff options
author | mkersten <mkersten> | 2003-08-07 09:32:24 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-08-07 09:32:24 +0000 |
commit | 8849b342f8bb61c8f9926425313047bd2f835d28 (patch) | |
tree | a976e07b57c71f0716353166f6bbcdb682639231 /ajde/testdata | |
parent | 9b8ebcd93705e4ed993d49d95b43bd71dd1e6dc9 (diff) | |
download | aspectj-8849b342f8bb61c8f9926425313047bd2f835d28.tar.gz aspectj-8849b342f8bb61c8f9926425313047bd2f835d28.zip |
Cleaned up test-generated files.
Diffstat (limited to 'ajde/testdata')
-rw-r--r-- | ajde/testdata/bug-36071/src/aspects/Logging.java | 27 | ||||
-rw-r--r-- | ajde/testdata/bug-36071/src/test/TestProperties.java | 29 | ||||
-rw-r--r-- | ajde/testdata/bug-36071/src/test/test.props | 1 |
3 files changed, 57 insertions, 0 deletions
diff --git a/ajde/testdata/bug-36071/src/aspects/Logging.java b/ajde/testdata/bug-36071/src/aspects/Logging.java new file mode 100644 index 000000000..2e8ba485a --- /dev/null +++ b/ajde/testdata/bug-36071/src/aspects/Logging.java @@ -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 index 000000000..18139e035 --- /dev/null +++ b/ajde/testdata/bug-36071/src/test/TestProperties.java @@ -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 index 000000000..51e670ac7 --- /dev/null +++ b/ajde/testdata/bug-36071/src/test/test.props @@ -0,0 +1 @@ +test=test
\ No newline at end of file |