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:
Tom Copeland
2002-07-13 01:23:47 +00:00
parent 6ef6e1c524
commit 82e88de5ac

View File

@ -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();