[jboss-cvs] JBossAS SVN: r94927 - projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 15 03:24:24 EDT 2009
Author: alesj
Date: 2009-10-15 03:24:23 -0400 (Thu, 15 Oct 2009)
New Revision: 94927
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java
Log:
Use new getCL method on TypeInfo.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java 2009-10-15 07:22:38 UTC (rev 94926)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java 2009-10-15 07:24:23 UTC (rev 94927)
@@ -79,7 +79,6 @@
excluded.remove(BeanMetaDataFactoryVisitor.class);
}
- @SuppressWarnings("deprecation")
protected void assertClassPool(VirtualFile file, Class<?> ... classes) throws Exception
{
DeploymentUnit unit = assertDeploy(file);
@@ -93,7 +92,7 @@
assertLoadClass(className, classLoader);
TypeInfo typeInfo = typeInfoFactory.getTypeInfo(className, classLoader);
assertEquals(className, typeInfo.getName());
- assertEquals(classLoader, typeInfo.getType().getClassLoader());
+ assertEquals(classLoader, typeInfo.getClassLoader());
}
}
finally
More information about the jboss-cvs-commits
mailing list