RunHostScriptTargetPreparer
public
class
RunHostScriptTargetPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RunHostScriptTargetPreparer |
Target preparer which executes a script before running a test. The script can reference the device's serial number using the ANDROID_SERIAL environment variable.
Summary
Public constructors | |
---|---|
RunHostScriptTargetPreparer()
|
Public methods | |
---|---|
final
void
|
setUp(TestInformation testInfo)
|
Public constructors
RunHostScriptTargetPreparer
public RunHostScriptTargetPreparer ()
Public methods
setUp
public final void setUp (TestInformation testInfo)
Parameters | |
---|---|
testInfo |
TestInformation |
Throws | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |