Hamcrest v1.2 Release Notes
Release Date: 2009-05-16 // almost 15 years ago-
- โ Added mismatch reporting
- โ Added WithSamePropertyValuesAs matcher
- ๐ Moved any() from IsAnything to IsInstanceOf. It now checks the type of the matched object
- ๐ Moved MatcherAssert from integration to core
- Tightened up generics.
- โ Added IsMapContainingKey and IsMapContainingValue matchers to resolve a generics bug in hasKey and hasValue static factories previously declared in IsMapContaining (ngd)
- โ Added IsCollectionOnlyContaining and IsArrayOnlyContaining which matches collections (and arrays) where all match a given matcher. E.g onlyContains(3,4,5) or onlyContains(lessThan(9))
- ๐ text module moved to separate project, hamcrest-text-patterns
- โ added more colection matchers: xContainingInAnyOrder, xContainingInOrder, xWithSize
- ๐ new text Matcher: IsEmptyString
- hamcrest generator uses method return type