jMock

Add a returnEnumeration action that acts similarly to returnIterator

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.3.0
  • Fix Version/s: 2.5.0
  • Component/s: JMock 2.x.x Library
  • Labels:
    None
  • Number of attachments :
    0

Description

There is no easy way to return an Enumeration over a sequence of values like returnIterator returns an interator. Enumerations are still used in a few APIs, so a returnEnumeration action would be useful for many people.

Activity

Hide
Nat Pryce added a comment -

Implementation checked in to SVN

Show
Nat Pryce added a comment - Implementation checked in to SVN

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: