Uses of Class
org.fest.assertions.ImageAssert
-
Uses of ImageAssert in org.fest.assertions
Methods in org.fest.assertions that return ImageAssertModifier and TypeMethodDescriptionSets the description of the actual value, to be used in as message of anythrown when an assertion fails.AssertionErrorImageAssert.as(Description description) Sets the description of the actual value, to be used in as message of anythrown when an assertion fails.AssertionErrorstatic ImageAssertAssertions.assertThat(BufferedImage actual) Creates a new instance of.ImageAssertImageAssert.describedAs(String description) Alias for, since "as" is a keyword in Groovy.GenericAssert.as(String)ImageAssert.describedAs(Description description) Alias for, since "as" is a keyword in Groovy.GenericAssert.as(Description)ImageAssert.doesNotSatisfy(Condition<BufferedImage> condition) Verifies that the actual image does not satisfy the given condition.Verifies that the size of the actual image is equal to the given one.ImageAssert.is(Condition<BufferedImage> condition) Alias for.satisfies(Condition)ImageAssert.isEqualTo(BufferedImage expected) Verifies that the actual image is equal to the given one.ImageAssert.isEqualTo(BufferedImage expected, Threshold threshold) Verifies that the actual image is equal to the given one.ImageAssert.isNot(Condition<BufferedImage> condition) Alias for.doesNotSatisfy(Condition)ImageAssert.isNotEqualTo(BufferedImage image) Verifies that the actual image is not equal to the given one.ImageAssert.isNotNull()Verifies that the actual image is notnull.ImageAssert.isNotSameAs(BufferedImage expected) Verifies that the actual image is not the same as the given one.ImageAssert.isSameAs(BufferedImage expected) Verifies that the actual image is the same as the given one.ImageAssert.overridingErrorMessage(String message) Replaces the default message displayed in case of a failure with the given one.ImageAssert.satisfies(Condition<BufferedImage> condition) Verifies that the actual image satisfies the given condition.