RunHostCommandTargetPreparer
public
class
RunHostCommandTargetPreparer
extends BaseTargetPreparer
implements
ITestLoggerReceiver
java.lang.Object | ||
🎞 | com.android.tradefed.targetprep.BaseTargetPreparer | |
🎞 | com.android.tradefed.targetprep.RunHostCommandTargetPreparer |
Il preparatore di destinazione deve eseguire comandi host arbitrari prima e dopo l'esecuzione del test.
Riepilogo
Costruttori pubblici | |
---|---|
RunHostCommandTargetPreparer()
|
Metodi pubblici | |
---|---|
void
|
setTestLogger(ITestLogger testLogger)
Inserisce l'istanza |
final
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
Costruttori pubblici
RunHostCommandTargetPreparer
public RunHostCommandTargetPreparer ()
Metodi pubblici
setTestLogger
public void setTestLogger (ITestLogger testLogger)
Inserisce l'istanza ITestLogger
Parametri | |
---|---|
testLogger |
ITestLogger |
impostazione
public final void setUp (TestInformation testInfo)
Parametri | |
---|---|
testInfo |
TestInformation |
Lanci | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
demolire
public void tearDown (TestInformation testInfo, Throwable e)
Parametri | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
Lanci | |
---|---|
DeviceNotAvailableException |