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

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Mon Feb 9 16:00:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shelly McGowan updated JBAS-6482:
---------------------------------

    Description: 
org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase
- testBeanWithDependencyFromAspect
- testRedeployedBeanWithDependencyFromAspect

org.jbos.test.aop.test.NotWovenScopedDependencyUnitTestCase
- testBeanWithDependencyFromAspect
- testRedeployedBeanWithDependencyFromAspect

org.jboss.test.aop.test.ScopedWovenDependencyTestCase
- 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)


  was:
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)




> 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
> org.jboss.test.aop.test.ScopedWovenDependencyTestCase
> - 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