ResultForwarder

public class ResultForwarder
extends Object implements ITestInvocationListener

java.lang.Object
   ↳ com.android.tradefed.result.ResultForwarder


호출 결과를 다른 리스너 목록에 전달하는 ITestInvocationListener입니다.

요약

공개 생성자

ResultForwarder( listeners)

ResultForwarder를 만듭니다.

ResultForwarder(ITestInvocationListener... listeners)

ResultForwarder의 대체 변수 인수 생성자입니다.

보호된 생성자

ResultForwarder()

지연된 리스너 설정으로 ResultForwarder를 만듭니다.

공개 메서드

TestSummary getSummary()

void invocationEnded(long elapsedTime)

void invocationFailed(FailureDescription failure)

void invocationFailed(Throwable cause)

void invocationStarted(IInvocationContext context)

void testAssumptionFailure(TestDescription test, String trace)
void testAssumptionFailure(TestDescription test, FailureDescription failure)
void testEnded(TestDescription test, long endTime, testMetrics)

void testEnded(TestDescription test, testMetrics)

void testFailed(TestDescription test, FailureDescription failure)

void testFailed(TestDescription test, String trace)

void testIgnored(TestDescription test)
void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream)

void testModuleEnded()
void testModuleStarted(IInvocationContext moduleContext)
void testRunEnded(long elapsedTime, runMetrics)

void testRunFailed(FailureDescription failure)

void testRunFailed(String errorMessage)

void testRunStarted(String runName, int testCount, int attemptNumber)

void testRunStarted(String runName, int testCount)

void testRunStarted(String runName, int testCount, int attemptNumber, long startTime)

void testRunStopped(long elapsedTime)

void testStarted(TestDescription test, long startTime)

void testStarted(TestDescription test)

보호된 메서드

getListeners()

리스너 목록을 가져옵니다.

void setListeners( listeners)

생성 후 리스너를 설정합니다.

void setListeners(ITestInvocationListener... listeners)

생성 후 리스너를 설정합니다.

공개 생성자

ResultForwarder

public ResultForwarder ( listeners)

ResultForwarder를 만듭니다.

매개변수
listeners : 결과를 전달할 실제 ITestInvocationListener입니다.

ResultForwarder

public ResultForwarder (ITestInvocationListener... listeners)

ResultForwarder의 대체 변수 인수 생성자입니다.

매개변수
listeners ITestInvocationListener: 결과를 전달할 실제 ITestInvocationListener입니다.

보호된 생성자

ResultForwarder

protected ResultForwarder ()

지연된 리스너 설정으로 ResultForwarder를 만듭니다. 서브클래스에서만 사용할 수 있습니다.

공개 메서드

getSummary

public TestSummary getSummary ()

반환 값
TestSummary

invocationEnded

public void invocationEnded (long elapsedTime)

매개변수
elapsedTime long

invocationFailed

public void invocationFailed (FailureDescription failure)

매개변수
failure FailureDescription

invocationFailed

public void invocationFailed (Throwable cause)

매개변수
cause Throwable

invocationStarted

public void invocationStarted (IInvocationContext context)

매개변수
context IInvocationContext

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                String trace)

매개변수
test TestDescription

trace String

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

매개변수
test TestDescription

failure FailureDescription

testEnded

public void testEnded (TestDescription test, 
                long endTime, 
                 testMetrics)

매개변수
test TestDescription

endTime long

testMetrics

testEnded

public void testEnded (TestDescription test, 
                 testMetrics)

매개변수
test TestDescription

testMetrics

testFailed

public void testFailed (TestDescription test, 
                FailureDescription failure)

매개변수
test TestDescription

failure FailureDescription

testFailed

public void testFailed (TestDescription test, 
                String trace)

매개변수
test TestDescription

trace String

testIgnored

public void testIgnored (TestDescription test)

매개변수
test TestDescription

testLog

public void testLog (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream)

매개변수
dataName String

dataType LogDataType

dataStream InputStreamSource

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

매개변수
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

매개변수
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

매개변수
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

매개변수
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber)

매개변수
runName String

testCount int

attemptNumber int

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

매개변수
runName String

testCount int

testRunStarted

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber, 
                long startTime)

매개변수
runName String

testCount int

attemptNumber int

startTime long

testRunStopped

public void testRunStopped (long elapsedTime)

매개변수
elapsedTime long

testStarted

public void testStarted (TestDescription test, 
                long startTime)

매개변수
test TestDescription

startTime long

testStarted

public void testStarted (TestDescription test)

매개변수
test TestDescription

보호된 메서드

getListeners

protected  getListeners ()

리스너 목록을 가져옵니다. 서브클래스에서만 사용할 수 있습니다.

반환 값
ITestInvocationListener 목록입니다.

setListeners

protected void setListeners ( listeners)

생성 후 리스너를 설정합니다. 서브클래스에서만 사용할 수 있습니다.

매개변수
listeners : 결과를 전달할 실제 ITestInvocationListener입니다.

setListeners

protected void setListeners (ITestInvocationListener... listeners)

생성 후 리스너를 설정합니다. 서브클래스에서만 사용할 수 있습니다.

매개변수
listeners ITestInvocationListener: 결과를 전달할 실제 ITestInvocationListener입니다.