{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class TextListener
Reimplementation of org.junit.TextListener that accepts compatible objects.
OrchestrationResultPrinter is a near line by line copy of InstrumentationResultPrinter, and since InstrumentationResultPrinter relies on org.junit.internal.TextListener, this class exists for the OrchestrationResultPrinter to rely on, until such time as we can resolve b/35394729 and unify their expertise.
Public constructors |
|
|---|---|
TextListener(writer: PrintStream) |
|
Public functions |
|
|---|---|
Unit |
testFailure(failure: ParcelableFailure) |
Unit |
testIgnored(description: ParcelableDescription) |
Unit |
testRunFinished(result: OrchestrationResult) |
Unit |
testStarted(description: ParcelableDescription) |