StubTestRunListener

public class StubTestRunListener
extends Object implements ITestRunListener

java.lang.Object
   ↳ com.android.tradefed.result.StubTestRunListener


ITestRunListener 的虛設常式實作

摘要

公用建構函式

StubTestRunListener()

公用方法

void testAssumptionFailure(TestIdentifier test, String trace)

void testEnded(TestIdentifier test, testMetrics)

void testFailed(TestIdentifier test, String trace)

void testIgnored(TestIdentifier test)

void testRunEnded(long elapsedTime, runMetrics)

void testRunFailed(String errorMessage)

void testRunStarted(String runName, int testCount)

void testRunStopped(long elapsedTime)

void testStarted(TestIdentifier test)

公用建構函式

StubTestRunListener

public StubTestRunListener ()

公用方法

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier test, 
                String trace)

參數
test TestIdentifier

trace String

測試結束

public void testEnded (TestIdentifier test, 
                 testMetrics)

參數
test TestIdentifier

testMetrics

測試失敗

public void testFailed (TestIdentifier test, 
                String trace)

參數
test TestIdentifier

trace String

已忽略測試

public void testIgnored (TestIdentifier test)

參數
test TestIdentifier

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

參數
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (String errorMessage)

參數
errorMessage 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 test)

參數
test TestIdentifier