|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ShortAssert in org.fest.assertions |
---|
Methods in org.fest.assertions that return ShortAssert | |
---|---|
ShortAssert |
ShortAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
ShortAssert |
ShortAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static ShortAssert |
Assertions.assertThat(short actual)
Creates a new instance of . |
static ShortAssert |
Assertions.assertThat(Short actual)
Creates a new instance of . |
ShortAssert |
ShortAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
ShortAssert |
ShortAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
ShortAssert |
ShortAssert.isEqualTo(short expected)
Verifies that the actual short value is equal to the given one. |
ShortAssert |
ShortAssert.isGreaterThan(short other)
Verifies that the actual short value is greater than the given one. |
ShortAssert |
ShortAssert.isGreaterThanOrEqualTo(short other)
Verifies that the actual short value is greater or equal to the given one. |
ShortAssert |
ShortAssert.isLessThan(short other)
Verifies that the actual short value is less than the given one. |
ShortAssert |
ShortAssert.isLessThanOrEqualTo(short other)
Verifies that the actual short value is less or equal to the given one. |
ShortAssert |
ShortAssert.isNegative()
Verifies that the actual short value is negative. |
ShortAssert |
ShortAssert.isNotEqualTo(short other)
Verifies that the actual short value is not equal to the given one. |
ShortAssert |
ShortAssert.isPositive()
Verifies that the actual short value is positive. |
ShortAssert |
ShortAssert.isZero()
Verifies that the actual short value is equal to zero. |
ShortAssert |
ShortAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |