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 anythrown when an assertion fails.AssertionErrorShortAssert.as(Description description) Sets the description of the actual value, to be used in as message of anythrown when an assertion fails.AssertionErrorstatic ShortAssertAssertions.assertThat(short actual) Creates a new instance of.ShortAssertstatic ShortAssertAssertions.assertThat(Short actual) Creates a new instance of.ShortAssertShortAssert.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 actualShortdoes not satisfy the given condition.Alias for.satisfies(Condition)ShortAssert.isEqualTo(short expected) Verifies that the actualShortis equal to the given one.Verifies that the actualShortis equal to the given one.ShortAssert.isGreaterThan(short other) Verifies that the actualShortis greater than the given one.ShortAssert.isGreaterThanOrEqualTo(short other) Verifies that the actualShortis greater or equal to the given one.ShortAssert.isLessThan(short other) Verifies that the actualShortis less than the given one.ShortAssert.isLessThanOrEqualTo(short other) Verifies that the actualShortis less or equal to the given one.ShortAssert.isNegative()Verifies that the actualShortis negative.Alias for.doesNotSatisfy(Condition)ShortAssert.isNotEqualTo(short other) Verifies that the actualShortis not equal to the given one.ShortAssert.isNotEqualTo(Short other) Verifies that the actualShortis not equal to the given one.ShortAssert.isNotNull()Verifies that the actualShortis notnull.ShortAssert.isNotSameAs(Short other) Verifies that the actualShortis not the same object as the given one.ShortAssert.isPositive()Verifies that the actualShortis positive.Verifies that the actualShortis the same object as the given one.ShortAssert.isZero()Verifies that the actualShortis equal to zero.ShortAssert.overridingErrorMessage(String message) Replaces the default message displayed in case of a failure with the given one.Verifies that the actualShortsatisfies the given condition.