DeviceParameterizedRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

java.lang.객체
org.junit.runner.러너
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
junitparams.JUnitParamsRunner
com.android.tradefed.testtype.junit4.DeviceParameterizedRunner


호스트 측 구동 매개변수화 테스트를 위한 JUnit4 스타일 매개변수화 러너.

이 러너는 JUnit4 네이티브 Parameterized 가 아닌 JUnitParamsRunner 기반으로 하지만 네이티브 매개변수 러너는 실제로 좋지 않으며 단일 메서드 실행을 허용하지 않습니다.

또한보십시오:

요약

공개 생성자

DeviceParameterizedRunner (Class<?> klass)

공개 방법

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

보호된 메서드

Statement methodInvoker (FrameworkMethod method, Object testObj)

공개 생성자

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

던지기
org.junit.runners.model.InitializationError
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

보호된 메서드

메서드 호출자

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

매개변수
method FrameworkMethod

testObj Object

보고
Statement