DynamicSystemPreparer
public
class
DynamicSystemPreparer
extends BaseTargetPreparer
implements
ILabPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DynamicSystemPreparer |
An ITargetPreparer
that sets up a system image on top of a device build with the Dynamic
System Update.
Summary
Public constructors | |
---|---|
DynamicSystemPreparer()
|
Public methods | |
---|---|
void
|
setUp(TestInformation testInfo)
Perform the target setup for testing. |
void
|
tearDown(TestInformation testInfo, Throwable e)
Perform the target cleanup/teardown after testing. |
Public constructors
DynamicSystemPreparer
public DynamicSystemPreparer ()
Public methods
setUp
public void setUp (TestInformation testInfo)
Perform the target setup for testing.
Parameters | |
---|---|
testInfo |
TestInformation : The TestInformation of the invocation. |
Throws | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
Perform the target cleanup/teardown after testing.
Parameters | |
---|---|
testInfo |
TestInformation : The TestInformation of the invocation. |
e |
Throwable : if the invocation ended with an exception, this will be the exception that was
caught at the Invocation level. Otherwise, will be null . |
Throws | |
---|---|
DeviceNotAvailableException |