WifiPreparer

public class WifiPreparer
extends BaseTargetPreparer implements IExternalDependency

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.WifiPreparer


一个 ITargetPreparer,用于根据需要在设备上配置 Wi-Fi。

DeviceSetup 不同,此准备程序在 adb 不是 root(即用户 build)时也能正常运行。

摘要

公共构造函数

WifiPreparer()

公共方法

getDependencies()
void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

公共构造函数

WifiPreparer

public WifiPreparer ()

公共方法

getDependencies

public  getDependencies ()

返回

setUp

public void setUp (TestInformation testInfo)

参数
testInfo TestInformation

抛出
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

参数
testInfo TestInformation

e Throwable

抛出
DeviceNotAvailableException