CoverageOptions
public final class CoverageOptions
extends Object
java.lang.Object | |
↳ | com.android.tradefed.testtype.coverage.CoverageOptions |
カバレッジオプションを保持するためのTradefedオブジェクト。
概要
ネストされたクラス | |
---|---|
enum | CoverageOptions.Toolchain
|
パブリックコンストラクター | |
---|---|
CoverageOptions () |
パブリックメソッド | |
---|---|
getCoverageProcesses () テストの完了後にカバレッジをフラッシュするプロセスの名前を返します。 | |
getCoverageToolchains () カバレッジを収集するカバレッジツールチェーンを返します。 | |
File | getLlvmProfdataPath () llvm-profdataツールを含むディレクトリを返します。 |
String | getProfrawFilter () カバレッジ測定に使用されるprofdataファイル名のプレフィックスを返します。 |
boolean | isCoverageEnabled () この実行からカバレッジ測定値を収集する必要があるかどうかを返します。 |
boolean | isCoverageFlushEnabled () テストの完了後に、実行中のプロセスからカバレッジ測定値をフラッシュする必要があるかどうかを返します。 |
パブリックコンストラクター
CoverageOptions
public CoverageOptions ()
パブリックメソッド
getCoverageProcesses
publicgetCoverageProcesses ()
テストの完了後にカバレッジをフラッシュするプロセスの名前を返します。
戻り値 | |
---|---|
ERROR(/List) 試験後からフラッシュカバレッジへのプロセス名の |
getCoverageToolchains
publicgetCoverageToolchains ()
カバレッジを収集するカバレッジツールチェーンを返します。
戻り値 | |
---|---|
カバレッジを収集するためのツールチェーン |
getLlvmProfdataPath
public File getLlvmProfdataPath ()
llvm-profdataツールを含むディレクトリを返します。
戻り値 | |
---|---|
File | ERROR(/File) LLVM-profdataツールとその依存関係を含みます |
getProfrawFilter
public String getProfrawFilter ()
カバレッジ測定に使用されるprofdataファイル名のプレフィックスを返します。
戻り値 | |
---|---|
String | String profdataファイル名の接頭辞を含みます |
isCoverageEnabled
public boolean isCoverageEnabled ()
この実行からカバレッジ測定値を収集する必要があるかどうかを返します。
戻り値 | |
---|---|
boolean | カバレッジ測定値を収集するかどうか |
isCoverageFlushEnabled
public boolean isCoverageFlushEnabled ()
テストの完了後に、実行中のプロセスからカバレッジ測定値をフラッシュする必要があるかどうかを返します。
戻り値 | |
---|---|
boolean | テスト後にカバレッジ測定のためにプロセスをフラッシュするかどうか |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]