summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc/org
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-13 21:23:18 +0000
committeraclement <aclement>2005-12-13 21:23:18 +0000
commit40f0b2a58c02bb3071ab7ddebfae056e9fe35764 (patch)
tree8f2b93ebe63377c5fa6394ae18d4505aa259338e /weaver/testsrc/org
parentbdafe3184768eb8b76ab653ef2e9f57b0399ca07 (diff)
downloadaspectj-40f0b2a58c02bb3071ab7ddebfae056e9fe35764.tar.gz
aspectj-40f0b2a58c02bb3071ab7ddebfae056e9fe35764.zip
fix for 113257 - modified rewriter - not perfect but passes the latest problems.
Diffstat (limited to 'weaver/testsrc/org')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java b/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java
index f28a5a7ac..84a32ddb1 100644
--- a/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java
+++ b/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java
@@ -37,11 +37,11 @@ public class PointcutRewriterTest extends TestCase {
Pointcut notNotNOT = getPointcut("!!!this(Foo)");
assertEquals("!this(Foo)",prw.rewrite(notNotNOT).toString());
Pointcut and = getPointcut("!(this(Foo) && this(Goo))");
- assertEquals("(!this(Foo) || !this(Goo))",prw.rewrite(and).toString());
+ assertEquals("(!this(Foo) || !this(Goo))",prw.rewrite(and,true).toString());
Pointcut or = getPointcut("!(this(Foo) || this(Goo))");
- assertEquals("(!this(Foo) && !this(Goo))",prw.rewrite(or).toString());
+ assertEquals("(!this(Foo) && !this(Goo))",prw.rewrite(or,true).toString());
Pointcut nestedNot = getPointcut("!(this(Foo) && !this(Goo))");
- assertEquals("(!this(Foo) || this(Goo))",prw.rewrite(nestedNot).toString());
+ assertEquals("(!this(Foo) || this(Goo))",prw.rewrite(nestedNot,true).toString());
}
public void testPullUpDisjunctions() {