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