[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Testing Deployers with new Reflect + ClassPool
flavia.rainone@jboss.com
do-not-reply at jboss.com
Thu Oct 15 10:08:35 EDT 2009
"alesj" wrote : All the simple deployment tests pass,
| it was the more hierarchy complex (if you can call .ear complex) that immediately failed for me.
That's strange... I did a clean checkout of jboss deployers after committing and the test passed for me.
"alesj" wrote : This now looks like something simply snatches CL under the ClassPool:
|
| | junit.framework.AssertionFailedError: expected:<BaseClassLoader at bafdff{vfs://top-level.ear/}> but was:<null>
| |
|
| Also, the assertClassPool method doesn't look valid for all classes.
| e.g. top deployment unit's classloader cannot see war's classes --> AnyServlet.class in testBasicEar
|
I'll take a look.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260548#4260548
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260548
More information about the jboss-dev-forums
mailing list