RunHostCommandTargetPreparer

public class RunHostCommandTargetPreparer
extends BaseTargetPreparer implements ITestLoggerReceiver

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.RunHostCommandTargetPreparer


Mempersiapkan target untuk menjalankan perintah host arbitrer sebelum dan sesudah menjalankan pengujian.

Ringkasan

Konstruktor publik

RunHostCommandTargetPreparer()

Metode publik

void setTestLogger(ITestLogger testLogger)

Memasukkan instance ITestLogger

final void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

Konstruktor publik

RunHostCommandTargetPreparer

public RunHostCommandTargetPreparer ()

Metode publik

setTestLogger

public void setTestLogger (ITestLogger testLogger)

Memasukkan instance ITestLogger

Parameter
testLogger ITestLogger

penyiapan

public final void setUp (TestInformation testInfo)

Parameter
testInfo TestInformation

Menampilkan
BuildError
DeviceNotAvailableException
TargetSetupError

pembongkaran

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parameter
testInfo TestInformation

e Throwable

Menampilkan
DeviceNotAvailableException