com.atlassian.selenium.visualcomparison.utils
Class ScreenshotDiff
java.lang.Object
com.atlassian.selenium.visualcomparison.utils.ScreenshotDiff
public class ScreenshotDiff
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScreenshotDiff
public ScreenshotDiff(Screenshot oldScreenshot,
Screenshot newScreenshot,
String id,
ScreenResolution resolution,
BufferedImage diffImage,
ArrayList<BoundingBox> boxes,
List<BoundingBox> ignoreAreas)
getDifferences
public Collection<PageDifference> getDifferences()
hasDifferences
public boolean hasDifferences()
getImageOutputDir
public static String getImageOutputDir(String outputDir,
String imageSubDir)
relativePath
public static String relativePath(File file,
String relativeRoot)
writeDiffReport
public void writeDiffReport(String outputDir,
String imageSubDir)
throws Exception
- Throws:
Exception
Copyright © 2014 Atlassian. All rights reserved.