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

View: New views
5 Messages — Rating Filter:   Alert me  

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

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

Reply to Author | View Threaded | Show Only this Message

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.1, 2.5.0
            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



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

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

Reply to Author | View Threaded | Show Only this Message


    [ 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



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

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce resolved JMOCK-203.
-----------------------------

    Resolution: Fixed

Fix committed to SVN.

> CardinalityClause does not include new oneOf method
> ---------------------------------------------------
>
>                 Key: JMOCK-203
>                 URL: http://jira.codehaus.org/browse/JMOCK-203
>             Project: jMock
>          Issue Type: Bug
>          Components: 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.

--
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



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

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce updated JMOCK-203:
----------------------------

    Description:
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.


  was:
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'.

    Component/s:     (was: Documentation)

Moved documentation issues into their own Jira issue

> CardinalityClause does not include new oneOf method
> ---------------------------------------------------
>
>                 Key: JMOCK-203
>                 URL: http://jira.codehaus.org/browse/JMOCK-203
>             Project: jMock
>          Issue Type: Bug
>          Components: 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.

--
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



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

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce updated JMOCK-203:
----------------------------

    Fix Version/s: 2.6.0

> CardinalityClause does not include new oneOf method
> ---------------------------------------------------
>
>                 Key: JMOCK-203
>                 URL: http://jira.codehaus.org/browse/JMOCK-203
>             Project: jMock
>          Issue Type: Bug
>          Components: Library
>    Affects Versions: 2.5.0, 2.5.1
>            Reporter: Justin Wesley
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> 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.

--
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