{i>TestRunToTestInvocationForwarder<i}
public
class
TestRunToTestInvocationForwarder
extends Object
implements
ITestRunListener
java.lang.Object | |
↳ | com.android.tradefed.result.ddmlib.TestRunToTestInvocationForwarder |
Penerus dari ddmlib ITestRunListener
ke ITestLifeCycleReceiver
. Antarmuka yang
memastikan konversi hasil dari antarmuka ddmlib ke Antarmuka Tradefed.
Antarmuka ddmlib ditautkan ke uji instrumentasi yang sedang berjalan.
Ringkasan
Kolom | |
---|---|
public
static
final
String |
ERROR_MESSAGE_FORMAT
|
Konstruktor publik | |
---|---|
TestRunToTestInvocationForwarder(
|
Metode publik | |
---|---|
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)
|
Kolom
ERROR_MESSAGE_FORMAT
public static final String ERROR_MESSAGE_FORMAT
Konstruktor publik
TestRunToTestInvocationForwarder
public TestRunToTestInvocationForwarder (listeners)
Parameter | |
---|---|
listeners |
|
Metode publik
testAsumsiKegagalan
public void testAssumptionFailure (TestIdentifier testId, String trace)
Parameter | |
---|---|
testId |
TestIdentifier |
trace |
String |
testBerakhir
public void testEnded (TestIdentifier testId,testMetrics)
Parameter | |
---|---|
testId |
TestIdentifier |
testMetrics |
|
pengujianGagal
public void testFailed (TestIdentifier testId, String trace)
Parameter | |
---|---|
testId |
TestIdentifier |
trace |
String |
testIgnored
public void testIgnored (TestIdentifier testId)
Parameter | |
---|---|
testId |
TestIdentifier |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
Parameter | |
---|---|
elapsedTime |
long |
runMetrics |
|
{i>testRunFailed<i}
public void testRunFailed (String failure)
Parameter | |
---|---|
failure |
String |
testRunStarted
public void testRunStarted (String runName, int testCount)
Parameter | |
---|---|
runName |
String |
testCount |
int |
testRunBerhenti
public void testRunStopped (long elapsedTime)
Parameter | |
---|---|
elapsedTime |
long |
pengujianDimulai
public void testStarted (TestIdentifier testId)
Parameter | |
---|---|
testId |
TestIdentifier |