Uses of Class
org.carrot2.labs.test.BufferedImageAssertion
Packages that use BufferedImageAssertion
-
Uses of BufferedImageAssertion in org.carrot2.labs.test
Methods in org.carrot2.labs.test that return BufferedImageAssertionModifier and TypeMethodDescriptionAs.static BufferedImageAssertionAssertions.assertThat(BufferedImage actual) Creates aBufferedImageAssertion.BufferedImageAssertion.doesNotHaveAlpha()Asserts that the image has or doesn't have any transparent areas.BufferedImageAssertion.hasBitAlpha()Asserts that the image has bit (0/1) alpha areas.BufferedImageAssertion.hasNumberOfColorsEqualTo(int colors) Asserts that the image has the specified number of colors, fully transparent pixels are not counted.Checks for size.BufferedImageAssertion.hasTrueAlpha()Asserts that the image has true (0..1) alpha areas.BufferedImageAssertion.isDirectColor()Asserts that the image is a direct color image.BufferedImageAssertion.isEqualTo(BufferedImage expected) Checks if is equal to.BufferedImageAssertion.isIndexedColor()Asserts that the image is an indexed color image.BufferedImageAssertion.isNotEqualTo(BufferedImage expected) Checks if is not equal to.