CodeCoverageTest
public
class
CodeCoverageTest
extends InstrumentationTest
| java.lang.Object | ||
| ↳ | com.android.tradefed.testtype.InstrumentationTest | |
| ↳ | com.android.tradefed.testtype.CodeCoverageTest | |
Belirli bir cihazda araç testi paketi çalıştıran ve kod kapsamı raporu oluşturan bir testtir. Emma ile donatılmış bir uygulama gerektirir.
Özet
Sabitler | |
|---|---|
String |
COVERAGE_REMOTE_FILE_LABEL
|
Herkese açık oluşturucular | |
|---|---|
CodeCoverageTest()
|
|
Herkese açık yöntemler | |
|---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Testleri çalıştırır ve sonuçları dinleyiciye bildirir. |
Sabitler
COVERAGE_REMOTE_FILE_LABEL
public static final String COVERAGE_REMOTE_FILE_LABEL
Sabit Değer: "coverageFilePath"
Herkese açık oluşturucular
CodeCoverageTest
public CodeCoverageTest ()
Herkese açık yöntemler
çalıştır
public void run (TestInformation testInfo, ITestInvocationListener listener)
Testleri çalıştırır ve sonuçları dinleyiciye bildirir.
| Parametreler | |
|---|---|
testInfo |
TestInformation: Testleri çalıştırmak için yararlı bilgiler içeren TestInformation nesnesi. |
listener |
ITestInvocationListener: Test sonuçlarının ITestInvocationListener |
| Dekoratif yastıklar | |
|---|---|
DeviceNotAvailableException |
|