WifiPreparer
public
class
WifiPreparer
extends BaseTargetPreparer
implements
IExternalDependency
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.WifiPreparer |
A ITargetPreparer
that configures wifi on the device if necessary.
Unlike DeviceSetup
, this preparer works when adb is not root aka user builds.
Summary
Public constructors | |
---|---|
WifiPreparer()
|
Public methods | |
---|---|
|
getDependencies()
|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
Public constructors
WifiPreparer
public WifiPreparer ()
Public methods
getDependencies
publicgetDependencies ()
Returns | |
---|---|
|
setUp
public void setUp (TestInformation testInfo)
Parameters | |
---|---|
testInfo |
TestInformation |
Throws | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
Parameters | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
Throws | |
---|---|
DeviceNotAvailableException |