diff options
author | aclement <aclement> | 2005-11-14 16:51:03 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-11-14 16:51:03 +0000 |
commit | 06d8ef35d6035a19671504d21907368150f0aa2c (patch) | |
tree | fb45592d3591c92db2d9ff681a090d32d33f7cd9 /tests/bugs150 | |
parent | 132f675da7177a41cf0ebfe2f87eee1d68c9e241 (diff) | |
download | aspectj-06d8ef35d6035a19671504d21907368150f0aa2c.tar.gz aspectj-06d8ef35d6035a19671504d21907368150f0aa2c.zip |
testcode for 114436
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr114436/ConcreteSimpleTracing.aj | 4 | ||||
-rw-r--r-- | tests/bugs150/pr114436/SimpleTrace.aj | 8 | ||||
-rw-r--r-- | tests/bugs150/pr114436/TestClass.java | 13 |
3 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs150/pr114436/ConcreteSimpleTracing.aj b/tests/bugs150/pr114436/ConcreteSimpleTracing.aj new file mode 100644 index 000000000..22d5d0b84 --- /dev/null +++ b/tests/bugs150/pr114436/ConcreteSimpleTracing.aj @@ -0,0 +1,4 @@ +aspect ConcreteSimpleTracing extends SimpleTracing +{ + pointcut tracedCall(): execution(void doSomething(String)); +} diff --git a/tests/bugs150/pr114436/SimpleTrace.aj b/tests/bugs150/pr114436/SimpleTrace.aj new file mode 100644 index 000000000..6fe2d6f42 --- /dev/null +++ b/tests/bugs150/pr114436/SimpleTrace.aj @@ -0,0 +1,8 @@ +abstract aspect SimpleTracing perthis(tracedCall()) +{ + abstract pointcut tracedCall(); + + before(): tracedCall() { + System.out.println("Entering: " + thisJoinPoint); + } +} diff --git a/tests/bugs150/pr114436/TestClass.java b/tests/bugs150/pr114436/TestClass.java new file mode 100644 index 000000000..567020e82 --- /dev/null +++ b/tests/bugs150/pr114436/TestClass.java @@ -0,0 +1,13 @@ +public class TestClass +{ + public void doSomething(String stuff) + { + System.out.println("TestClass.doSomething(\""+stuff+"\")"); + } + + public static void main(String[] args) + { + TestClass test = new TestClass(); + test.doSomething("withThis"); + } +} |