net.thucydides.core.screenshots
Class ScreenshotAndHtmlSource
java.lang.Object
net.thucydides.core.screenshots.ScreenshotAndHtmlSource
public class ScreenshotAndHtmlSource
- extends Object
A screenshot image and the corresponding HTML source code.
ScreenshotAndHtmlSource
public ScreenshotAndHtmlSource(File screenshot,
File sourcecode)
ScreenshotAndHtmlSource
public ScreenshotAndHtmlSource(File screenshot)
getScreenshotFile
public File getScreenshotFile()
getSourcecode
public com.google.common.base.Optional<File> getSourcecode()
wasTaken
public boolean wasTaken()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
hasIdenticalScreenshotsAs
public boolean hasIdenticalScreenshotsAs(ScreenshotAndHtmlSource anotherScreenshotAndHtmlSource)
getScreenshotFile
public File getScreenshotFile(File screenshotTargetDirectory)
hasNoScreenshot
public boolean hasNoScreenshot()
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.