Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5246 Open console support
  3. JBAS-5374

Add additional assertions in Delete Unit test in testsuite to check if ManagedComponent still exists after a delete.

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Change the Delete tests to

      public void testRemoveQueue()
      throws Exception

      { removeDeployment("testCreateQueue-service.xml"); ComponentType type = KnownComponentTypes.JMSDestination.Queue.getType(); ManagedComponent queue = getManagementView().getComponent("testCreateQueue", type); assertNull(queue); }

      public void testRemoveTopic()
      throws Exception

      { removeDeployment("testCreateTopic-service.xml"); ComponentType type = KnownComponentTypes.JMSDestination.Topic.getType(); ManagedComponent topic = getManagementView().getComponent("testCreateTopic", type); assertNull(topic); }

              bytor99999_jira Mark Spritzler (Inactive)
              bytor99999_jira Mark Spritzler (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: