diff options
author | aclement <aclement> | 2005-01-31 14:02:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-01-31 14:02:38 +0000 |
commit | 94251be73e24166f25ee2d8ca477879fea53dfa2 (patch) | |
tree | b3196b3592a1391870ba77e2f3893eb611f3a98e /tests/src | |
parent | 51aedc9a20c3c571f01bbfd79ca357759e008479 (diff) | |
download | aspectj-94251be73e24166f25ee2d8ca477879fea53dfa2.tar.gz aspectj-94251be73e24166f25ee2d8ca477879fea53dfa2.zip |
Tests for static method call/execution with @annotation
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java b/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java index 0af6b4560..b1fd803bc 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java +++ b/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java @@ -144,4 +144,11 @@ public class AnnotationBinding extends TestUtils { assertMessages(cR,new EmptyMessageSpec()); RunResult rR = run("a.b.c.A"); } + + // Binding with calls/executions of static methods + public void testCallsAndExecutionsOfStaticMethods() { + CompilationResult cR = ajc(baseDir,new String[]{"StaticMethods.java","-1.5","-d","."}); + assertMessages(cR,new EmptyMessageSpec()); + RunResult rR = run("StaticMethods"); + } }
\ No newline at end of file |