diff options
author | aclement <aclement> | 2008-06-17 18:21:29 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-17 18:21:29 +0000 |
commit | 0f01399c3fd0a593eebe6ce12fbb22f238e25d52 (patch) | |
tree | df26b4b34e5446343ed1b634caf1460ced15b829 /weaver/testsrc | |
parent | 5e1f1922691c9932dd32e693379dddd1cb79c1c9 (diff) | |
download | aspectj-0f01399c3fd0a593eebe6ce12fbb22f238e25d52.tar.gz aspectj-0f01399c3fd0a593eebe6ce12fbb22f238e25d52.zip |
trying to get 237447 to happen
Diffstat (limited to 'weaver/testsrc')
-rw-r--r-- | weaver/testsrc/org/aspectj/weaver/ReferenceTypeTestCase.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/ReferenceTypeTestCase.java b/weaver/testsrc/org/aspectj/weaver/ReferenceTypeTestCase.java index 0d84c135a..7f0ad6981 100644 --- a/weaver/testsrc/org/aspectj/weaver/ReferenceTypeTestCase.java +++ b/weaver/testsrc/org/aspectj/weaver/ReferenceTypeTestCase.java @@ -19,6 +19,16 @@ import junit.framework.TestCase; // XXX - couldn't find any unit test cases for the rest of the ReferenceType class public class ReferenceTypeTestCase extends TestCase { + public void testUnresolvedTypeSignatureProcessing() { + BcelWorld world = new BcelWorld(); + world.setBehaveInJava5Way(true); + UnresolvedType ut = null; + ut = UnresolvedType.forName("java.util.List<java.util.List<java.lang.String>>[]").resolve(world); + ut = UnresolvedType.forSignature("[Pjava/util/List<Pjava/util/List<Ljava/lang/String;>;>;").resolve(world); + assertEquals("Signatures not equal ","[Pjava/util/List<Pjava/util/List<Ljava/lang/String;>;>;",ut.getSignature()); + assertEquals("Names not equal ","java.util.List<java.util.List<java.lang.String>>[]",ut.getName()); + } + public void testIsRawTrue() { BcelWorld world = new BcelWorld(); world.setBehaveInJava5Way(true); |