RunHostCommandTargetPreparer
public
class
RunHostCommandTargetPreparer
extends BaseTargetPreparer
implements
ITestLoggerReceiver
Objeto java.lang. | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RunHostCommandTargetPreparer |
Preparador de objetivos para ejecutar comandos de host arbitrarios antes y después de ejecutar la prueba.
Resumen
Constructores públicos | |
---|---|
RunHostCommandTargetPreparer()
|
Métodos públicos | |
---|---|
void
|
setTestLogger(ITestLogger testLogger)
Inserta la instancia |
final
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
Constructores públicos
RunHostCommandTargetPreparer
public RunHostCommandTargetPreparer ()
Métodos públicos
setTestLogger
public void setTestLogger (ITestLogger testLogger)
Inserta la instancia ITestLogger
.
Parámetros | |
---|---|
testLogger |
ITestLogger |
Configuración
public final void setUp (TestInformation testInfo)
Parámetros | |
---|---|
testInfo |
TestInformation |
Arroja | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
Eliminar
public void tearDown (TestInformation testInfo, Throwable e)
Parámetros | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
Arroja | |
---|---|
DeviceNotAvailableException |