রেজাল্ট অ্যাগ্রিগেটর

public class ResultAggregator
extends CollectingTestListener

java.lang.অবজেক্ট
com.android.tradefed.result.CollectingTestListener
com.android.tradefed.retry.ResultAggregator


বিশেষ ফরওয়ার্ডার যেটি পুনরায় চেষ্টা করার কৌশলের উপর ভিত্তি করে প্রয়োজনে ফলাফলগুলিকে একত্রিত করে।

সারসংক্ষেপ

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

ResultAggregator ( listeners, RetryStrategy strategy) ResultAggregator ( listeners, RetryStrategy strategy)

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

void cleanEventsFiles ()
final void forwardAggregatedInvocationLogs ()

দানাদার ফলাফল সমর্থন করে না এমন ফলাফল রিপোর্টারদের কাছে সমস্ত আহ্বান স্তরের লগগুলি ফরোয়ার্ড করুন৷

void invocationEnded (long elapsedTime)

void invocationFailed (FailureDescription failure)

void invocationFailed (Throwable cause)

void invocationStarted (IInvocationContext context)

void logAssociation (String dataName, LogFile logFile)

void setLogSaver (ILogSaver logSaver)

void setUpdatedReporting (boolean updatedReporting)

নতুন রিপোর্টিং সেট করে।

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 testFailed (TestDescription test, FailureDescription failure)
void testFailed (TestDescription test, String trace)

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

void testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
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 name, int testCount, int attemptNumber, long startTime)

void testStarted (TestDescription test, long startTime)

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

File[] getEventsLogs ()

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

রেজাল্ট অ্যাগ্রিগেটর

public ResultAggregator ( listeners, 
                RetryStrategy strategy)

পরামিতি
listeners

strategy RetryStrategy

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

ইভেন্ট ফাইলগুলি পরিষ্কার করুন

public void cleanEventsFiles ()

forwardAggregatedInvocationLogs

public final void forwardAggregatedInvocationLogs ()

দানাদার ফলাফল সমর্থন করে না এমন ফলাফল রিপোর্টারদের কাছে সমস্ত আহ্বান স্তরের লগগুলি ফরোয়ার্ড করুন৷

আহ্বান শেষ

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 logAssociation (String dataName, 
                LogFile logFile)

পরামিতি
dataName String

logFile LogFile

সেটলগসেভার

public void setLogSaver (ILogSaver logSaver)

পরামিতি
logSaver ILogSaver

সেটআপডেটেড রিপোর্টিং

public void setUpdatedReporting (boolean updatedReporting)

নতুন রিপোর্টিং সেট করে।

পরামিতি
updatedReporting boolean

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

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 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

testLog সংরক্ষিত

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

পরামিতি
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

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 name, 
                int testCount, 
                int attemptNumber, 
                long startTime)

পরামিতি
name String

testCount int

attemptNumber int

startTime long

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

public void testStarted (TestDescription test, 
                long startTime)

পরামিতি
test TestDescription

startTime long

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

getEventsLogs

protected File[] getEventsLogs ()

রিটার্নস
File[]