Details

    • Sub-task
    • Resolution: Done
    • Major
    • JBossAS-5.0.1.GA
    • None
    • AOP
    • None

    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)

      Attachments

        Issue Links

          Activity

            People

              kkhan1@redhat.com Kabir Khan
              smcgowan@redhat.com Shelly McGowan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: