本地运行指令生成器

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 :测试运行的ERROR(/ConfiguratonDescriptor)配置。

testId TestDescriptionTestDescription指定要运行的测试。

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