TestRunToTestInvocationForwarder
public
class
TestRunToTestInvocationForwarder
extends Object
implements
ITestRunListener
java.lang.Object | |
↳ | com.android.tradefed.result.ddmlib.TestRunToTestInvocationForwarder |
Przesyłanie z ddmlib ITestRunListener
do ITestLifeCycleReceiver
. Interfejs, który zapewnia konwersję wyników z interfejsu ddmlib na interfejs Tradefed.
Interfejs ddmlib jest powiązany z testami instrumentacji.
Podsumowanie
Fieldsem | |
---|---|
public
static
final
String |
ERROR_MESSAGE_FORMAT
|
Konstruktory publiczne | |
---|---|
TestRunToTestInvocationForwarder(
|
Metody publiczne | |
---|---|
void
|
testAssumptionFailure(TestIdentifier testId, String trace)
|
void
|
testEnded(TestIdentifier testId,
|
void
|
testFailed(TestIdentifier testId, String trace)
|
void
|
testIgnored(TestIdentifier testId)
|
void
|
testRunEnded(long elapsedTime,
|
void
|
testRunFailed(String failure)
|
void
|
testRunStarted(String runName, int testCount)
|
void
|
testRunStopped(long elapsedTime)
|
void
|
testStarted(TestIdentifier testId)
|
Fieldsem
ERROR_MESSAGE_FORMAT
public static final String ERROR_MESSAGE_FORMAT
Konstruktory publiczne
TestRunToTestInvocationForwarder
public TestRunToTestInvocationForwarder (listeners)
Parametry | |
---|---|
listeners |
|
Metody publiczne
testAssumptionFailure
public void testAssumptionFailure (TestIdentifier testId, String trace)
Parametry | |
---|---|
testId |
TestIdentifier |
trace |
String |
testZakończony
public void testEnded (TestIdentifier testId,testMetrics)
Parametry | |
---|---|
testId |
TestIdentifier |
testMetrics |
|
testFailed
public void testFailed (TestIdentifier testId, String trace)
Parametry | |
---|---|
testId |
TestIdentifier |
trace |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parametry | |
---|---|
testId |
TestIdentifier |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
Parametry | |
---|---|
elapsedTime |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (String failure)
Parametry | |
---|---|
failure |
String |
testRunStarted
public void testRunStarted (String runName, int testCount)
Parametry | |
---|---|
runName |
String |
testCount |
int |
testRunStopped
public void testRunStopped (long elapsedTime)
Parametry | |
---|---|
elapsedTime |
long |
testStarted (rozpoczęto test)
public void testStarted (TestIdentifier testId)
Parametry | |
---|---|
testId |
TestIdentifier |