Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

TestRunToTestInvocationForwarder

public class TestRunToTestInvocationForwarder
extends Object implements ITestRunListener

java.lang.Object
com.android.tradefed.result.ddmlib.TestRunToTestInvocationForwarder


Meneruskan dari ddmlib ITestRunListener ke ITestLifeCycleReceiver . Antarmuka yang memastikan konversi hasil dari antarmuka ddmlib ke Antarmuka Tradefed.

Antarmuka ddmlib ditautkan ke menjalankan uji instrumentasi.

Ringkasan

Fields

public static final String ERROR_MESSAGE_FORMAT

Konstruktor publik

TestRunToTestInvocationForwarder ( listeners) TestRunToTestInvocationForwarder ( listeners)

Metode publik

void testAssumptionFailure (TestIdentifier testId, String trace)
void testEnded (TestIdentifier testId, testMetrics) testEnded (TestIdentifier testId, testMetrics)
void testFailed (TestIdentifier testId, String trace)
void testIgnored (TestIdentifier testId)
void testRunEnded (long elapsedTime, runMetrics) testRunEnded (long elapsedTime, runMetrics)
void testRunFailed (String failure)
void testRunStarted (String runName, int testCount)
void testRunStopped (long elapsedTime)
void testStarted (TestIdentifier testId)

Fields

ERROR_MESSAGE_FORMAT

public static final String ERROR_MESSAGE_FORMAT

Konstruktor publik

TestRunToTestInvocationForwarder

public TestRunToTestInvocationForwarder ( listeners)

Parameter
listeners

Metode publik

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Parameter
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                 testMetrics)

Parameter
testId TestIdentifier

testMetrics

testFailed

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

testRunFailed

public void testRunFailed (String failure)

Parameter
failure String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parameter
runName String

testCount int

testRunStopped

public void testRunStopped (long elapsedTime)

Parameter
elapsedTime long

testStarted

public void testStarted (TestIdentifier testId)

Parameter
testId TestIdentifier