TestFinishedEvent


public class TestFinishedEvent extends TestRunEventWithTestCase


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

Summary

Public constructors

Constructor to create TestFinishedEvent.

Inherited fields

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

The TestCaseInfo this event is associated with.

Public constructors

TestFinishedEvent

public TestFinishedEvent(@NonNull TestCaseInfo testCase)

Constructor to create TestFinishedEvent.

Parameters
@NonNull TestCaseInfo testCase

the test case that this event is for.