List Info

Thread: Resolved: (JBAS-5374) Add additional assertions in Delete Unit test in tes




Resolved: (JBAS-5374) Add additional assertions in Delete Unit test in tes
country flaguser name
United States
2008-05-09 10:33:21
     [ 
http://jira.jboss.com/jira/browse/JBAS-5374?page=all ]

Mark Spritzler resolved JBAS-5374.
----------------------------------

    Resolution: Done

> Add additional assertions in Delete Unit test in
testsuite to check if ManagedComponent still exists after a
delete.
>
------------------------------------------------------------
--------------------------------------------------------
>
>                 Key: JBAS-5374
>                 URL: http://ji
ra.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.atl
assian.com/software/jira

        
_______________________________________________
jboss-jira mailing list
jboss-jiralists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )