ফলাফল ফরোয়ার্ডার

public class ResultForwarder
extends Object implements ITestInvocationListener

java.lang.অবজেক্ট
com.android.tradefed.result.ResultForwarder


একজন ITestInvocationListener যেটি অন্য শ্রোতাদের একটি তালিকায় আমন্ত্রণের ফলাফল ফরওয়ার্ড করে।

সারসংক্ষেপ

পাবলিক কনস্ট্রাক্টর

ResultForwarder ( listeners) 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) testEnded (TestDescription test, long endTime, testMetrics)

void testEnded (TestDescription test, testMetrics) 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) 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) setListeners ( listeners)

নির্মাণের পরে শ্রোতাদের সেট করুন।

void setListeners (ITestInvocationListener... listeners)

নির্মাণের পরে শ্রোতাদের সেট করুন।

পাবলিক কনস্ট্রাক্টর

ফলাফল ফরোয়ার্ডার

public ResultForwarder ( listeners)

একটি ResultForwarder তৈরি করুন।

পরামিতি
listeners : প্রকৃত ITestInvocationListener এর ফলাফল ফরওয়ার্ড করতে হবে

ফলাফল ফরোয়ার্ডার

public ResultForwarder (ITestInvocationListener... listeners)

ResultForwarder এর জন্য বিকল্প পরিবর্তনশীল আর্গ কনস্ট্রাক্টর।

পরামিতি
listeners ITestInvocationListener : প্রকৃত ITestInvocationListener এর ফলাফল ফরওয়ার্ড করতে

সুরক্ষিত কনস্ট্রাক্টর

ফলাফল ফরোয়ার্ডার

protected ResultForwarder ()

বিলম্বিত শ্রোতা সেটিং সহ একটি ResultForwarder তৈরি করুন। শুধুমাত্র উপশ্রেণীর দ্বারা ব্যবহারের জন্য উদ্দেশ্যে করা হয়েছে.

পাবলিক পদ্ধতি

সারাংশ পান

public TestSummary getSummary ()

রিটার্নস
TestSummary

আহ্বান শেষ

public void invocationEnded (long elapsedTime)

পরামিতি
elapsedTime long

আমন্ত্রণ ব্যর্থ

public void invocationFailed (FailureDescription failure)

পরামিতি
failure FailureDescription

আমন্ত্রণ ব্যর্থ

public void invocationFailed (Throwable cause)

পরামিতি
cause Throwable

আমন্ত্রণ শুরু হয়েছে

public void invocationStarted (IInvocationContext context)

পরামিতি
context IInvocationContext

পরীক্ষা অনুমান ব্যর্থতা

public void testAssumptionFailure (TestDescription test, 
                String trace)

পরামিতি
test TestDescription

trace String

পরীক্ষা অনুমান ব্যর্থতা

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

পরামিতি
test TestDescription

failure FailureDescription

পরীক্ষা শেষ

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

পরামিতি
test TestDescription

endTime long

testMetrics

পরীক্ষা শেষ

public void testEnded (TestDescription test, 
                 testMetrics)

পরামিতি
test TestDescription

testMetrics

পরীক্ষায় ব্যর্থ

public void testFailed (TestDescription test, 
                FailureDescription failure)

পরামিতি
test TestDescription

failure FailureDescription

পরীক্ষায় ব্যর্থ

public void testFailed (TestDescription test, 
                String trace)

পরামিতি
test TestDescription

trace String

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

public void testIgnored (TestDescription test)

পরামিতি
test TestDescription

টেস্টলগ

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

পরামিতি
dataName String

dataType LogDataType

dataStream InputStreamSource

testModule শেষ

public void testModuleEnded ()

testModule শুরু হয়েছে

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

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

public void testStarted (TestDescription test, 
                long startTime)

পরামিতি
test TestDescription

startTime long

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

public void testStarted (TestDescription test)

পরামিতি
test TestDescription

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

শ্রোতাদের পান

protected  getListeners ()

শ্রোতাদের তালিকা পান। শুধুমাত্র উপশ্রেণীর দ্বারা ব্যবহারের জন্য উদ্দেশ্যে করা হয়েছে.

রিটার্নস
ITestInvocationListener এর তালিকা

সেট শ্রোতা

protected void setListeners ( listeners)

নির্মাণের পরে শ্রোতাদের সেট করুন। শুধুমাত্র উপশ্রেণীর দ্বারা ব্যবহারের জন্য উদ্দেশ্যে করা হয়েছে.

পরামিতি
listeners : প্রকৃত ITestInvocationListener এর ফলাফল ফরওয়ার্ড করতে হবে

সেট শ্রোতা

protected void setListeners (ITestInvocationListener... listeners)

নির্মাণের পরে শ্রোতাদের সেট করুন। শুধুমাত্র উপশ্রেণীর দ্বারা ব্যবহারের জন্য উদ্দেশ্যে করা হয়েছে.

পরামিতি
listeners ITestInvocationListener : প্রকৃত ITestInvocationListener এর ফলাফল ফরওয়ার্ড করতে