Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

InvocationToJUnitResultForwarder

public class InvocationToJUnitResultForwarder
extends Object implements ITestInvocationListener

java.lang.Object
com.android.tradefed.result.InvocationToJUnitResultForwarder


ITestInvocationListener olaylarını dinleyen ve bunları bir TestListener ileten bir TestListener .

Özet

Kamu inşaatçılar

InvocationToJUnitResultForwarder (TestListener junitListener)

Genel yöntemler

TestSummary getSummary ()

void invocationEnded (long elapsedTime)

void invocationFailed (Throwable cause)

void invocationStarted (IInvocationContext context)

void testAssumptionFailure (TestDescription testId, String trace)
void testEnded (TestDescription test, testMetrics) testEnded (TestDescription test, testMetrics)

void testFailed (TestDescription testId, String trace)

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

void testRunEnded (long elapsedTime, runMetrics) testRunEnded (long elapsedTime, runMetrics)

void testRunFailed (String errorMessage)

void testRunStarted (String runName, int testCount)

void testRunStopped (long elapsedTime)

void testStarted (TestDescription test)

Korumalı yöntemler

TestListener getJUnitListener ()

Kamu inşaatçılar

InvocationToJUnitResultForwarder

public InvocationToJUnitResultForwarder (TestListener junitListener)

Parametreler
junitListener TestListener

Genel yöntemler

getSummary

public TestSummary getSummary ()

İadeler
TestSummary

invocationEnded

public void invocationEnded (long elapsedTime)

Parametreler
elapsedTime long

invocationFailed

public void invocationFailed (Throwable cause)

Parametreler
cause Throwable

invocationStarted

public void invocationStarted (IInvocationContext context)

Parametreler
context IInvocationContext

testAssumptionFailure

public void testAssumptionFailure (TestDescription testId, 
                String trace)

Parametreler
testId TestDescription

trace String

testEnded

public void testEnded (TestDescription test, 
                 testMetrics)

Parametreler
test TestDescription

testMetrics

test başarısız

public void testFailed (TestDescription testId, 
                String trace)

Parametreler
testId TestDescription

trace String

testIgnored

public void testIgnored (TestDescription test)

Parametreler
test TestDescription

testLog

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

Parametreler
dataName String

logData LogDataType

dataStream InputStreamSource

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

Parametreler
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (String errorMessage)

Parametreler
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parametreler
runName String

testCount int

testRunStopped

public void testRunStopped (long elapsedTime)

Parametreler
elapsedTime long

testStarted

public void testStarted (TestDescription test)

Parametreler
test TestDescription

Korumalı yöntemler

getJUnitListener

protected TestListener getJUnitListener ()

İadeler
TestListener