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: テスト実行の ERROR(/ConfiguratonDescriptor) 構成。

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

runner ConfigurationDescriptor.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