[jboss-jira] [JBoss JIRA] (WFLY-3504) Add unit tests for Default*DescriptionProvider

Brian Stansberry (JIRA) issues at jboss.org
Mon Jun 16 16:27:24 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976746#comment-12976746 ] 

Brian Stansberry commented on WFLY-3504:
----------------------------------------

These tests can cover lots of things of course, but one thing that needs testing if it isn't done elsewhere is coverage of use cases from AS7-2930, where wildcard address registrations are being overridden by specific addresses. The discussion of https://github.com/wildfly/wildfly/pull/6326 gets into how some tests in that area were removed, so look there to get a better idea of the general topic I'm talking about. But those tests that were removed were pretty useless; they weren't testing that the actual description a user would get was helpful.

It's possible the testing that's needed for this belongs in tests of read-resource-description, read-operation-description.

> Add unit tests for Default*DescriptionProvider
> ----------------------------------------------
>
>                 Key: WFLY-3504
>                 URL: https://issues.jboss.org/browse/WFLY-3504
>             Project: WildFly
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>            Reporter: Tomaz Cerar
>            Assignee: Brian Stansberry
>
> We need proper tests for at least
> - DefaultResourceAddDescriptionProvider
> - DefaultResourceDescriptionProvider
> - DefaultOperationDescriptionProvider
> as they are now tested as part of subsystem tests but they themselfs don't have any proper tests.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list