[jboss-jira] [JBoss JIRA] Commented: (JBAS-6482) org.jboss.test.aop.tests

Kabir Khan (JIRA) jira-events at lists.jboss.org
Sat Feb 7 04:48:51 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12451631#action_12451631 ] 

Kabir Khan commented on JBAS-6482:
----------------------------------

They are due to dependencies not being picked out properly in the aop-mc-int project
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207827#4207827


> org.jboss.test.aop.tests
> ------------------------
>
>                 Key: JBAS-6482
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6482
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: AOP
>            Reporter: Shelly McGowan
>            Assignee: Kabir Khan
>             Fix For: JBossAS-5.0.1.GA
>
>
> org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase
> - testBeanWithDependencyFromAspect
> - testRedeployedBeanWithDependencyFromAspect
> org.jbos.test.aop.test.NotWovenScopedDependencyUnitTestCase
> - testBeanWithDependencyFromAspect
> - testRedeployedBeanWithDependencyFromAspect
> These test all fail when calling the doTestDeployDependencies() method. 
> The jar,  aop-mc-jmxtest-has-dependency.jar is deployed and then the following assertion fails:
>          MBeanServerConnection server = getServer();
>          ObjectName testerName = new ObjectName("jboss.aop:name=BeanWithDependency");
>          try
>          {
>             server.getMBeanInfo(testerName);
>             fail(testerName + " should not have been found");  <===========
>          }
>          catch (InstanceNotFoundException expected)
>          {
>          }
> junit.framework.AssertionFailedError: jboss.aop:name=BeanWithDependency should not have been found
>         at org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase.doTestDeployDependencies(MicrocontainerJMXUnitTestCase.java:107)
>         at org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase.testBeanWithDependencyFromAspect(MicrocontainerJMXUnitTestCase.java:80)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list