CodeCoverageTest
public
class
CodeCoverageTest
extends InstrumentationTest
java.lang.Object | ||
↳ | com.android.tradefed.testtype.InstrumentationTest | |
↳ | com.android.tradefed.testtype.CodeCoverageTest |
A Test that runs an instrumentation test package on a given device and generates the code coverage report. Requires an emma instrumented application.
Summary
Fields | |
---|---|
public
static
final
String |
COVERAGE_REMOTE_FILE_LABEL
|
Public constructors | |
---|---|
CodeCoverageTest()
|
Public methods | |
---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener. |
Fields
COVERAGE_REMOTE_FILE_LABEL
public static final String COVERAGE_REMOTE_FILE_LABEL
Public constructors
CodeCoverageTest
public CodeCoverageTest ()
Public methods
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener.
Parameters | |
---|---|
testInfo |
TestInformation : The TestInformation object containing useful information to run
tests. |
listener |
ITestInvocationListener : the ITestInvocationListener of test results |
Throws | |
---|---|
DeviceNotAvailableException |