[jboss-cvs] JBossAS SVN: r95613 - 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
Tue Oct 27 11:23:11 EDT 2009
Author: alesj
Date: 2009-10-27 11:23:11 -0400 (Tue, 27 Oct 2009)
New Revision: 95613
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTestCase.java
Log:
Assert on null return type.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTestCase.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTestCase.java 2009-10-27 15:19:01 UTC (rev 95612)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTestCase.java 2009-10-27 15:23:11 UTC (rev 95613)
@@ -134,6 +134,7 @@
TypeInfo ti = typeInfoFactory.getTypeInfo(AnyServlet.class.getName(), cl);
ClassInfo ci = assertInstanceOf(ti, ClassInfo.class);
MethodInfo mi = ci.getDeclaredMethod("getBean");
+ assertNotNull("No such 'getBean' method on " + ci, mi);
TypeInfo rt = mi.getReturnType();
TypeInfo cti = typeInfoFactory.getTypeInfo(PlainJavaBean.class.getName(), getClassLoader(unit));
assertSame(rt, cti);
More information about the jboss-cvs-commits
mailing list