| Type |
Changes |
By |
 |
Exceptions thrown by methods 'satisfies' and 'doesNotSatisfy' include the name of Condition class if the
Condition's description is not specified. |
alruiz |
 |
Added method 'doesNotSatisfy' to all assertions. Fixes 46. Thanks to Mark Derricutt. |
wanghy, alruiz |
 |
Patch: Added support for BigDecimal. Fixes 107. Thanks to Ted Young, David DIDIER. |
wanghy, alruiz |
 |
Added method 'isEmptyOrNull' to BooleanArrayAssert, ByteAssertArray, CharArrayAssert, CollectionAssert,
DoubleArrayAssert, FloatArrayAssert, IntArrayAssert, LongArrayAssert, MapAssert, ShortArrayAssert and
StringAssert. |
alruiz, wanghy |
 |
Added fest-mocks-0.1 and fest-test-0.1 as a 'test' scoped dependencies. |
alruiz, wanghy |
 |
Added method 'message' to ThrowableAssert. This method returns a StringAssert. |
alruiz |
 |
Added method 'hasMessage(String)' to ThrowableAssert. |
alruiz |
 |
Added method 'size' to FileAssert. This method returns a LongAssert. |
alruiz |
 |
Fixed bug in FileContentComparator where EOF (end of file) was determined at the wrong time. |
alruiz, wanghy |
 |
Replaced methods 'hasCauseAsAncestor' and 'hasExactCauseAsAncestor' in ThrowableAssert with the methods
'hasCauseOfType' and 'hasCauseOfExactType' in CauseHierarchyAssert. To get a CauseHierarchyAssert, users need to
call the method 'causeHierarchy' in ThrowableAssert. |
alruiz |
 |
Replaced method 'hasCauseOfType' in ThrowableAssert with method 'cause', which returns another ThrowableAssert
for the cause of the actual Throwable. Users can call 'isInstanceOf' in the returned ThrowableAssert. |
alruiz |
 |
Method 'isInstanceOf' in ObjectAssert and ThrowableAssert throws IllegalArgumentException if the given Class is
null. |
wanghy |
 |
Method 'isInstanceOfAny' in ObjectAssert throws IllegalArgumentException if the given Class array is null or if
any element in the given Class array is null. |
wanghy |
 |
Fixed typos in Javadocs for class PrimitiveFail. Thanks to Ted Young. |
alruiz |
 |
Removed dependency on Apache Velocity. |
alruiz |
 |
Removed code generators for assertions for primitive arrays and failure methods for primitives. |
alruiz |
 |
Added missing declaration of exceptions in Javadocs. |
alruiz, wanghy |
 |
Eliminated inconsistencies and typos in exception messages. |
alruiz, wanghy |
| Type |
Changes |
By |
 |
Error messages in ObjectArrayAssert and all the assertion objects dealing with array of primitives where
including the description of the assertion object twice. |
alruiz |
 |
Error messages in ObjectArrayAssert were using quotes around array of Strings. |
alruiz |
| Type |
Changes |
By |
 |
Updated dependency 'fest-util' to version 0.3. |
wanghy |
 |
Improved Javadoc documentation of the methods 'as' and 'describedAs' in all assertion classes. Fixes 103. Thanks to Ted Young. |
wanghy |
 |
Added method 'assertThat(Iterator)' to Assertions. This method returns a CollectionAssert. Fixes 101. Thanks to Ted Young. |
wanghy |
 |
Added methods 'hasAllElementsOfType' and 'hasAtLeastOneElementOfType' to ObjectArrayAssert. Fixes 100. Thanks to Ted Young. |
alruiz, wanghy |
 |
Added check 'isNotNull' to all the methods in all assertion objects that deal with not-null actual values. |
wanghy |
 |
Changed access of protected methods to package-protected. |
wanghy |
 |
Patch: added methods 'isEqualTo' and 'isNotEqualTo' to BooleanAssert. Fixes 96. Thanks to David DIDIER. |
wanghy |
 |
