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

Constants

String COVERAGE_REMOTE_FILE_LABEL

Public constructors

CodeCoverageTest()

Public methods

void run(ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Constants

COVERAGE_REMOTE_FILE_LABEL

String COVERAGE_REMOTE_FILE_LABEL

Constant Value: "coverageFilePath"

Public constructors

CodeCoverageTest

CodeCoverageTest ()

Public methods

run

void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener ITestInvocationListener: the ITestInvocationListener of test results
Throws
DeviceNotAvailableException