Google 致力于为黑人社区推动种族平等。查看具体举措

JUnit4ResultForwarder

public class JUnit4ResultForwarder
extends RunListener

java.lang.Object
org.junit.runner.notification.RunListener
com.android.tradefed.result.JUnit4ResultForwarder


来自JUnit4 Runner的结果转发器。

概括

公共建设者

JUnit4ResultForwarder ( ITestInvocationListener listener)

公开方法

void testAssumptionFailure (Failure failure)
void testFailure (Failure failure)
void testFinished (Description description)
void testIgnored (Description description)
void testStarted (Description description)

公共建设者

JUnit4ResultForwarder

public JUnit4ResultForwarder (ITestInvocationListener listener)

参数
listener ITestInvocationListener

公开方法

testAssumptionFailure

public void testAssumptionFailure (Failure failure)

参数
failure Failure

测试失败

public void testFailure (Failure failure)

参数
failure Failure

测试完成

public void testFinished (Description description)

参数
description Description

testIgnored

public void testIgnored (Description description)

参数
description Description

testStarted

public void testStarted (Description description)

参数
description Description