GranularRetriableTestWrapper.StartEndCollector
public class GranularRetriableTestWrapper.StartEndCollector
extends ResultAndLogForwarder
java.lang.ऑब्जेक्ट | |||
मैं | com.android.tradefed.result.ResultForwarder | ||
मैं | com.android.tradefed.result.ResultAndLogForwarder | ||
मैं | com.android.tradefed.testtype.suite.GranularRetriableTestWrapper.StartEndCollector |
क्लास हेल्पर लापता रन स्टार्ट और एंड को पकड़ने के लिए।
सारांश
खेत | |
---|---|
public boolean | mRunEndedReported |
public boolean | mRunStartReported
|
सार्वजनिक तरीके | |
---|---|
void | testRunEnded (long elapsedTimeMillis, runMetrics) testRunEnded (long elapsedTimeMillis, runMetrics) परीक्षण चलाने के अंत की रिपोर्ट। |
void | testRunStarted (String runName, int testCount) एक परीक्षण चलाने की शुरुआत की रिपोर्ट करता है। |
void | testRunStarted (String runName, int testCount, int attemptNumber, long startTime) एक परीक्षण चलाने की शुरुआत की रिपोर्ट करता है। |
void | testRunStarted (String runName, int testCount, int attemptNumber) एक परीक्षण चलाने की शुरुआत की रिपोर्ट करता है। |
खेत
mRunEndedReported
public boolean mRunEndedReported
mRunStart रिपोर्ट किया गया
public boolean mRunStartReported
सार्वजनिक तरीके
टेस्टरनसमाप्त
public void testRunEnded (long elapsedTimeMillis,runMetrics)
परीक्षण चलाने के अंत की रिपोर्ट। FIXME: हमारे पास अलग-अलग प्रकार के दो मैप<> इंटरफेस नहीं हो सकते हैं, इसलिए हमें यहां हैश मैप का उपयोग करना होगा।
मापदंडों | |
---|---|
elapsedTimeMillis | long : डिवाइस ने बीता हुआ समय, मिलीसेकंड में सूचित किया |
runMetrics | Metric के साथ परीक्षण चलाने के अंत में की-वैल्यू पेयर रिपोर्ट की गई। |
टेस्टरनस्टार्ट किया गया
public void testRunStarted (String runName, int testCount)
एक परीक्षण चलाने की शुरुआत की रिपोर्ट करता है।
मापदंडों | |
---|---|
runName | String : टेस्ट रन नाम |
testCount | int : टेस्ट रन में परीक्षणों की कुल संख्या |
टेस्टरनस्टार्ट किया गया
public void testRunStarted (String runName, int testCount, int attemptNumber, long startTime)
एक परीक्षण चलाने की शुरुआत की रिपोर्ट करता है।
मापदंडों | |
---|---|
runName | String : टेस्ट रन नाम |
testCount | int : टेस्ट रन में परीक्षणों की कुल संख्या |
attemptNumber | int : क्रम संख्या, एक ही रननाम के विभिन्न प्रयासों की पहचान करना जो कई बार चलते हैं। प्रयास संख्या 0-अनुक्रमित है और हर बार एक नया रन होने पर इसे बढ़ाना चाहिए। उदाहरण के लिए एक परीक्षण को 3 बार बारीक पुन: प्रयास किया जाता है, इसमें एक ही रननाम के तहत कुल 4 रन होने चाहिए और प्रयास संख्या 0 से 3 तक है। |
startTime | long : रन शुरू होने का समय, System.currentTimeMillis() के माध्यम से मापा जाता है |
टेस्टरनस्टार्ट किया गया
public void testRunStarted (String runName, int testCount, int attemptNumber)
एक परीक्षण चलाने की शुरुआत की रिपोर्ट करता है।
मापदंडों | |
---|---|
runName | String : टेस्ट रन नाम |
testCount | int : टेस्ट रन में परीक्षणों की कुल संख्या |
attemptNumber | int : क्रम संख्या, एक ही रननाम के विभिन्न प्रयासों की पहचान करना जो कई बार चलते हैं। प्रयास संख्या 0-अनुक्रमित है और हर बार एक नया रन होने पर इसे बढ़ाना चाहिए। उदाहरण के लिए एक परीक्षण को 3 बार बारीक पुन: प्रयास किया जाता है, इसमें एक ही रननाम के तहत कुल 4 रन होने चाहिए और प्रयास संख्या 0 से 3 तक है। |