CodeCoverageTest

public class CodeCoverageTest
extends InstrumentationTest

java.lang.Object
   ↳ com.android.tradefed.testtype.InstrumentationTest
     ↳ com.android.tradefed.testtype.CodeCoverageTest


Test, który uruchamia pakiet testów z instrumentacją na danym urządzeniu i generuje raport o zakresie testowania kodu. Wymaga aplikacji z wbudowanym emma.

Podsumowanie

Fieldsem

public static final String COVERAGE_REMOTE_FILE_LABEL

Konstruktory publiczne

CodeCoverageTest()

Metody publiczne

void run(TestInformation testInfo, ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki do odbiorcy.

Fieldsem

COVERAGE_REMOTE_FILE_LABEL

public static final String COVERAGE_REMOTE_FILE_LABEL

Konstruktory publiczne

CodeCoverageTest

public CodeCoverageTest ()

Metody publiczne

home run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki do odbiorcy.

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

listener ITestInvocationListener: ITestInvocationListener wyników testu

Rzuty
DeviceNotAvailableException