net.thucydides.core.screenshots
Class ScreenshotAndHtmlSource

Package class diagram package ScreenshotAndHtmlSource
java.lang.Object
  extended by net.thucydides.core.screenshots.ScreenshotAndHtmlSource

public class ScreenshotAndHtmlSource
extends Object

A screenshot image and the corresponding HTML source code.


Constructor Summary
ScreenshotAndHtmlSource(File screenshot)
           
ScreenshotAndHtmlSource(File screenshot, File sourcecode)
           
 
Method Summary
 boolean equals(Object o)
           
 File getScreenshotFile()
           
 File getScreenshotFile(File screenshotTargetDirectory)
           
 com.google.common.base.Optional<File> getSourcecode()
           
 int hashCode()
           
 boolean hasIdenticalScreenshotsAs(ScreenshotAndHtmlSource anotherScreenshotAndHtmlSource)
           
 boolean hasNoScreenshot()
           
 boolean wasTaken()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenshotAndHtmlSource

public ScreenshotAndHtmlSource(File screenshot,
                               File sourcecode)

ScreenshotAndHtmlSource

public ScreenshotAndHtmlSource(File screenshot)
Method Detail

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.