encloses 3 Path objects; the expected image, the actual image, and the diff image. resolves 3 file paths using the outputDirectory param and the identifier param, and writes images into 3 files For example, - <outputDir>/samplePage.exected.png - <outputDir>/samplePage.actual.png - <outputDir>/samplePage.diff(0.57).png
| Type | Name and description |
|---|---|
static org.slf4j.Logger |
logger_ |
| Constructor and description |
|---|
ImageDifferenceSerializer
(ImageDifference imgDifference, java.nio.file.Path outputDirectory, java.lang.String identifier) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.nio.file.Path |
getActual() |
|
java.nio.file.Path |
getDiff() |
|
java.nio.file.Path |
getExpected() |
|
void |
serialize() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation