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) מזריק את |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e)
|
בנאים ציבוריים
TearDownPassThroughPreparer
public TearDownPassThroughPreparer ()
שיטות ציבוריות
setConfiguration
public void setConfiguration (IConfiguration configuration)
מזריק את IConfiguration
בשימוש.
פרמטרים | |
---|---|
configuration | IConfiguration |
לקרוע
public void tearDown (TestInformation testInfo, Throwable e)
פרמטרים | |
---|---|
testInfo | TestInformation |
e | Throwable |
זורק | |
---|---|
DeviceNotAvailableException |