ArtTest

public class ArtTest
extends Object implements IRemoteTest, IShardableTest

java.lang.Object
   ↳ com.android.tradefed.testtype.ArtTest


요약

필드

protected mExecutedTestNames

protected File mRunnerDir

protected int mShardCount

protected int mShardIndex

protected TestInformation mTestInfo

protected mTests

공개 생성자

ArtTest()

공개 메서드

void run(TestInformation testInfo, ITestInvocationListener listener)

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

split(int shardCount)

실행을 시도한 shardCount도 제공하는 split()의 대체 버전입니다.

필드

mExecutedTestNames

protected  mExecutedTestNames

mRunnerDir

protected File mRunnerDir

mShardCount

protected int mShardCount

mShardIndex

protected int mShardIndex

mTestInfo

protected TestInformation mTestInfo

mTests

protected  mTests

공개 생성자

ArtTest

public ArtTest ()

공개 메서드

실행

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

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

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

listener ITestInvocationListener: 테스트 결과의 ITestInvocationListener

생성 값
DeviceNotAvailableException

분할

public  split (int shardCount)

실행을 시도한 shardCount도 제공하는 split()의 대체 버전입니다. 이는 임의로 결정할 수 없는 일부 테스트 러너에 유용합니다.

매개변수
shardCount int: 시도된 샤드 수입니다.

반환 값
별도로 실행할 하위 테스트 모음 또는 테스트를 현재 샤딩할 수 없는 경우 null