mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-25 14:24:48 +02:00
trying to get 237447 to happen
This commit is contained in:
parent
5e1f192269
commit
0f01399c3f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user