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 ()

公共方法

獲取依賴項

public  getDependencies ()

退貨

設置

public void setUp (TestInformation testInfo)

參數
testInfo TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInfo, 
                Throwable e)

參數
testInfo TestInformation

e Throwable

投擲
DeviceNotAvailableException