Uses of Class
org.fest.assertions.ShortAssert
-
Uses of ShortAssert in org.fest.assertions
Methods in org.fest.assertions that return ShortAssertModifier and TypeMethodDescriptionSets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ShortAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
static ShortAssert
Assertions.assertThat
(short actual) Creates a new instance of
.ShortAssert
static ShortAssert
Assertions.assertThat
(Short actual) Creates a new instance of
.ShortAssert
ShortAssert.describedAs
(String description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(String)
ShortAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ShortAssert.doesNotSatisfy
(Condition<Short> condition) Verifies that the actualShort
does not satisfy the given condition.Alias for
.satisfies(Condition)
ShortAssert.isEqualTo
(short expected) Verifies that the actualShort
is equal to the given one.Verifies that the actualShort
is equal to the given one.ShortAssert.isGreaterThan
(short other) Verifies that the actualShort
is greater than the given one.ShortAssert.isGreaterThanOrEqualTo
(short other) Verifies that the actualShort
is greater or equal to the given one.ShortAssert.isLessThan
(short other) Verifies that the actualShort
is less than the given one.ShortAssert.isLessThanOrEqualTo
(short other) Verifies that the actualShort
is less or equal to the given one.ShortAssert.isNegative()
Verifies that the actualShort
is negative.Alias for
.doesNotSatisfy(Condition)
ShortAssert.isNotEqualTo
(short other) Verifies that the actualShort
is not equal to the given one.ShortAssert.isNotEqualTo
(Short other) Verifies that the actualShort
is not equal to the given one.ShortAssert.isNotNull()
Verifies that the actualShort
is notnull
.ShortAssert.isNotSameAs
(Short other) Verifies that the actualShort
is not the same object as the given one.ShortAssert.isPositive()
Verifies that the actualShort
is positive.Verifies that the actualShort
is the same object as the given one.ShortAssert.isZero()
Verifies that the actualShort
is equal to zero.ShortAssert.overridingErrorMessage
(String message) Replaces the default message displayed in case of a failure with the given one.Verifies that the actualShort
satisfies the given condition.