PassingTestFileReporter
public
class
PassingTestFileReporter
extends TestResultListener
implements
ITestInvocationListener
java.lang.Object | ||
↳ | com.android.tradefed.result.TestResultListener | |
↳ | com.android.tradefed.result.PassingTestFileReporter |
एक ITestInvocationListener
, जो पास होने वाले टेस्ट केस की सूची को टेस्ट फ़ाइल में सेव करता है
खास जानकारी
पब्लिक कंस्ट्रक्टर | |
---|---|
PassingTestFileReporter()
|
सार्वजनिक तरीके | |
---|---|
void
|
invocationEnded(long elapsedTime)
यह रिपोर्ट दिखाती है कि अनुरोध पूरा हो गया है या किसी गड़बड़ी की वजह से पूरा नहीं हो सका. |
void
|
invocationStarted(IInvocationContext context)
टेस्ट को शुरू करने के बारे में रिपोर्ट करता है. |
void
|
testResult(TestDescription test, TestResult result)
|
पब्लिक कंस्ट्रक्टर
PassingTestFileReporter
public PassingTestFileReporter ()
सार्वजनिक तरीके
invocationEnded
public void invocationEnded (long elapsedTime)
यह रिपोर्ट दिखाती है कि अनुरोध पूरा हो गया है या किसी गड़बड़ी की वजह से पूरा नहीं हो सका.
TradeFederation फ़्रेमवर्क इसे अपने-आप कॉल करेगा.
पैरामीटर | |
---|---|
elapsedTime |
long : कॉल को शुरू करने में लगा समय, मिलीसेकंड में |
invocationStarted
public void invocationStarted (IInvocationContext context)
टेस्ट को शुरू करने के बारे में रिपोर्ट करता है.
TradeFederation फ़्रेमवर्क इसे अपने-आप कॉल करेगा. एक से ज़्यादा डिवाइसों की रिपोर्टिंग के लिए, रिपोर्टर को इस तरीके को बदलना होगा.
पैरामीटर | |
---|---|
context |
IInvocationContext : बोलकर निर्देश देने की सुविधा के बारे में जानकारी |
testResult
public void testResult (TestDescription test, TestResult result)
पैरामीटर | |
---|---|
test |
TestDescription |
result |
TestResult |