ConsoleResultReporter
public class ConsoleResultReporter
extends TestResultListener implements ILogSaverListener, ITestInvocationListener
| java.lang.অবজেক্ট | ||
| ↳ | com.android.tradefed.result.TestResultListener | |
| ↳ | com.android.tradefed.result.ConsoleResultReporter | |
কনসোলে পরীক্ষার ফলাফল প্রিন্ট করতে ফলাফল রিপোর্টার।
প্রতিটি টেস্ট রান, প্রতিটি টেস্ট কেস এবং টেস্ট মেট্রিক্স, টেস্ট লগ এবং টেস্ট ফাইলের অবস্থান প্রিন্ট করে।
সারাংশ
পাবলিক কনস্ট্রাক্টর | |
|---|---|
ConsoleResultReporter () | |
পাবলিক পদ্ধতি | |
|---|---|
void | invocationEnded (long elapsedTime) |
void | invocationStarted (IInvocationContext context) |
void | logAssociation (String dataName, LogFile logFile) |
void | testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) |
void | testResult (TestDescription test, TestResult result) |
void | testRunEnded (long elapsedTimeMillis, metrics)testRunEnded (long elapsedTimeMillis, metrics) |
void | testRunFailed (FailureDescription failure) |
void | testRunFailed (String errorMessage) |
void | testRunStarted (String runName, int testCount) |
পাবলিক কনস্ট্রাক্টর
ConsoleResultReporter
public ConsoleResultReporter ()
পাবলিক পদ্ধতি
আহ্বান শেষ
public void invocationEnded (long elapsedTime)
| পরামিতি | |
|---|---|
elapsedTime | long |
আমন্ত্রণ শুরু হয়েছে
public void invocationStarted (IInvocationContext context)
| পরামিতি | |
|---|---|
context | IInvocationContext |
লগ অ্যাসোসিয়েশন
public void logAssociation (String dataName,
LogFile logFile)| পরামিতি | |
|---|---|
dataName | String |
logFile | LogFile |
testLog সংরক্ষিত
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)| পরামিতি | |
|---|---|
dataName | String |
dataType | LogDataType |
dataStream | InputStreamSource |
logFile | LogFile |
পরীক্ষার ফলাফল
public void testResult (TestDescription test,
TestResult result)| পরামিতি | |
|---|---|
test | TestDescription |
result | TestResult |
testRunended
public void testRunEnded (long elapsedTimeMillis,
metrics) | পরামিতি | |
|---|---|
elapsedTimeMillis | long |
metrics | |
testRunfailed
public void testRunFailed (FailureDescription failure)
| পরামিতি | |
|---|---|
failure | FailureDescription |
testRunfailed
public void testRunFailed (String errorMessage)
| পরামিতি | |
|---|---|
errorMessage | String |
testRunStarted
public void testRunStarted (String runName,
int testCount)| পরামিতি | |
|---|---|
runName | String |
testCount | int |