[jboss-jira] [JBoss JIRA] Commented: (JBMICROCONT-251) ClassAnnotationTestCase is failing with AOP configuration
Ales Justin (JIRA)
jira-events at lists.jboss.org
Tue Mar 4 12:53:57 EST 2008
[ http://jira.jboss.com/jira/browse/JBMICROCONT-251?page=comments#action_12401308 ]
Ales Justin commented on JBMICROCONT-251:
-----------------------------------------
The use case of this test is to show that the MetaData holds annotation information regardless where it came from (xml, @annotation, metadata, ..), also not depending on the JoinpointFactory instance.
So changing the way how we get the MetaData doesn't effect the value of the test.
> ClassAnnotationTestCase is failing with AOP configuration
> ---------------------------------------------------------
>
> Key: JBMICROCONT-251
> URL: http://jira.jboss.com/jira/browse/JBMICROCONT-251
> Project: JBoss MicroContainer
> Issue Type: Bug
> Components: MetaData
> Affects Versions: JBossMC-2.0.0.Beta10
> Reporter: Ales Justin
> Assigned To: Ales Justin
> Fix For: JBossMC-2.0.0.CR1
>
>
> ClassAnnotationTestCase expects non-null MetaData to be present in order to test it for annotations.
> With the aop-mc-int present, the AOPConstructorJoinpoint is used, which masks the MetaData, hence making in unaccessible in the TestClassAnnotation's constructor. But the tests expects the peeked MetaData to be non-null, resulting in failure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list