NoApkTestSkipper
public final class NoApkTestSkipper
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.app.NoApkTestSkipper |
如果没有要测试的 apk,允许完全跳过调用(准备和测试)的特殊准备器。
概括
公共构造函数 | |
---|---|
NoApkTestSkipper () |
公共方法 | |
---|---|
void | setConfiguration ( IConfiguration configuration) 注入正在使用的 |
void | setUp ( TestInformation testInfo) |
公共构造函数
NoApkTestSkipper
public NoApkTestSkipper ()
公共方法
设置配置
public void setConfiguration (IConfiguration configuration)
注入正在使用的IConfiguration
。
参数 | |
---|---|
configuration | IConfiguration |
设置
public void setUp (TestInformation testInfo)
参数 | |
---|---|
testInfo | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |