JUnit4ResultForwarder

public class JUnit4ResultForwarder
extends RunListener

java.lang.Object
   ↳ org.junit.runner.notification.RunListener
     ↳ com.android.tradefed.testtype.junit4.JUnit4ResultForwarder


JUnit4 Runner 的結果轉寄程式。

摘要

公用建構函式

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