CodeCoverageTest

public class CodeCoverageTest
extends InstrumentationTest

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


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

概要

フィールド

public static final String COVERAGE_REMOTE_FILE_LABEL

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

CodeCoverageTest()

パブリック メソッド

void run(TestInformation testInfo, ITestInvocationListener listener)

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

フィールド

COVERAGE_REMOTE_FILE_LABEL

public static final String COVERAGE_REMOTE_FILE_LABEL

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

CodeCoverageTest

public CodeCoverageTest ()

パブリック メソッド

ホームラン

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

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

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

listener ITestInvocationListener: テスト結果の ITestInvocationListener

例外
DeviceNotAvailableException