RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RunCommandTargetPreparer


Özet

Kamu inşaatçıları

RunCommandTargetPreparer ()

Genel yöntemler

final void addRunCommand (String cmd)

Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin.

getCommands ()
getExecutedCommands ()
void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

Korumalı yöntemler

ITestDevice getDevice ( TestInformation testInfo)

Hazırlayıcının uygulanacağı cihazı döndürür.

Kamu inşaatçıları

RunCommandTargetPreparer

public RunCommandTargetPreparer ()

Genel yöntemler

addRunKomutu

public final void addRunCommand (String cmd)

Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin.

Parametreler
cmd String

komutları al

public  getCommands ()

İadeler

getExecutionCommands

public  getExecutedCommands ()

İadeler

kurmak

public void setUp (TestInformation testInfo)

Parametreler
testInfo TestInformation

Atar
DeviceNotAvailableException
TargetSetupError

sökmek

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametreler
testInfo TestInformation

e Throwable

Atar
DeviceNotAvailableException

Korumalı yöntemler

cihaz al

protected ITestDevice getDevice (TestInformation testInfo)

Hazırlayıcının uygulanacağı cihazı döndürür.

İadeler
ITestDevice Hazırlayıcının uygulanacağı cihaz.

Atar
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError