LongevityHostRunner

public class LongevityHostRunner
extends Runner implements IAbiReceiver, ITestInformationReceiver, ISetOptionReceiver

java.lang.Object
   ↳ org.junit.runner.Runner
     ↳ com.android.tradefed.testtype.junit4.LongevityHostRunner


Runner ที่ใช้ JUnit4 ซึ่งประกอบการทดสอบที่เรียกใช้ด้วย DeviceJUnit4ClassRunner เข้าเป็น LongevitySuite ซึ่งจะเรียกใช้การทดสอบซ้ำๆ เพื่อทำให้เกิดความเครียดและความสุ่ม การทดสอบควรระบุข้อมูลนี้ภายในคำอธิบายประกอบ @RunWith พร้อมรายการ SuiteClasses ที่จะรวม

ดูเพิ่มเติม

สรุป

ตัวสร้างแบบสาธารณะ

LongevityHostRunner(Class<?> klass)

เมธอดสาธารณะ

IAbi getAbi()
Description getDescription()
TestInformation getTestInformation()
void run(RunNotifier notifier)
void setAbi(IAbi abi)
void setTestInformation(TestInformation testInformation)
int testCount()

ตัวสร้างแบบสาธารณะ

LongevityHostRunner

public LongevityHostRunner (Class<?> klass)

พารามิเตอร์
klass Class

เมธอดสาธารณะ

getAbi

public IAbi getAbi ()

คิกรีเทิร์น
IAbi

getDescription

public Description getDescription ()

คิกรีเทิร์น
Description

getTestInformation

public TestInformation getTestInformation ()

คิกรีเทิร์น
TestInformation

โฮมรัน

public void run (RunNotifier notifier)

พารามิเตอร์
notifier RunNotifier

setAbi

public void setAbi (IAbi abi)

พารามิเตอร์
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

พารามิเตอร์
testInformation TestInformation

testCount

public int testCount ()

คิกรีเทิร์น
int