PushFilePreparer

public class PushFilePreparer
extends BaseTargetPreparer implements IAbiReceiver , IInvocationContextReceiver , IDiscoverDependencies

java.lang.Nesne
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.PushFilePreparer


Herhangi bir sayıda dosyayı herhangi bir ana bilgisayar yolundan herhangi bir cihaz yoluna göndermeye çalışan bir ITargetPreparer .

Yeni bir derleme yanıp söndükten *sonra* ve DeviceSetup çalıştırıldıktan *sonra* gerçekleştirilmelidir (etkinleştirilmişse)

Özet

Kamu inşaatçıları

PushFilePreparer ()

Genel yöntemler

IAbi getAbi ()

final getPushSpecs ( DeviceDescriptor descriptor)

İtilecek dosyaların listesini oluşturun.

reportDependencies ()
File resolveRelativeFilePath ( IBuildInfo buildInfo, String fileName)

Göreli dosya yolunu IBuildInfo ve test senaryoları dizinleri aracılığıyla çözün.

void setAbi ( IAbi abi)

void setInvocationContext ( IInvocationContext invocationContext)

void setUp ( TestInformation testInfo)

boolean shouldAbortOnFailure ()

Push arızasında iptal edilip edilmeyeceği.

void tearDown ( TestInformation testInfo, Throwable e)

Kamu inşaatçıları

PushFilePreparer

public PushFilePreparer ()

Genel yöntemler

getAbi

public IAbi getAbi ()

İadeler
IAbi

getPushÖzellikleri

public final  getPushSpecs (DeviceDescriptor descriptor)

İtilecek dosyaların listesini oluşturun.

parametreler
descriptor DeviceDescriptor

İadeler

atar
TargetSetupError

raporbağımlılıkları

public  reportDependencies ()

İadeler

çözmekGöreceliDosyaYolu

public File resolveRelativeFilePath (IBuildInfo buildInfo, 
                String fileName)

Göreli dosya yolunu IBuildInfo ve test senaryoları dizinleri aracılığıyla çözün.

parametreler
buildInfo IBuildInfo : yapı yapı bilgisi

fileName String : çözülecek göreli dosya yolu

İadeler
File derleme bilgisi veya test senaryoları dizinlerinden dosya

setAbi

public void setAbi (IAbi abi)

parametreler
abi IAbi

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

parametreler
invocationContext IInvocationContext

kurmak

public void setUp (TestInformation testInfo)

parametreler
testInfo TestInformation

atar
BuildError
DeviceNotAvailableException
TargetSetupError

IptalOnFailure

public boolean shouldAbortOnFailure ()

Push arızasında iptal edilip edilmeyeceği.

İadeler
boolean

sökmek

public void tearDown (TestInformation testInfo, 
                Throwable e)

parametreler
testInfo TestInformation

e Throwable

atar
DeviceNotAvailableException