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

Details

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

    Description

      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); }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: