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,
|
void
|
testFailed(TestIdentifier test, String trace)
|
void
|
testIgnored(TestIdentifier test)
|
void
|
testRunEnded(long elapsedTime,
|
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 |