com.atlassian.selenium.visualcomparison.utils
Class ScreenshotDiff
java.lang.Object
com.atlassian.selenium.visualcomparison.utils.ScreenshotDiff
public class ScreenshotDiff
- extends java.lang.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,
java.lang.String id,
ScreenResolution resolution,
java.awt.image.BufferedImage diffImage,
java.util.ArrayList<BoundingBox> boxes,
java.util.List<BoundingBox> ignoreAreas)
getDifferences
public java.util.Collection<PageDifference> getDifferences()
hasDifferences
public boolean hasDifferences()
getImageOutputDir
public static java.lang.String getImageOutputDir(java.lang.String outputDir,
java.lang.String imageSubDir)
relativePath
public static java.lang.String relativePath(java.io.File file,
java.lang.String relativeRoot)
writeDiffReport
public void writeDiffReport(java.lang.String outputDir,
java.lang.String imageSubDir)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2013 Atlassian. All Rights Reserved.