সাবপ্রসেস রেজাল্ট রিপোর্টার

public class SubprocessResultsReporter
extends Object implements ITestInvocationListener, ILogSaverListener, ISupportGranularResults

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


ITestInvocationListener একটি result_reporter হিসাবে নির্দিষ্ট করতে এবং সাবপ্রসেস থেকে পরীক্ষার ফলাফল, টেস্ট রান, টেস্ট ইনভোকেশানগুলিকে ফরওয়ার্ড করে।

সারসংক্ষেপ

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

SubprocessResultsReporter ()

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

void close ()

TestSummary getSummary ()

void invocationEnded (long elapsedTime)

void invocationFailed (FailureDescription failure)

void invocationFailed (Throwable cause)

void invocationStarted (IInvocationContext context)

void logAssociation (String dataName, LogFile logFile)

void printEvent (String key, Object event)

ইভেন্ট কী এবং তারপর json অবজেক্ট প্রিন্ট করতে সাহায্যকারী।

void setOutputTestLog (boolean outputTestLog)

আমরা পরীক্ষা লগ করা বা না আউটপুট করা উচিত কিনা তা সেট করে।

boolean supportGranularResults ()
void testAssumptionFailure (TestDescription testId, String trace)

void testAssumptionFailure (TestDescription testId, FailureDescription failure)

void testEnded (TestDescription testId, long endTime, metrics) testEnded (TestDescription testId, long endTime, metrics)

void testEnded (TestDescription testId, metrics) testEnded (TestDescription testId, metrics)

void testFailed (TestDescription testId, FailureDescription failure)

void testFailed (TestDescription testId, String reason)

void testIgnored (TestDescription testId)

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

void testModuleEnded ()

void testModuleStarted (IInvocationContext moduleContext)

void testRunEnded (long time, runMetrics) testRunEnded (long time, runMetrics)

void testRunFailed (FailureDescription failure)

void testRunFailed (String reason)

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

void testStarted (TestDescription testId, long startTime)

void testStarted (TestDescription testId)

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

সাবপ্রসেস রেজাল্ট রিপোর্টার

public SubprocessResultsReporter ()

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

বন্ধ

public void close ()

সারাংশ পান

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

পরামিতি
dataName String

logFile LogFile

প্রিন্ট ইভেন্ট

public void printEvent (String key, 
                Object event)

ইভেন্ট কী এবং তারপর json অবজেক্ট প্রিন্ট করতে সাহায্যকারী।

পরামিতি
key String

event Object

setOutputTestLog

public void setOutputTestLog (boolean outputTestLog)

আমরা পরীক্ষা লগ করা বা না আউটপুট করা উচিত কিনা তা সেট করে।

পরামিতি
outputTestLog boolean

গ্রানুলার ফলাফল সমর্থন করে

public boolean supportGranularResults ()

রিটার্নস
boolean

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

public void testAssumptionFailure (TestDescription testId, 
                String trace)

পরামিতি
testId TestDescription

trace String

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

public void testAssumptionFailure (TestDescription testId, 
                FailureDescription failure)

পরামিতি
testId TestDescription

failure FailureDescription

পরীক্ষা শেষ

public void testEnded (TestDescription testId, 
                long endTime, 
                 metrics)

পরামিতি
testId TestDescription

endTime long

metrics

পরীক্ষা শেষ

public void testEnded (TestDescription testId, 
                 metrics)

পরামিতি
testId TestDescription

metrics

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

public void testFailed (TestDescription testId, 
                FailureDescription failure)

পরামিতি
testId TestDescription

failure FailureDescription

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

public void testFailed (TestDescription testId, 
                String reason)

পরামিতি
testId TestDescription

reason String

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

public void testIgnored (TestDescription testId)

পরামিতি
testId 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 time, 
                 runMetrics)

পরামিতি
time long

runMetrics

testRunfailed

public void testRunFailed (FailureDescription failure)

পরামিতি
failure FailureDescription

testRunfailed

public void testRunFailed (String reason)

পরামিতি
reason 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 arg0)

পরামিতি
arg0 long

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

public void testStarted (TestDescription testId, 
                long startTime)

পরামিতি
testId TestDescription

startTime long

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

public void testStarted (TestDescription testId)

পরামিতি
testId TestDescription