ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IConfigurationReceiver, IInvocationContextReceiver, IRemoteTest

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


하위 프로세스 TF를 통해 TFC에서 명령어를 실행하는 IRemoteTest 클래스 FIXME: 멀티스크린 테스트를 지원하도록 확장해야 합니다.

요약

상수

String ANDROID_SERIALS

String TEST_WORK_DIR

String TF_DEVICE_COUNT

String TF_JAR_DIR

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

상수 값: "ANDROID_SERIALS"

TEST_WORK_DIR

public static final String TEST_WORK_DIR

상수 값: "TEST_WORK_DIR"

TF_DEVICE_COUNT

public static final String TF_DEVICE_COUNT

상수 값: "TF_DEVICE_COUNT"

TF_JAR_DIR

public static final String TF_JAR_DIR

상수 값: 'TF_JAR_DIR'

TF_PATH

public static final String TF_PATH

상수 값: '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