Patch: added methods 'matches' and 'doesNotMatch' to StringAssert. Fixes 94. Thanks to David DIDIER. |
wanghy |
 |
Patch: added methods 'isRelative' and 'isAbsolute' to FileAssert. Fixes 93. Thanks to David DIDIER. |
wanghy |
 |
Added method 'assertThat(Map)' to Assertions. This method returns a MapAssert. Fixes 90. Thanks to David DIDIER. |
wanghy |
 |
Patch: added class MapAssert. Fixes 90. Thanks to David DIDIER. |
wanghy |
 |
Patch: added methods 'greaterOrEqualTo' and 'lessOrEqualTo' to
ByteAssert, CharAssert, DoubleAssert, FloatAssert, IntAssert, LongAssert and ShortAssert. Fixes 87. Thanks to David DIDER. |
wanghy, alruiz |
 |
Patch: added methods 'startsWith' and 'endsWith' to StringAssert. Fixes 86. Thanks to David DIDIER. |
wanghy |
 |
Patch: added class method 'isInstanceOf' to ThrowableAssert. Fixes 84. Thanks to David DIDIER. |
wanghy |
 |
Patch: added class method 'hasSameContentAs' to FileAssert. Fixes 84. Thanks to David DIDIER. |
wanghy |
 |
Added method 'size()' to GroupAssert. This method returns an IntAssert. Fixes 35. Thanks to Martin Ankerl. |
wanghy, alruiz |
| Type |
Changes |
By |
 |
Added method 'excludes' to StringAssert. Fixes 78. Thanks to David DIDIER. |
wanghy |
 |
Patch: added class FileAssert. Fixes 79. Thanks to David DIDIER. |
wanghy |
 |
Patch: added class ThrowableAssert. Fixes 77. Thanks to David DIDIER. |
alruiz |
 |
Expected and actual values were in wrong order when creating a ComparisonFailure. Fixes 72. Thanks to Wim Deblauwe. |
wanghy, alruiz |
 |
Added a generified overload of 'assertThat' to class Assertions. Fixes 47. Thanks to Mark Derricutt. |
wanghy, alruiz |
| Type |
Changes |
By |
 |
Added a delta value for floating point equality in 'DoubleAssert' and 'FloatAssert'. Fixes 38. Thanks to Martin Ankerl. |
wanghy |
 |
Created Maven-generated site to replace Google Code's wiki pages. |
alruiz |
 |
Fixed incorrect test for floating point equality in 'DoubleArrayAssert' and 'FloatArrayAssert'. Fixes 54. |
alruiz |
 |
Added method 'containsOnly' to all assertion objects that handle arrays or collections. This
method verifies that the actual array or collection contains all the given values and only the given values. |
wanghy |
| Type |
Changes |
By |
 |
Support for JUnit's ComparisonFailure. Fixes 31. Thanks to Konstantin Scheglov. |
wanghy |
 |
Added method 'contains' to all assertion objects that handle arrays or collections. This
method verifies that the actual array or collection contains the given values. Fixes 37. Thanks to Martin Ankerl. |
wanghy |
 |
Added method 'excludes' to all assertion objects that handle arrays or collections. This
method is the opposite of 'contains'. |
wanghy |
 |
All assertion objects override 'equals(Object)', which now throws
'UnsupportedOperationException' to prevent accidental calls. Fixes 39. Thanks to Martin Ankerl. |
alruiz |
| Type |
Changes |
By |
 |
Introduced method 'describedAs' as a counterpart to 'as'. This issue prevented to use the method 'as' in Groovy
('as' is a keyword in Groovy). Fixes 30. Thanks to Marcos Silva Pereira. |
wanghy |
 |
Fixed minor bug in assertion classes for arrays (Object and primitives) where the actual and expected values
where in the wrong order in the failure message of 'isEqualTo'. |
wanghy |
| Type |
Changes |
By |
 |
Introduced method 'as' to describe the actual value in the assertion. |
wanghy |
 |
Added support for extensibility using Conditions. Fixes 29. |
alruiz |