{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public 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(@NonNull PrintStream writer) |
|
Public methods |
|
|---|---|
@NonNull void |
testFailure(@NonNull ParcelableFailure failure) |
@NonNull void |
testIgnored(@NonNull ParcelableDescription description) |
@NonNull void |
testRunFinished(@NonNull OrchestrationResult result) |
@NonNull void |
testStarted(@NonNull ParcelableDescription description) |