本地運行指令產生器

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)

編譯指令以在本機上執行測試。

公共構造函數

本地運行指令產生器

public LocalRunInstructionBuilder ()

公共方法

獲取命令

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

返回在本地運行測試的命令。

參數
configDescriptor ConfigurationDescriptor :測試運行的ConfigurationDescriptor配置。

testId TestDescriptionTestDescription指定要執行的測試。

runner ConfigurationDescriptor.LocalTestRunner :用於執行測試的LocalTestRunner

退貨
String用於在本地運行測試的String命令。

取得指令

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

編譯指令以在本機上執行測試。

參數
configDescriptor ConfigurationDescriptor :要為其建立指令的ConfigurationDescriptor

runner ConfigurationDescriptor.LocalTestRunner :用於建立指令的LocalTestRunner

testId TestDescription :要執行的測試的TestDescription 。為整個模組建置本地運行指令時可以為空。

退貨
String指令的String

取得指令

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

編譯指令以在本機上執行測試。

參數
configDescriptor ConfigurationDescriptor :要為其建立指令的ConfigurationDescriptor

runner ConfigurationDescriptor.LocalTestRunner :用於建立指令的LocalTestRunner

退貨
String指令的String