TearDownPassThroughPreparer

public class TearDownPassThroughPreparer
extends BaseTargetPreparer implements IConfigurationReceiver

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


يسمح بتشغيل tearDown على أدوات الإعداد التي يتم تضمينها في ملف الإعدادات كعنصر.

عند تضمين أداة إعداد كعنصر في الإعدادات بدلاً من ITargetPreparer، لن يتم استدعاء tearDown. سيؤدّي الإشارة إليه من هذا المُعدِّل إلى التأكّد من أنّه سيتم استدعاء أسلوب tearDown.

ملخّص

وظائف الإنشاء العامة

TearDownPassThroughPreparer()

الطرق العامة

void setConfiguration(IConfiguration configuration)

تحقِّق من استخدام IConfiguration.

void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

وظائف الإنشاء العامة

TearDownPassThroughPreparer

public TearDownPassThroughPreparer ()

الطرق العامة

setConfiguration

public void setConfiguration (IConfiguration configuration)

تحقِّق من استخدام IConfiguration.

المعلمات
configuration IConfiguration

setUp

public void setUp (TestInformation testInfo)

المعلمات
testInfo TestInformation

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

المعلمات
testInfo TestInformation

e Throwable

عمليات الرمي
DeviceNotAvailableException