[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: aop-mc-int tests failing on annotation parsing

alesj do-not-reply at jboss.com
Tue Mar 4 09:01:48 EST 2008


"alesj" wrote : 
  | "adrian at jboss.org" wrote : 
  |   | It's strange that these are all annotation tests?????
  |   | 
  | Yup, looks like my fault. :-)
And this one - ClassAnnotationTestCase - is all yours. :-)

You are peeking MetaData in the TestClassAnnotation constructor.
And in the test you expect this MetaData not to be null - assertPeekedMetaData.
But the AOPConstructorJoinpoint masks the MetaData just before it creates the instance.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133905#4133905

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133905



More information about the jboss-dev-forums mailing list