[jboss-jira] [JBoss JIRA] Resolved: (JBMICROCONT-251) ClassAnnotationTestCase is failing with AOP configuration
Ales Justin (JIRA)
jira-events at lists.jboss.org
Tue Mar 4 12:49:07 EST 2008
[ http://jira.jboss.com/jira/browse/JBMICROCONT-251?page=all ]
Ales Justin resolved JBMICROCONT-251.
-------------------------------------
Resolution: Done
Rewrote how the tests gets context's MetaData, removing the static usage in the TestClassAnnotation's constructor.
> 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