aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-11 08:16:23 +0000
committeraclement <aclement>2005-11-11 08:16:23 +0000
commit1aeb7f3ef5dc07595dc35249316eaac62c7ba144 (patch)
tree02d8908ec4a7042eacaaf01b0a6d3442a9543db9 /org.aspectj.ajdt.core/testsrc
parent8965f8074211c53ba39127f22d079da102d2bd5e (diff)
downloadaspectj-1aeb7f3ef5dc07595dc35249316eaac62c7ba144.tar.gz
aspectj-1aeb7f3ef5dc07595dc35249316eaac62c7ba144.zip
more AST stuff: 110465
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/ASTVisitorTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/ASTVisitorTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/ASTVisitorTest.java
index 339b30db3..b16a3606e 100644
--- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/ASTVisitorTest.java
+++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/ASTVisitorTest.java
@@ -65,6 +65,10 @@ public class ASTVisitorTest extends TestCase {
check("aspect A{ /** */ public void B.x(){} }",
"(compilationUnit(aspect(simpleName)(methodITD(primitiveType)(simpleName)(block))))");
}
+
+ public void testAspectWithCommentThenPointcut() {
+ check("aspect A{ /** */ pointcut x(); }","(compilationUnit(aspect(simpleName)(pointcut(simpleName))))");
+ }
// original tests
public void testAnInterface() {