Test pokrycia kodu
public class CodeCoverageTest
extends InstrumentationTest
java.lang.Object | ||
com.android.tradefed.testtype.InstrumentationTest | ||
com.android.tradefed.testtype.CodeCoverageTest |
Test, który uruchamia pakiet testowy oprzyrządowania na danym urządzeniu i generuje raport pokrycia kodu. Wymaga aplikacji z instrumentami emma.
Streszczenie
Pola | |
---|---|
public static final String | COVERAGE_REMOTE_FILE_LABEL
|
Konstruktorzy publiczni | |
---|---|
CodeCoverageTest () |
Metody publiczne | |
---|---|
void | run ( TestInformation testInfo, ITestInvocationListener listener) Uruchamia testy i raportuje wyniki słuchaczowi. |
Pola
COVERAGE_REMOTE_FILE_LABEL
public static final String COVERAGE_REMOTE_FILE_LABEL
Konstruktorzy publiczni
Test pokrycia kodu
public CodeCoverageTest ()
Metody publiczne
biegać
public void run (TestInformation testInfo, ITestInvocationListener listener)
Uruchamia testy i raportuje wyniki słuchaczowi.
Parametry | |
---|---|
testInfo | TestInformation : obiekt TestInformation zawierający przydatne informacje do uruchamiania testów. |
listener | ITestInvocationListener : ITestInvocationListener wyników testów |
Rzuty | |
---|---|
DeviceNotAvailableException |