[jboss-jira] [JBoss JIRA] Assigned: (JBAS-5374) Add additional assertions in Delete Unit test in testsuite to check if ManagedComponent still exists after a delete.

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Sat Apr 5 05:02:32 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5374?page=all ]

Dimitris Andreadis reassigned JBAS-5374:
----------------------------------------

    Assignee: Mark Spritzler

Assigning issues to you should work now...

> Add additional assertions in Delete Unit test in testsuite to check if ManagedComponent still exists after a delete.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-5374
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5374
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Mark Spritzler
>         Assigned To: Mark Spritzler
>
> 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);
>    }

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

        



More information about the jboss-jira mailing list