diff options
author | aclement <aclement> | 2005-12-13 21:23:18 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-13 21:23:18 +0000 |
commit | 40f0b2a58c02bb3071ab7ddebfae056e9fe35764 (patch) | |
tree | 8f2b93ebe63377c5fa6394ae18d4505aa259338e /weaver/testsrc/org | |
parent | bdafe3184768eb8b76ab653ef2e9f57b0399ca07 (diff) | |
download | aspectj-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.java | 6 |
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() { |