TestRunStartedEvent


public class TestRunStartedEvent extends TestRunEventWithTestCase


Denotes that the test ended with a TEST_RUN_STARTED event. It has the TestCaseInfo object to denote which case this event is associated to.

Summary

Public constructors

Constructor to create TestRunStartedEvent.

Inherited fields

From androidx.test.services.events.run.TestRunEventWithTestCase
final @NonNull TestCaseInfo

The TestCaseInfo this event is associated with.

Public constructors

TestRunStartedEvent

public TestRunStartedEvent(@NonNull TestCaseInfo testCase)

Constructor to create TestRunStartedEvent.

Parameters
@NonNull TestCaseInfo testCase

the test case that this event is for.