ArtTest

public class ArtTest
extends Object implements IRemoteTest, IShardableTest

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


Riepilogo

Campi

protected mExecutedTestNames

protected File mRunnerDir

protected int mShardCount

protected int mShardIndex

protected TestInformation mTestInfo

protected mTests

Costruttori pubblici

ArtTest()

Metodi pubblici

void run(TestInformation testInfo, ITestInvocationListener listener)

Esegue i test e comunica il risultato al listener.

split(int shardCount)

Versione alternativa di split() che fornisce anche il valore shardCount che viene tentato di eseguire.

Campi

mExecutedTestNames

protected  mExecutedTestNames

mRunnerDir

protected File mRunnerDir

mShardCount

protected int mShardCount

mShardIndex

protected int mShardIndex

mTestInfo

protected TestInformation mTestInfo

mTests

protected  mTests

Costruttori pubblici

ArtTest

public ArtTest ()

Metodi pubblici

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Esegue i test e comunica il risultato al listener.

Parametri
testInfo TestInformation: l'oggetto TestInformation contenente informazioni utili per eseguire i test.

listener ITestInvocationListener: il ITestInvocationListener dei risultati del test

Lanci
DeviceNotAvailableException

suddivisione

public  split (int shardCount)

Versione alternativa di split() che fornisce anche il valore shardCount che viene tentato di eseguire. Ciò è utile per alcuni test runner che a volte non possono decidere in modo arbitrario.

Parametri
shardCount int: il numero di shard tentato.

Ritorni
una raccolta di test secondari da eseguire separatamente o null se il test non è attualmente suddivisibile