Dinamik Sistem Hazırlayıcı

public class DynamicSystemPreparer
extends BaseTargetPreparer implements ILabPreparer

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


Dinamik Sistem Güncellemesi ile bir cihaz yapısının üstüne bir sistem görüntüsü kuran bir ITargetPreparer .

Özet

Kamu inşaatçıları

DynamicSystemPreparer ()

Genel yöntemler

void setUp ( TestInformation testInfo)

Test için hedef kurulumu gerçekleştirin.

void tearDown ( TestInformation testInfo, Throwable e)

Testten sonra hedef temizleme/yıkma işlemini gerçekleştirin.

Kamu inşaatçıları

Dinamik Sistem Hazırlayıcı

public DynamicSystemPreparer ()

Genel yöntemler

kurmak

public void setUp (TestInformation testInfo)

Test için hedef kurulumu gerçekleştirin.

Parametreler
testInfo TestInformation : Çağrının TestInformation .

Atar
BuildError
DeviceNotAvailableException
TargetSetupError

sökmek

public void tearDown (TestInformation testInfo, 
                Throwable e)

Testten sonra hedef temizleme/yıkma işlemini gerçekleştirin.

Parametreler
testInfo TestInformation : Çağrının TestInformation .

e Throwable : Eğer çağrı bir istisna ile sona erdiyse, bu, Çağırma seviyesinde yakalanan istisna olacaktır. Aksi halde null olacaktır.

Atar
DeviceNotAvailableException