com.applitools.eyes.TestResultContainer 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;
import com.applitools.eyes.visualgrid.model.RenderBrowserInfo;
public class TestResultContainer {
private TestResults testResults;
private RenderBrowserInfo browserInfo;
private Throwable exception;
public TestResultContainer(TestResults testResults, RenderBrowserInfo browserInfo, Throwable exception) {
this.testResults = testResults;
this.browserInfo = browserInfo;
this.exception = exception;
}
public TestResultContainer(TestResults testResults) {
this.testResults = testResults;
}
public TestResults getTestResults() {
return testResults;
}
public Throwable getException() {
return exception;
}
public RenderBrowserInfo getBrowserInfo() {
return browserInfo;
}
@Override
public String toString() {
String browserInfoStr = browserInfo != null ? "\n browserInfo = " + browserInfo : "";
return "TestResultContainer{" +
"\n testResults=" + testResults +
browserInfoStr +
"\n exception = " + exception +
'}';
}
}