starting to work on type resolution
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@344 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -66,6 +66,12 @@ public class TypeSetTest extends TestCase {
|
||||
TypeSet t = new TypeSet();
|
||||
assertEquals(void.class, t.findClass("void"));
|
||||
}
|
||||
|
||||
public void testFindFullyQualified() throws Throwable {
|
||||
TypeSet t = new TypeSet();
|
||||
assertEquals(String.class, t.findClass("java.lang.String"));
|
||||
assertEquals(Set.class, t.findClass("java.util.Set"));
|
||||
}
|
||||
// inner class tests
|
||||
public void testPrimitiveTypeResolver() throws Throwable {
|
||||
TypeSet.Resolver r = new TypeSet.PrimitiveTypeResolver();
|
||||
|
Reference in New Issue
Block a user