| java.lang.Object |
| ↳ |
android.support.test.orchestrator.listeners.OrchestrationRunListener |
| |
↳ |
android.support.test.orchestrator.listeners.TextListener |
Class Overview
Reimplementation of org.junit.TextListener that accepts AndroidTestOrchestrator 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.
Summary
|
[Expand]
Inherited Methods |
From class
android.support.test.orchestrator.listeners.OrchestrationRunListener
|
Instrumentation
|
getInstrumentation()
|
|
void
|
orchestrationRunStarted(int arg0)
|
|
void
|
setInstrumentation(Instrumentation arg0)
|
|
void
|
testAssumptionFailure(ParcelableFailure arg0)
|
|
void
|
testFailure(ParcelableFailure arg0)
|
|
void
|
testFinished(ParcelableDescription arg0)
|
|
void
|
testIgnored(ParcelableDescription arg0)
|
|
void
|
testProcessFinished(String arg0)
|
|
void
|
testRunFinished(ParcelableResult arg0)
|
|
void
|
testRunStarted(ParcelableDescription arg0)
|
|
void
|
testStarted(ParcelableDescription arg0)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Constructors
public
TextListener
(PrintStream writer)
| Parameters |
writer |
PrintStream |
Public Methods
public
void
testFailure
(ParcelableFailure failure)
| Parameters |
failure |
ParcelableFailure |
public
void
testIgnored
(ParcelableDescription description)
| Parameters |
description |
ParcelableDescription |
| Parameters |
result |
OrchestrationResult |
public
void
testStarted
(ParcelableDescription description)
| Parameters |
description |
ParcelableDescription |
Protected Methods
protected
String
elapsedTimeAsString
(long runTime)
Returns the formatted string of the elapsed time. Duplicated from BaseTestRunner. Fix it.
protected
void
printFailure
(ParcelableFailure each, String prefix)
| Parameters |
each |
ParcelableFailure |
prefix |
String |
| Parameters |
result |
OrchestrationResult |
| Parameters |
result |
OrchestrationResult |
protected
void
printHeader
(long runTime)