ResultForwarder
public
class
ResultForwarder
extends Object
implements
ITestInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.result.ResultForwarder |
एक ITestInvocationListener
, जो अन्य लिसनर की सूची में, कॉल करने के नतीजे फ़ॉरवर्ड करता है.
खास जानकारी
सार्वजनिक कंस्ट्रक्टर | |
---|---|
ResultForwarder(
|
|
ResultForwarder(ITestInvocationListener... listeners)
|
सुरक्षित कंस्ट्रक्टर | |
---|---|
ResultForwarder()
'बाद में सुनने की सुविधा' सेटिंग वाला |
सार्वजनिक तरीके | |
---|---|
TestSummary
|
getSummary()
|
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationFailed(FailureDescription failure)
|
void
|
invocationFailed(Throwable cause)
|
void
|
invocationStarted(IInvocationContext context)
|
void
|
testAssumptionFailure(TestDescription test, String trace)
|
void
|
testAssumptionFailure(TestDescription test, FailureDescription failure)
|
void
|
testEnded(TestDescription test, long endTime,
|
void
|
testEnded(TestDescription test,
|
void
|
testFailed(TestDescription test, FailureDescription failure)
|
void
|
testFailed(TestDescription test, String trace)
|
void
|
testIgnored(TestDescription test)
|
void
|
testLog(String dataName, LogDataType dataType, InputStreamSource dataStream)
|
void
|
testModuleEnded()
|
void
|
testModuleStarted(IInvocationContext moduleContext)
|
void
|
testRunEnded(long elapsedTime,
|
void
|
testRunFailed(FailureDescription failure)
|
void
|
testRunFailed(String errorMessage)
|
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 elapsedTime)
|
void
|
testStarted(TestDescription test, long startTime)
|
void
|
testStarted(TestDescription test)
|
सुरक्षित तरीके | |
---|---|
|
getListeners()
दर्शकों की सूची देखें. |
void
|
setListeners(
कन्स्ट्रक्शन के बाद लिसनर सेट करें. |
void
|
setListeners(ITestInvocationListener... listeners)
कन्स्ट्रक्शन के बाद लिसनर सेट करें. |
सार्वजनिक कंस्ट्रक्टर
ResultForwarder
public ResultForwarder (listeners)
ResultForwarder
बनाएं.
पैरामीटर | |
---|---|
listeners |
: नतीजों को फ़ॉरवर्ड करने के लिए असली ITestInvocationListener
|
ResultForwarder
public ResultForwarder (ITestInvocationListener... listeners)
ResultForwarder
के लिए वैरिएबल आर्ग कंस्ट्रक्टर का विकल्प.
पैरामीटर | |
---|---|
listeners |
ITestInvocationListener : नतीजों को फ़ॉरवर्ड करने के लिए असली ITestInvocationListener
|
सुरक्षित कंस्ट्रक्टर
ResultForwarder
protected ResultForwarder ()
'बाद में सुनने की सुविधा' सेटिंग वाला ResultForwarder
बनाएं. इसका इस्तेमाल सिर्फ़ सबक्लास के लिए किया जाता है.
सार्वजनिक तरीके
getSummary
public TestSummary getSummary ()
रिटर्न | |
---|---|
TestSummary |
invocationEnded
public void invocationEnded (long elapsedTime)
पैरामीटर | |
---|---|
elapsedTime |
long |
invocationFailed
public void invocationFailed (FailureDescription failure)
पैरामीटर | |
---|---|
failure |
FailureDescription |
invocationFailed
public void invocationFailed (Throwable cause)
पैरामीटर | |
---|---|
cause |
Throwable |
invocationStarted
public void invocationStarted (IInvocationContext context)
पैरामीटर | |
---|---|
context |
IInvocationContext |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, String trace)
पैरामीटर | |
---|---|
test |
TestDescription |
trace |
String |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, FailureDescription failure)
पैरामीटर | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testEnded
public void testEnded (TestDescription test, long endTime,testMetrics)
पैरामीटर | |
---|---|
test |
TestDescription |
endTime |
long |
testMetrics |
|
testEnded
public void testEnded (TestDescription test,testMetrics)
पैरामीटर | |
---|---|
test |
TestDescription |
testMetrics |
|
testFailed
public void testFailed (TestDescription test, FailureDescription failure)
पैरामीटर | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testFailed
public void testFailed (TestDescription test, String trace)
पैरामीटर | |
---|---|
test |
TestDescription |
trace |
String |
testIgnored
public void testIgnored (TestDescription test)
पैरामीटर | |
---|---|
test |
TestDescription |
testLog
public void testLog (String dataName, LogDataType dataType, InputStreamSource dataStream)
पैरामीटर | |
---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
पैरामीटर | |
---|---|
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
पैरामीटर | |
---|---|
elapsedTime |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (FailureDescription failure)
पैरामीटर | |
---|---|
failure |
FailureDescription |
testRunFailed
public void testRunFailed (String errorMessage)
पैरामीटर | |
---|---|
errorMessage |
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 elapsedTime)
पैरामीटर | |
---|---|
elapsedTime |
long |
testStarted
public void testStarted (TestDescription test, long startTime)
पैरामीटर | |
---|---|
test |
TestDescription |
startTime |
long |
testStarted
public void testStarted (TestDescription test)
पैरामीटर | |
---|---|
test |
TestDescription |
सुरक्षित तरीके
getListeners
protectedgetListeners ()
दर्शकों की सूची देखें. इसका इस्तेमाल सिर्फ़ सबक्लास के लिए किया जाता है.
रिटर्न | |
---|---|
|
ITestInvocationListener की सूची.
|
setListeners
protected void setListeners (listeners)
कन्स्ट्रक्शन के बाद लिसनर सेट करें. इसका इस्तेमाल सिर्फ़ सबक्लास के लिए किया जाता है.
पैरामीटर | |
---|---|
listeners |
: नतीजों को फ़ॉरवर्ड करने के लिए असली ITestInvocationListener
|
setListeners
protected void setListeners (ITestInvocationListener... listeners)
कन्स्ट्रक्शन के बाद लिसनर सेट करें. इसका इस्तेमाल सिर्फ़ सबक्लास के लिए किया जाता है.
पैरामीटर | |
---|---|
listeners |
ITestInvocationListener : नतीजों को फ़ॉरवर्ड करने के लिए असली ITestInvocationListener
|