Package net.qdevzone.docunit.image
Class ImageAssertions
- All Implemented Interfaces:
Assert<ImageAssertions>
-
Field Summary
Fields inherited from class net.qdevzone.docunit.AbstractDocAssert
info, myself -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]actual()Returns actual (the data currently under test).hasAverageRgbDeltaLessThan(byte[] otherImageData, double maxDelta) hasCaption(String expected) hasImageSize(int width, int height) hasKeyword(String expected) isGif()isJpeg()isPng()isValid()mimeType()Methods inherited from class net.qdevzone.docunit.AbstractDocAssert
createInputStream, describedAs, describedAs, describedAs, failure, failureWithCause, isElementOfCustomAssert, isEmpty, isEqualTo, isIn, isNotEmpty, isNotEqualTo, isNotIn, isSize, isSizeBetween
-
Constructor Details
-
ImageAssertions
-
-
Method Details
-
mimeType
-
isValid
-
isNotValid
-
isPng
-
isJpeg
-
isGif
-
hasImageSize
-
hasKeyword
-
hasCaption
-
hasAverageRgbDeltaLessThan
-
actual
public byte[] actual()Description copied from interface:AssertReturns actual (the data currently under test).
-