@ExperimentalApi
public interface Comparer
configurable at the instance level, as well as per
single comparison. The settings passed on for comparison should merge
into, or override the comparer settings where appropriate.| Modifier and Type | Method and Description |
|---|---|
void |
compare(String id)
Take a snapshot of the current page and compare it with a baseline using given
id. |
void |
compare(String id,
ComparisonSettings settings)
Take a snapshot of the current page and compare it with a baseline using given
id. |
void compare(@Nonnull String id)
id. Use default settings
specific to this instance of Comparer.id - ID of the comparisonVisualComparisonFailedException - if the visual comparison fails. Depending on the settings, this may also
trigger generating a report containing details of what parts of the page did not match the baseline.IllegalStateException - if settings associated with this comparison are invalid for the purpose of this
comparisonvoid compare(@Nonnull String id, @Nonnull ComparisonSettings settings)
id. Use settings
in preference, or in addition to any settings specified for this Comparer itself.id - ID of the comparisonsettings - extra settings specific to this comparisonVisualComparisonFailedException - if the visual comparison fails. Depending on the settings, this may also
trigger generating a report containing details of what parts of the page did not match the baseline.IllegalStateException - if settings associated with this comparison are invalid for the purpose of this
comparisonCopyright © 2015 Atlassian. All rights reserved.