public class ImageAssert extends Object
| Constructor and Description |
|---|
ImageAssert() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertEquals(File expectedFile,
RenderedImage actualImage,
int threshold)
Checks the image in the reference file and the actual image are equals from a human
perception p.o.v
|
static void |
assertEquals(File expectedImage,
RenderedImage actualImage,
int threshold,
ImageComparator.Mode mode)
Checks the expected image and the actual image are equals from a human perception p.o.v
|
static void |
assertEquals(RenderedImage expectedImage,
RenderedImage actualImage,
int threshold)
Checks the expected image and the actual image are equals from a human perception p.o.v
|
public static void assertEquals(File expectedFile, RenderedImage actualImage, int threshold) throws IOException
expectedFile - actualImage - threshold - IOExceptionpublic static void assertEquals(RenderedImage expectedImage, RenderedImage actualImage, int threshold)
expectedFile - actualImage - threshold - public static void assertEquals(File expectedImage, RenderedImage actualImage, int threshold, ImageComparator.Mode mode) throws IOException
expectedFile - actualImage - threshold - IOExceptionCopyright © 1996–2019 Geotools. All rights reserved.