JUnit4ResultForwarder
public
class
JUnit4ResultForwarder
extends RunListener
java.lang.Object | ||
↳ | org.junit.runner.notification.RunListener | |
↳ | com.android.tradefed.testtype.junit4.JUnit4ResultForwarder |
JUnit4 运行程序中的结果转发器。
摘要
公共构造函数 | |
---|---|
JUnit4ResultForwarder(ITestInvocationListener listener)
|
公共方法 | |
---|---|
void
|
testAssumptionFailure(Failure failure)
|
void
|
testFailure(Failure failure)
|
void
|
testFinished(Description description)
|
void
|
testIgnored(Description description)
|
void
|
testRunFinished(Result result)
|
void
|
testRunStarted(Description description)
|
void
|
testStarted(Description description)
|
公共构造函数
JUnit4ResultForwarder
public JUnit4ResultForwarder (ITestInvocationListener listener)
参数 | |
---|---|
listener |
ITestInvocationListener |
公共方法
testAssumptionFailure
public void testAssumptionFailure (Failure failure)
参数 | |
---|---|
failure |
Failure |
testFailure
public void testFailure (Failure failure)
参数 | |
---|---|
failure |
Failure |
testFinished
public void testFinished (Description description)
参数 | |
---|---|
description |
Description |
testIgnored
public void testIgnored (Description description)
参数 | |
---|---|
description |
Description |
testRunFinished
public void testRunFinished (Result result)
参数 | |
---|---|
result |
Result |
testRunStarted
public void testRunStarted (Description description)
参数 | |
---|---|
description |
Description |
testStarted
public void testStarted (Description description)
参数 | |
---|---|
description |
Description |