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