DeviceParameterizedRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

java.lang.Object
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 스타일 매개변수화 실행기입니다.

이 실행기는 JUnitParamsRunner 기반으로 하며 JUnit4 기본 Parameterized 는 아니지만 기본 매개변수화 실행기는 실제로 좋지 않으며 단일 메서드 실행을 허용하지 않습니다.

또한보십시오:

요약

공개 생성자

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

테스트정보 가져오기

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