All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.applitools.eyes.visualgridclient.model.TestResultContainer Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package com.applitools.eyes.visualgridclient.model;

import com.applitools.eyes.TestResults;

public class TestResultContainer {
    private TestResults testResults;
    private Error exception;

    public TestResultContainer(TestResults testResults, Error exception) {
        this.testResults = testResults;
        this.exception = exception;
    }

    public TestResults getTestResults() {
        return testResults;
    }

    public Error getException() {
        return exception;
    }

    @Override
    public String toString() {
        return (testResults == null ? "" : testResults.toString()) + " - " + (exception == null ? "" : exception.toString());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy