Google is committed to advancing racial equity for Black communities. See how.
Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

InvocationToJUnitResultForwarder

public class InvocationToJUnitResultForwarder
extends Object implements ITestInvocationListener

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


Kelas yang mendengarkan kejadian ITestInvocationListener dan meneruskannya ke TestListener .

Ringkasan

Konstruktor publik

InvocationToJUnitResultForwarder (TestListener junitListener)

Metode publik

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)

Metode yang dilindungi

TestListener getJUnitListener ()

Konstruktor publik

InvocationToJUnitResultForwarder

public InvocationToJUnitResultForwarder (TestListener junitListener)

Parameter
junitListener TestListener

Metode publik

getSummary

public TestSummary getSummary ()

Kembali
TestSummary

invocationEnded

public void invocationEnded (long elapsedTime)

Parameter
elapsedTime long

seruanFailed

public void invocationFailed (Throwable cause)

Parameter
cause Throwable

invocationStarted

public void invocationStarted (IInvocationContext context)

Parameter
context IInvocationContext

testAssumptionFailure

public void testAssumptionFailure (TestDescription testId, 
                String trace)

Parameter
testId TestDescription

trace String

testEnded

public void testEnded (TestDescription test, 
                 testMetrics)

Parameter
test TestDescription

testMetrics

testFailed

public void testFailed (TestDescription testId, 
                String trace)

Parameter
testId TestDescription

trace String

testIgnored

public void testIgnored (TestDescription test)

Parameter
test TestDescription

testLog

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

Parameter
dataName String

logData LogDataType

dataStream InputStreamSource

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

Parameter
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (String errorMessage)

Parameter
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parameter
runName String

testCount int

testRunStopped

public void testRunStopped (long elapsedTime)

Parameter
elapsedTime long

testStarted

public void testStarted (TestDescription test)

Parameter
test TestDescription

Metode yang dilindungi

getJUnitListener

protected TestListener getJUnitListener ()

Kembali
TestListener