จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

อุปกรณ์ParameterizedRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
junitparams.JUnitParamsRunner
com.android.tradefed.testtype.junit4.DeviceParameterizedRunner


รันเนอร์แบบกำหนดพารามิเตอร์สไตล์ JUnit4 สำหรับการทดสอบแบบกำหนดพารามิเตอร์ที่ขับเคลื่อนโดยฝั่งโฮสต์

ตัววิ่งนี้ใช้ JUnitParamsRunner และไม่ใช่ JUnit4 native Parameterized แต่ตัวรันเนอร์แบบกำหนดพารามิเตอร์ดั้งเดิมนั้นไม่ดีจริง ๆ และไม่อนุญาตให้เรียกใช้เมธอดเดียว

ดูสิ่งนี้ด้วย:

สรุป

ผู้สร้างสาธารณะ

DeviceParameterizedRunner (Class<?> klass)

วิธีการสาธารณะ

IAbi getAbi ()
TestInformation getTestInformation ()
void setAbi ( IAbi abi)
void setTestInformation ( TestInformation testInformation)

วิธีการป้องกัน

Statement methodInvoker (FrameworkMethod method, Object testObj)

ผู้สร้างสาธารณะ

อุปกรณ์ParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

ขว้าง
InitializationError

วิธีการสาธารณะ

getAbi

public IAbi getAbi ()

คืนสินค้า
IAbi

getTestInformation

public TestInformation getTestInformation ()

คืนสินค้า
TestInformation

setAbi

public void setAbi (IAbi abi)

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

setTestInformation

public void setTestInformation (TestInformation testInformation)

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

วิธีการป้องกัน

เมธอดInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

พารามิเตอร์
method FrameworkMethod

testObj Object

คืนสินค้า
Statement