jMock

CardinalityClause does not include new oneOf method

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.5.0, 2.5.1
  • Fix Version/s: 2.6.0
  • Component/s: JMock 2.x.x Library
  • Labels:
    None
  • Number of attachments :
    0

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.

Activity

Hide
Nat Pryce added a comment -

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

Show
Nat Pryce added a comment - Good point! The one method is not deprecated yet, but will be in a future release.
Hide
Nat Pryce added a comment -

Moved documentation issues into their own Jira issue

Show
Nat Pryce added a comment - Moved documentation issues into their own Jira issue
Hide
Nat Pryce added a comment -

Fix committed to SVN.

Show
Nat Pryce added a comment - Fix committed to SVN.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: