LocalRun命令ビルダー
public class LocalRunInstructionBuilder
extends Object
java.lang.オブジェクト | |
↳ | com.android.tradefed.util.LocalRunstructionBuilder |
テストをローカルで実行する命令をコンパイルするユーティリティ。
まとめ
パブリックコンストラクター | |
---|---|
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) テストをローカルで実行する命令をコンパイルします。 |
パブリックコンストラクター
LocalRun命令ビルダー
public LocalRunInstructionBuilder ()
パブリックメソッド
getコマンド
public static String getCommand (ConfigurationDescriptor configDescriptor, TestDescription testId, ConfigurationDescriptor.LocalTestRunner runner)
テストをローカルで実行するコマンドを返します。
パラメーター | |
---|---|
configDescriptor | ConfigurationDescriptor : テスト実行のConfigurationDescriptor 構成。 |
testId | TestDescription : 実行するテストを指定するTestDescription 。 |
runner | ConfigurationDescriptor.LocalTestRunner : テストの実行に使用するLocalTestRunner 。 |
戻り値 | |
---|---|
String | テストをローカルで実行するためのString コマンド。 |
get命令
public static String getInstruction (ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner, TestDescription testId)
テストをローカルで実行する命令をコンパイルします。
パラメーター | |
---|---|
configDescriptor | ConfigurationDescriptor : 命令を作成するためのConfigurationDescriptor 。 |
runner | ConfigurationDescriptor.LocalTestRunner : 命令のビルドに使用されるLocalTestRunner 。 |
testId | TestDescription : 実行するテストのTestDescription 。モジュール全体のローカル実行命令を構築する場合は、null にすることができます。 |
戻り値 | |
---|---|
String | 命令のString 。 |
get命令
public static String getInstruction (ConfigurationDescriptor configDescriptor, ConfigurationDescriptor.LocalTestRunner runner)
テストをローカルで実行する命令をコンパイルします。
パラメーター | |
---|---|
configDescriptor | ConfigurationDescriptor : 命令を作成するためのConfigurationDescriptor 。 |
runner | ConfigurationDescriptor.LocalTestRunner : 命令のビルドに使用されるLocalTestRunner 。 |
戻り値 | |
---|---|
String | 命令のString 。 |