Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

TestRunToTestInvocationForwarder

public class TestRunToTestInvocationForwarder
extends Object implements ITestRunListener

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


从ddmlib ITestRunListenerITestLifeCycleReceiver转发器。确保结果从ddmlib接口转换为Tradefed接口的接口。

Ddmlib接口链接到正在运行的仪器测试。

概要

领域

public static final String ERROR_MESSAGE_FORMAT

公共建设者

TestRunToTestInvocationForwarder ( listeners) TestRunToTestInvocationForwarder ( listeners)

公开方法

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)

领域

ERROR_MESSAGE_FORMAT

public static final String ERROR_MESSAGE_FORMAT

公共建设者

TestRunToTestInvocationForwarder

public TestRunToTestInvocationForwarder ( listeners)

参量
listeners

公开方法

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

参量
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                 testMetrics)

参量
testId TestIdentifier

testMetrics

测试失败

public void testFailed (TestIdentifier testId, 
                String trace)

参量
testId TestIdentifier

trace String

testIgnored

public void testIgnored (TestIdentifier testId)

参量
testId TestIdentifier

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

参量
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (String failure)

参量
failure String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

参量
runName String

testCount int

testRunStopped

public void testRunStopped (long elapsedTime)

参量
elapsedTime long

testStarted

public void testStarted (TestIdentifier testId)

参量
testId TestIdentifier