ResultForwarder
public
class
ResultForwarder
extends Object
implements
ITestInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.result.ResultForwarder |
ITestInvocationListener
ที่ส่งต่อผลลัพธ์การเรียกไปยังรายการ Listener อื่นๆ
สรุป
ตัวสร้างแบบสาธารณะ | |
---|---|
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(
ตั้งค่า Listeners หลังจากสร้าง |
void
|
setListeners(ITestInvocationListener... listeners)
ตั้งค่า 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 หลังจากสร้าง มีไว้สำหรับใช้โดยคลาสย่อยเท่านั้น
พารามิเตอร์ | |
---|---|
listeners |
: ITestInvocationListener จริงที่จะส่งต่อผลลัพธ์
|
setListeners
protected void setListeners (ITestInvocationListener... listeners)
ตั้งค่า Listeners หลังจากสร้าง มีไว้สำหรับใช้โดยคลาสย่อยเท่านั้น
พารามิเตอร์ | |
---|---|
listeners |
ITestInvocationListener : ITestInvocationListener จริงที่จะส่งต่อผลลัพธ์
|