ArtTest

public class ArtTest
extends Object implements IRemoteTest, IShardableTest

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


Ringkasan

Kolom

protected mExecutedTestNames

protected File mRunnerDir

protected int mShardCount

protected int mShardIndex

protected TestInformation mTestInfo

protected mTests

Konstruktor publik

ArtTest()

Metode publik

void run(TestInformation testInfo, ITestInvocationListener listener)

Menjalankan pengujian, dan melaporkan hasilnya ke pendengar.

split(int shardCount)

Versi alternatif split() yang juga menyediakan shardCount yang dicoba untuk dijalankan.

Kolom

mExecutedTestNames

protected  mExecutedTestNames

mRunnerDir

protected File mRunnerDir

mShardCount

protected int mShardCount

mShardIndex

protected int mShardIndex

mTestInfo

protected TestInformation mTestInfo

mTests

protected  mTests

Konstruktor publik

ArtTest

public ArtTest ()

Metode publik

lari

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Menjalankan pengujian, dan melaporkan hasilnya ke pendengar.

Parameter
testInfo TestInformation: Objek TestInformation yang berisi informasi berguna untuk menjalankan pengujian.

listener ITestInvocationListener: ITestInvocationListener hasil pengujian

Menampilkan
DeviceNotAvailableException

pisahkan

public  split (int shardCount)

Versi alternatif split() yang juga menyediakan shardCount yang dicoba untuk dijalankan. Hal ini berguna untuk beberapa peluncur pengujian yang terkadang tidak dapat memutuskan secara sewenang-wenang.

Parameter
shardCount int: jumlah shard yang dicoba.

Hasil
kumpulan subtes yang akan dieksekusi secara terpisah atau null jika tes saat ini tidak dapat dibagi