TestAssumptionFailureEvent


public class TestAssumptionFailureEvent extends TestFailureEvent


Denotes that the test ended with a TEST_ASSUMPTION_FAILURE. It has the FailureInfo object to denote what was the cause of the failure/error.

Summary

Public constructors

TestAssumptionFailureEvent(
    @NonNull TestCaseInfo testCase,
    @NonNull FailureInfo failure
)

Creates a TestAssumptionFailureEvent from TestCaseInfo and FailureInfo.

Public constructors

TestAssumptionFailureEvent

public TestAssumptionFailureEvent(
    @NonNull TestCaseInfo testCase,
    @NonNull FailureInfo failure
)

Creates a TestAssumptionFailureEvent from TestCaseInfo and FailureInfo.

Parameters
@NonNull TestCaseInfo testCase

the test case that this event is for.

@NonNull FailureInfo failure

the failure associated with the test case.