InvocationToJUnitResultForwarder

public class InvocationToJUnitResultForwarder
extends Object implements ITestInvocationListener

java.lang.ऑब्जेक्ट
com.android.tradefed.result.InvocationToJUnitResultForwarder


एक वर्ग जो ITestInvocationListener घटनाओं को सुनता है और उन्हें TestListener पर अग्रेषित करता है।

सारांश

सार्वजनिक निर्माणकर्ता

InvocationToJUnitResultForwarder (TestListener junitListener)

सार्वजनिक तरीके

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)

संरक्षित तरीके

TestListener getJUnitListener ()

सार्वजनिक निर्माणकर्ता

InvocationToJUnitResultForwarder

public InvocationToJUnitResultForwarder (TestListener junitListener)

पैरामीटर
junitListener TestListener

सार्वजनिक तरीके

सारांश प्राप्त करें

public TestSummary getSummary ()

रिटर्न
TestSummary

मंगलाचरणसमाप्त

public void invocationEnded (long elapsedTime)

पैरामीटर
elapsedTime long

मंगलाचरणविफल

public void invocationFailed (Throwable cause)

पैरामीटर
cause Throwable

मंगलाचरणशुरू हुआ

public void invocationStarted (IInvocationContext context)

पैरामीटर
context IInvocationContext

परीक्षणधारणाविफलता

public void testAssumptionFailure (TestDescription testId, 
                String trace)

पैरामीटर
testId TestDescription

trace String

परीक्षण समाप्त

public void testEnded (TestDescription test, 
                 testMetrics)

पैरामीटर
test TestDescription

testMetrics

परीक्षण विफल

public void testFailed (TestDescription testId, 
                String trace)

पैरामीटर
testId TestDescription

trace String

परीक्षणअनदेखा

public void testIgnored (TestDescription test)

पैरामीटर
test TestDescription

परीक्षणलॉग

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

पैरामीटर
dataName String

logData LogDataType

dataStream InputStreamSource

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

पैरामीटर
elapsedTime long

runMetrics

परीक्षण चलाने में विफल

public void testRunFailed (String errorMessage)

पैरामीटर
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

पैरामीटर
runName String

testCount int

टेस्टरनस्टॉप किया गया

public void testRunStopped (long elapsedTime)

पैरामीटर
elapsedTime long

परीक्षण प्रारंभ

public void testStarted (TestDescription test)

पैरामीटर
test TestDescription

संरक्षित तरीके

getJUnitListener

protected TestListener getJUnitListener ()

रिटर्न
TestListener