CodeCoverageTest

public class CodeCoverageTest
extends InstrumentationTest

java.lang.Object
   ↳ com.android.tradefed.testtype.InstrumentationTest
     ↳ com.android.tradefed.testtype.CodeCoverageTest


指定されたデバイスでインストゥルメンテーション テスト パッケージを実行し、コード カバレッジ レポートを生成するテスト。emma 計測アプリケーションが必要です。

概要

定数

String COVERAGE_REMOTE_FILE_LABEL

パブリック コンストラクタ

CodeCoverageTest()

パブリック メソッド

void run(TestInformation testInfo, ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

定数

COVERAGE_REMOTE_FILE_LABEL

public static final String COVERAGE_REMOTE_FILE_LABEL

定数値: "coverageFilePath"

パブリック コンストラクタ

CodeCoverageTest

public CodeCoverageTest ()

パブリック メソッド

ホームラン

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

パラメータ
testInfo TestInformation: テストの実行に役立つ情報を含む TestInformation オブジェクト。

listener ITestInvocationListener: テスト結果の ITestInvocationListener

例外
DeviceNotAvailableException