TestRunToTestInvocationForwarder

public class TestRunToTestInvocationForwarder
extends Object implements ITestRunListener

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


從 ddmlib ITestRunListener 轉送至 ITestLifeCycleReceiver。這個介面可確保 ddmlib 介面的結果轉換為 Tradefed 介面。

Ddmlib 介面已連結至執行檢測設備測試。

摘要

欄位

public static final String ERROR_MESSAGE_FORMAT

公用建構函式

TestRunToTestInvocationForwarder( listeners)

公用方法

void testAssumptionFailure(TestIdentifier testId, String trace)
void testEnded(TestIdentifier testId, testMetrics)
void testFailed(TestIdentifier testId, String trace)
void testIgnored(TestIdentifier testId)
void 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