Google is committed to advancing racial equity for Black communities. See how.
本頁面由 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