@Internal public class ScreenshotDiff extends Object
| Constructor and Description |
|---|
ScreenshotDiff(Screenshot oldScreenshot,
Screenshot newScreenshot,
String id,
ScreenResolution resolution,
BufferedImage diffImage,
ArrayList<BoundingBox> boxes,
List<BoundingBox> ignoreAreas) |
| Modifier and Type | Method and Description |
|---|---|
Collection<PageDifference> |
getDifferences() |
static String |
getImageOutputDir(String outputDir,
String imageSubDir) |
boolean |
hasDifferences() |
static String |
relativePath(File file,
String relativeRoot) |
void |
writeDiffReport(String outputDir,
String imageSubDir) |
public ScreenshotDiff(Screenshot oldScreenshot, Screenshot newScreenshot, String id, ScreenResolution resolution, BufferedImage diffImage, ArrayList<BoundingBox> boxes, List<BoundingBox> ignoreAreas)
public Collection<PageDifference> getDifferences()
public boolean hasDifferences()
Copyright © 2015 Atlassian. All rights reserved.