FEST

Add ListAssert (issue 113)

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: FEST-Assert 1.1
  • Fix Version/s: FEST-Assert 1.1
  • Component/s: Assert
  • Labels:
    None
  • Number of attachments :
    1

Description

From Konstantin Scheglov:

I need to check not just generic java.util.Collection, but java.util.List, and this List should have only specified elements and in particular order. Nearest (convenient) approximation now is "containtsOnly", but it still worries me that my test does not check as much as it could.

Can you add ListAssert with additional method equals(Object...elements), or something like this?


Original report: Issue 113 (Google Code)

Activity

Hide
Alex Ruiz added a comment -

ListAssert and all requested methods have been implemented, with the exception of 'containsOrder(Object)'. I haven't found a way to implement it. If a patch is submitted, I'll be glad to include it.

Show
Alex Ruiz added a comment - ListAssert and all requested methods have been implemented, with the exception of 'containsOrder(Object)'. I haven't found a way to implement it. If a patch is submitted, I'll be glad to include it.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: