LocalRunInstructionBuilder

public class LocalRunInstructionBuilder
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.LocalRunInstructionBuilder


テストをローカルで実行するための命令をコンパイルするユーティリティ。

概要

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

LocalRunInstructionBuilder()

パブリック メソッド

static String getCommand(ConfigurationDescriptor configDescriptor, TestDescription testId, ConfigurationDescriptor.LocalTestRunner runner)

ローカルでテストを実行するコマンドを返します。

static String getInstruction(ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner, TestDescription testId)

テストをローカルで実行するように命令をコンパイルします。

static String getInstruction(ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner)

テストをローカルで実行するように命令をコンパイルします。

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

LocalRunInstructionBuilder

public LocalRunInstructionBuilder ()

パブリック メソッド

getCommand

public static String getCommand (ConfigurationDescriptor configDescriptor, 
                TestDescription testId, 
                ConfigurationDescriptor.LocalTestRunner runner)

ローカルでテストを実行するコマンドを返します。

パラメータ
configDescriptor ConfigurationDescriptor: テスト実行の ConfigurationDescriptor 構成。

testId TestDescription: TestDescription: 実行するテストを指定します。

runner ConfigurationDescriptor.LocalTestRunner: テストの実行に使用する LocalTestRunner

戻り値
String テストをローカルで実行する String コマンド。

getInstruction

public static String getInstruction (ConfigurationDescriptor configDescriptor, 
                ConfigurationDescriptor.LocalTestRunner runner, 
                TestDescription testId)

テストをローカルで実行するように指示をコンパイルします。

パラメータ
configDescriptor ConfigurationDescriptor: 指示を作成する ConfigurationDescriptor

runner ConfigurationDescriptor.LocalTestRunner: 命令の作成に使用する LocalTestRunner

testId TestDescription: 実行するテストの TestDescription。モジュール全体のローカル実行命令をビルドする場合は、null にできます。

戻り値
String String の命令。

getInstruction

public static String getInstruction (ConfigurationDescriptor configDescriptor, 
                ConfigurationDescriptor.LocalTestRunner runner)

テストをローカルで実行するように指示をコンパイルします。

パラメータ
configDescriptor ConfigurationDescriptor: 指示を作成する ConfigurationDescriptor

runner ConfigurationDescriptor.LocalTestRunner: 命令の作成に使用する LocalTestRunner

戻り値
String String の命令。