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 الفعلية لإعادة توجيه النتائج إليها
|