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

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) testEnded (TestIdentifier test, testMetrics)

void testFailed (TestIdentifier test, String trace)

void testIgnored (TestIdentifier test)

void testRunEnded (long elapsedTime, runMetrics) 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

testEnded

public void testEnded (TestIdentifier test, 
                 testMetrics)

参量
test TestIdentifier

testMetrics

测试失败

public void testFailed (TestIdentifier test, 
                String trace)

参量
test TestIdentifier

trace String

testIgnored

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