27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সাবপ্রসেস রেজাল্ট রিপোর্টার
public class SubprocessResultsReporter
extends Object
implements ITestInvocationListener, ILogSaverListener, ISupportGranularResults
java.lang.অবজেক্ট |
↳ | com.android.tradefed.result.SubprocessResultsReporter |
পরিচিত সরাসরি সাবক্লাস LegacySubprocess ফলাফল রিপোর্টার | সাবপ্রসেস ফলাফল রিপোর্টারের একটি হিমায়িত বাস্তবায়ন যা এর সুপারক্লাসে পরিবর্তন সত্ত্বেও TF/CTS (যেমন 8+) এর আগের সংস্করণগুলির সাথে সামঞ্জস্যপূর্ণ থাকা উচিত। |
|
ITestInvocationListener
একটি result_reporter হিসাবে নির্দিষ্ট করতে এবং সাবপ্রসেস থেকে পরীক্ষার ফলাফল, টেস্ট রান, টেস্ট ইনভোকেশানগুলিকে ফরওয়ার্ড করে।
সারাংশ
পাবলিক পদ্ধতি |
---|
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 ()
আহ্বান শেষ
public void invocationEnded (long elapsedTime)
আমন্ত্রণ ব্যর্থ
public void invocationFailed (FailureDescription failure)
পরামিতি |
---|
failure | FailureDescription |
আমন্ত্রণ ব্যর্থ
public void invocationFailed (Throwable cause)
আমন্ত্রণ শুরু হয়েছে
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 ()
পরীক্ষা অনুমান ব্যর্থতা
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)
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)
পরীক্ষা শুরু হয়েছে
public void testStarted (TestDescription testId,
long startTime)
পরামিতি |
---|
testId | TestDescription |
startTime | long |
পরীক্ষা শুরু হয়েছে
public void testStarted (TestDescription testId)
পরামিতি |
---|
testId | TestDescription |
,
সাবপ্রসেস রেজাল্ট রিপোর্টার
public class SubprocessResultsReporter
extends Object
implements ITestInvocationListener, ILogSaverListener, ISupportGranularResults
java.lang.অবজেক্ট |
↳ | com.android.tradefed.result.SubprocessResultsReporter |
পরিচিত সরাসরি সাবক্লাস LegacySubprocess ফলাফল রিপোর্টার | সাবপ্রসেস ফলাফল রিপোর্টারের একটি হিমায়িত বাস্তবায়ন যা এর সুপারক্লাসে পরিবর্তন সত্ত্বেও TF/CTS (যেমন 8+) এর আগের সংস্করণগুলির সাথে সামঞ্জস্যপূর্ণ থাকা উচিত। |
|
ITestInvocationListener
একটি result_reporter হিসাবে নির্দিষ্ট করতে এবং সাবপ্রসেস থেকে পরীক্ষার ফলাফল, টেস্ট রান, টেস্ট ইনভোকেশানগুলিকে ফরওয়ার্ড করে।
সারাংশ
পাবলিক পদ্ধতি |
---|
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 ()
আহ্বান শেষ
public void invocationEnded (long elapsedTime)
আমন্ত্রণ ব্যর্থ
public void invocationFailed (FailureDescription failure)
পরামিতি |
---|
failure | FailureDescription |
আমন্ত্রণ ব্যর্থ
public void invocationFailed (Throwable cause)
আমন্ত্রণ শুরু হয়েছে
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 ()
পরীক্ষা অনুমান ব্যর্থতা
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)
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)
পরীক্ষা শুরু হয়েছে
public void testStarted (TestDescription testId,
long startTime)
পরামিতি |
---|
testId | TestDescription |
startTime | long |
পরীক্ষা শুরু হয়েছে
public void testStarted (TestDescription testId)
পরামিতি |
---|
testId | TestDescription |
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-03-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-03-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[]]