コードカバレッジテスト

public class CodeCoverageTest
extends InstrumentationTest

java.lang.オブジェクト
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

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

コードカバレッジテスト

public CodeCoverageTest ()

パブリックメソッド

走る

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

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

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

listener ITestInvocationListener : テスト結果のITestInvocationListener

投げる
DeviceNotAvailableException