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 不是根目錄 (也就是使用者版本) 時也能運作。
摘要
公用建構函式 | |
|---|---|
WifiPreparer()
|
|
公用方法 | |
|---|---|
|
getDependencies()
|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
公用建構函式
WifiPreparer
public WifiPreparer ()
公用方法
getDependencies
publicgetDependencies ()
| 傳回 | |
|---|---|
|
|
setUp
public void setUp (TestInformation testInfo)
| 參數 | |
|---|---|
testInfo |
TestInformation |
| 擲回 | |
|---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
|
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
| 參數 | |
|---|---|
testInfo |
TestInformation |
e |
Throwable |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|