Package com.vaadin.testbench.screenshot
Class ReferenceImageRepresentation
- java.lang.Object
-
- com.vaadin.testbench.screenshot.ReferenceImageRepresentation
-
- All Implemented Interfaces:
Serializable
public class ReferenceImageRepresentation extends Object implements Serializable
ReferenceImageRepresentation contains a block representation of a reference image. This is used for comparing the image to a screen shot and detecting changes in the appearance.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classReferenceImageRepresentation.HashRepresentation
-
Constructor Summary
Constructors Constructor Description ReferenceImageRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRepresentation(ReferenceImageRepresentation.HashRepresentation rep)voidaddRepresentation(String hash)Iterable<ReferenceImageRepresentation.HashRepresentation>getRepresentations()
-
-
-
Method Detail
-
addRepresentation
public void addRepresentation(String hash)
-
addRepresentation
public void addRepresentation(ReferenceImageRepresentation.HashRepresentation rep)
-
getRepresentations
public Iterable<ReferenceImageRepresentation.HashRepresentation> getRepresentations()
-
-