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

testRunfailed

public void testRunFailed (String errorMessage)

পরামিতি
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

পরামিতি
runName String

testCount int

testRunStopped

public void testRunStopped (long elapsedTime)

পরামিতি
elapsedTime long

পরীক্ষা শুরু হয়েছে

public void testStarted (TestDescription test)

পরামিতি
test TestDescription

সুরক্ষিত পদ্ধতি

JUnitListener পান

protected TestListener getJUnitListener ()

রিটার্নস
TestListener