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 pokryciu kodu. Wymaga aplikacji z instrumentacją emma.

Podsumowanie

Stałe

String COVERAGE_REMOTE_FILE_LABEL

Publiczne konstruktory

CodeCoverageTest()

Metody publiczne

void run(TestInformation testInfo, ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki odbiorcy.

Stałe

COVERAGE_REMOTE_FILE_LABEL

public static final String COVERAGE_REMOTE_FILE_LABEL

Wartość stała: "coverageFilePath"

Publiczne konstruktory

CodeCoverageTest

public CodeCoverageTest ()

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