com.applitools.eyes.exceptions.NewTestException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java5 Show documentation
Show all versions of eyes-sdk-core-java5 Show documentation
Applitools Eyes SDK base for Java
package com.applitools.eyes.exceptions;
import com.applitools.eyes.TestResults;
/**
* Indicates that a new test (i.e., a test for which no baseline exists) ended.
*/
public class NewTestException extends TestFailedException {
public NewTestException(TestResults testResults, String scenarioIdOrName, String appIdOrName){
super(testResults, String.format("'%s' of '%s'. Please approve the new baseline at %s",
scenarioIdOrName,
appIdOrName,
testResults.getUrl()));
}
public NewTestException(String message) {
super(message);
}
}