ArtTest

public class ArtTest
extends Object implements IRemoteTest, IShardableTest

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


Podsumowanie

Fieldsem

protected mExecutedTestNames

protected File mRunnerDir

protected int mShardCount

protected int mShardIndex

protected TestInformation mTestInfo

protected mTests

Publiczne konstruktory

ArtTest()

Metody publiczne

void run(TestInformation testInfo, ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki odbiorcy.

split(int shardCount)

Alternatywna wersja split(), która zawiera też liczbę fragmentów, które mają zostać uruchomione.

Fieldsem

mExecutedTestNames

protected  mExecutedTestNames

mRunnerDir

protected File mRunnerDir

mShardCount

protected int mShardCount

mShardIndex

protected int mShardIndex

mTestInfo

protected TestInformation mTestInfo

mTests

protected  mTests

Publiczne konstruktory

ArtTest

public ArtTest ()

Metody publiczne

home run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki odbiorcy.

Parametry
testInfo TestInformation: Obiekt TestInformation zawierający przydatne informacje do przeprowadzania testów.

listener ITestInvocationListener: ITestInvocationListener wyników testu

Zgłasza
DeviceNotAvailableException

podziel

public  split (int shardCount)

Alternatywna wersja split(), która zawiera też liczbę fragmentów, które mają zostać uruchomione. Jest to przydatne w przypadku niektórych programów do uruchamiania testów, które nie mogą czasami podejmować arbitralnych decyzji.

Parametry
shardCount int: liczba fragmentów, które próbowano utworzyć.

Zwroty
zbiór podtestów do wykonania osobno lub null, jeśli test nie jest obecnie podzielony na części.