« Return to Thread: [jira] Created: (JMOCK-203) CardinalityClause does not include new oneOf method

[jira] Commented: (JMOCK-203) CardinalityClause does not include new oneOf method

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/JMOCK-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148011#action_148011 ]

Nat Pryce commented on JMOCK-203:
---------------------------------

Good point!  The one method is not deprecated yet, but will be in a future release.



> CardinalityClause does not include new oneOf method
> ---------------------------------------------------
>
>                 Key: JMOCK-203
>                 URL: http://jira.codehaus.org/browse/JMOCK-203
>             Project: jMock
>          Issue Type: Bug
>          Components: Documentation, Library
>    Affects Versions: 2.5.0, 2.5.1
>            Reporter: Justin Wesley
>            Priority: Minor
>
> The CardinalityClause interface should have the 'oneOf' method since the 'one' method is expected to be deprecated according to the documentation in Expectations. These methods should also be annotated as deprecated.
> The documentation should also be changed to reflect this change in API. I noticed 'one' is referenced in the sections 'Getting Started', 'Cookbook', and 'Cheat Sheet'.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [jira] Created: (JMOCK-203) CardinalityClause does not include new oneOf method