ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver

java.lang.Object
com.android.tradefed.cluster.ClusterCommandLauncher


하위 프로세스 TF를 통해 TFC에서 명령을 실행하는 IRemoteTest 클래스입니다. FIXME: 다중 장치 테스트를 지원하려면 확장이 필요합니다.

요약

필드

public static final String ANDROID_SERIALS

public static final String TEST_WORK_DIR

public static final String TF_DEVICE_COUNT

public static final String TF_JAR_DIR

public static final String TF_PATH

공개 생성자

ClusterCommandLauncher ()

공개 메소드

void run ( TestInformation testInfo, ITestInvocationListener listener)

테스트를 실행하고 결과를 리스너에게 보고합니다.

void setConfiguration ( IConfiguration configuration)

사용 중인 IConfiguration 삽입합니다.

void setInvocationContext ( IInvocationContext invocationContext)

필드

ANDROID_SERIALS

public static final String ANDROID_SERIALS

TEST_WORK_DIR

public static final String TEST_WORK_DIR

TF_DEVICE_COUNT

public static final String TF_DEVICE_COUNT

TF_JAR_DIR

public static final String TF_JAR_DIR

TF_PATH

public static final String TF_PATH

공개 생성자

ClusterCommandLauncher

public ClusterCommandLauncher ()

공개 메소드

달리다

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

테스트를 실행하고 결과를 리스너에게 보고합니다.

매개변수
testInfo TestInformation : 테스트를 실행하는 데 유용한 정보가 포함된 TestInformation 개체입니다.

listener ITestInvocationListener : 테스트 결과의 ITestInvocationListener

던지기
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

사용 중인 IConfiguration 삽입합니다.

매개변수
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

매개변수
invocationContext IInvocationContext