CoverageOptions
public
final
class
CoverageOptions
extends Object
java.lang.Object | |
↳ | com.android.tradefed.testtype.coverage.CoverageOptions |
Tradefed object to hold coverage options.
Summary
Nested classes | |
---|---|
enum |
CoverageOptions.Toolchain
|
Public constructors | |
---|---|
CoverageOptions()
|
Public methods | |
---|---|
|
getCoverageProcesses()
Returns the name of processes to flush coverage from after the test has completed. |
|
getCoverageToolchains()
Returns the coverage toolchains to collect coverage from. |
File
|
getLlvmProfdataPath()
Returns the directory containing the llvm-profdata tool. |
boolean
|
isCoverageEnabled()
Returns whether coverage measurements should be collected from this run. |
boolean
|
isCoverageFlushEnabled()
Returns whether coverage measurements should be flushed from running processes after the test has completed. |
Public constructors
CoverageOptions
public CoverageOptions ()
Public methods
getCoverageProcesses
publicgetCoverageProcesses ()
Returns the name of processes to flush coverage from after the test has completed.
Returns | |
---|---|
|
a ERROR(/List) of process names to flush coverage from after the test
|
getCoverageToolchains
publicgetCoverageToolchains ()
Returns the coverage toolchains to collect coverage from.
Returns | |
---|---|
|
the toolchains to collect coverage from |
getLlvmProfdataPath
public File getLlvmProfdataPath ()
Returns the directory containing the llvm-profdata tool.
Returns | |
---|---|
File |
a ERROR(/File) containing the llvm-profdata tool and its dependencies
|
isCoverageEnabled
public boolean isCoverageEnabled ()
Returns whether coverage measurements should be collected from this run.
Returns | |
---|---|
boolean |
whether to collect coverage measurements |
isCoverageFlushEnabled
public boolean isCoverageFlushEnabled ()
Returns whether coverage measurements should be flushed from running processes after the test has completed.
Returns | |
---|---|
boolean |
whether to flush processes for coverage measurements after the test |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.