AppSetup
public class AppSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.AppSetup |
ITargetPreparer
שמתקין apk והבדיקות שלו.
דורש 'aapt' ב-PATH כאשר --uninstall מוגדר
סיכום
בנאים ציבוריים | |
---|---|
AppSetup () |
שיטות ציבוריות | |
---|---|
void | setUp ( ITestDevice device, IBuildInfo buildInfo) |
void | tearDown ( ITestDevice device, IBuildInfo buildInfo, Throwable e)
|
בנאים ציבוריים
AppSetup
public AppSetup ()
שיטות ציבוריות
להכין
public void setUp (ITestDevice device, IBuildInfo buildInfo)
פרמטרים | |
---|---|
device | ITestDevice |
buildInfo | IBuildInfo |
זורק | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
לקרוע
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
פרמטרים | |
---|---|
device | ITestDevice |
buildInfo | IBuildInfo |
e | Throwable |
זורק | |
---|---|
DeviceNotAvailableException |