diff options
author | aclement <aclement> | 2009-09-14 17:58:55 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-09-14 17:58:55 +0000 |
commit | 4da4379d79ef1dc70a4b5ba7595a07ce187b8f33 (patch) | |
tree | aed609d80219627c0ccd9f5cb34d1d3ca23e206a /org.aspectj.matcher/testsrc | |
parent | cb1cfd4ed35ed8cfa206ff984aecb0dad3092973 (diff) | |
download | aspectj-4da4379d79ef1dc70a4b5ba7595a07ce187b8f33.tar.gz aspectj-4da4379d79ef1dc70a4b5ba7595a07ce187b8f33.zip |
refactoring
Diffstat (limited to 'org.aspectj.matcher/testsrc')
-rw-r--r-- | org.aspectj.matcher/testsrc/org/aspectj/weaver/CommonWorldTests.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.aspectj.matcher/testsrc/org/aspectj/weaver/CommonWorldTests.java b/org.aspectj.matcher/testsrc/org/aspectj/weaver/CommonWorldTests.java index 5d8d35568..f6a44c87c 100644 --- a/org.aspectj.matcher/testsrc/org/aspectj/weaver/CommonWorldTests.java +++ b/org.aspectj.matcher/testsrc/org/aspectj/weaver/CommonWorldTests.java @@ -40,6 +40,7 @@ public abstract class CommonWorldTests extends TestCase { private World world; + @Override public void setUp() { world = getWorld(); } @@ -160,7 +161,9 @@ public abstract class CommonWorldTests extends TestCase { } protected void mungersTest(ResolvedType ty, ShadowMunger[] x) { - TestUtil.assertSetEquals(ty + " mungers:", x, ty.getDeclaredShadowMungersArray()); + List l = (List) ty.getDeclaredShadowMungers(); + ShadowMunger[] array = (ShadowMunger[]) l.toArray(new ShadowMunger[l.size()]); + TestUtil.assertSetEquals(ty + " mungers:", x, array); } protected void interfaceTest(ResolvedType type, ResolvedType[] expectedInterfaces) { |