public enum

TestStatus.Status

extends java.lang.Enum<TestStatus.Status>

 java.lang.Object

↳java.lang.Enum<TestStatus.Status>

↳androidx.test.services.events.TestStatus.Status

Overview

Valid test statuses for individual test cases and test runs. Check the documentation on individual statuses for more information.

Summary

Enum Constants
ABORTEDThis operation was started and was terminated before completion.
CANCELLEDThis operation was supposed to run but was abandoned before it was able to execute.
FAILEDThis operation finished execution, but did not succeed.
IGNOREDThis operation did not run or trigger any other operations.
PASSEDThis operation executed normally and succeeded.
SKIPPEDThis operation did not run, but other operations may have been run to prepare for this action.
Methods
public static TestStatus.StatusvalueOf(java.lang.String name)

public static TestStatus.Statusvalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

CANCELLED

This operation was supposed to run but was abandoned before it was able to execute. This should be the default test status for receivers. If no updates were sent for tests cases that were expected to run, it is safer to assume that the client terminated unexpectedly.

IGNORED

This operation did not run or trigger any other operations. If this or is not emitted for tests that were not run, the receiver should mark them as since the underlying test runner may have unexpectedly crashed in the middle of running these tests.

See also:

SKIPPED

This operation did not run, but other operations may have been run to prepare for this action. An example of this would be if a test threw an - indicating that it should not be run. This does prevent other pre & post test operations from running.

See also:

ABORTED

This operation was started and was terminated before completion. This status should be set by receiver if a test start was emitted by a client but the client does not emit an event marking the tests completion. It is safer to assume the client terminated unexpectedly.

PASSED

This operation executed normally and succeeded.

FAILED

This operation finished execution, but did not succeed.

Methods

public static TestStatus.Status values()

public static TestStatus.Status valueOf(java.lang.String name)