Wifi准备器
public class WifiPreparer
extends BaseTargetPreparer
implements IExternalDependency
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.WifiPreparer |
必要时在设备上配置 wifi 的ITargetPreparer
。
与DeviceSetup
不同,此准备程序在 adb 不是 root 用户构建时工作。
概括
公共构造函数 | |
---|---|
WifiPreparer () |
公共方法 | |
---|---|
getDependencies () | |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e)
|
公共构造函数
Wifi准备器
public WifiPreparer ()
公共方法
获取依赖项
publicgetDependencies ()
退货 | |
---|---|
设置
public void setUp (TestInformation testInfo)
参数 | |
---|---|
testInfo | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInfo, Throwable e)
参数 | |
---|---|
testInfo | TestInformation |
e | Throwable |
投掷 | |
---|---|
DeviceNotAvailableException |