public interface CanCompareScreenshots
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareScreen(BufferedImage reference,
String referenceName)
Tests that a screen shot is equal to the specified reference image.
|
boolean |
compareScreen(File reference)
Tests that a screen shot is equal to the specified reference image.
|
boolean |
compareScreen(String referenceId)
Tests that a screen shot is equal to the specified reference image.
|
boolean compareScreen(String referenceId) throws IOException
referenceId - the ID of the reference imageIOException - if there was a problem accessing the reference imageboolean compareScreen(File reference) throws IOException
reference - the reference image fileIOException - if there was a problem accessing the reference imageboolean compareScreen(BufferedImage reference, String referenceName) throws IOException
reference - the reference imagereferenceName - the filename of the reference image. Used when writing the
error files.IOException - if there was a problem accessing the reference imageCopyright © 2012-2025 Vaadin Ltd. All Rights Reserved.