com.applitools.eyes.exceptions.DiffsFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java3 Show documentation
Show all versions of eyes-sdk-core-java3 Show documentation
Applitools Eyes SDK base for Java
The newest version!
package com.applitools.eyes.exceptions;
import com.applitools.eyes.TestResults;
/**
* Indicates that an existing test ended, and that differences where found from the baseline.
*/
public class DiffsFoundException extends TestFailedException {
public DiffsFoundException(TestResults testResults, String scenarioIdOrName, String appIdOrName){
super(testResults, String.format("Test '%s' of '%s' detected differences! See details at: %s",
scenarioIdOrName,
appIdOrName,
testResults.getUrl()));
}
}