Skip to main content

TestResultContainer class

An object of this type represents the result of running a test. It bundles together the test results and an exception status.

Import statement

import com.applitools.eyes.android.common.TestResultContainer;

getException method

Syntax

Throwable value = obj.getException();

Parameters

This method does not take any parameters.

Return value

Type: Throwable

A value that is not null indicates that an exception occured when running the test.

getTestResults method

Syntax

TestResults value = obj.getTestResults();

Parameters

This method does not take any parameters.

Return value

Type: TestResults