| Field |
Original Value |
New Value |
|
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 reports at [Issue 113 (Google Code)|http://code.google.com/p/fest/issues/detail?id=113] & [FEST-51 (Project Kenai)|http://kenai.com/jira/browse/FEST-51].
|
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)|http://code.google.com/p/fest/issues/detail?id=113]
|
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.