{i>InstallAllTestZipAppsSetup<i}
public
class
InstallAllTestZipAppsSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.InstallAllTestZipAppsSetup |
ITargetPreparer
yang menginstal semua aplikasi di zip pengujian. Untuk penginstalan aplikasi pengujian individual
lihat TestAppInstallSetup
.
Ringkasan
Konstruktor publik | |
---|---|
InstallAllTestZipAppsSetup()
|
Metode publik | |
---|---|
void
|
setCleanup(boolean cleanup)
|
void
|
setStopInstallOnFailure(boolean stopInstallOnFailure)
|
void
|
setTestZipName(String testZipName)
|
void
|
setUp(ITestDevice device, IBuildInfo buildInfo)
|
void
|
tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e)
|
Konstruktor publik
{i>InstallAllTestZipAppsSetup<i}
public InstallAllTestZipAppsSetup ()
Metode publik
setPembersihan
public void setCleanup (boolean cleanup)
Parameter | |
---|---|
cleanup |
boolean |
setStopInstallOnFailure
public void setStopInstallOnFailure (boolean stopInstallOnFailure)
Parameter | |
---|---|
stopInstallOnFailure |
boolean |
setTestZipName
public void setTestZipName (String testZipName)
Parameter | |
---|---|
testZipName |
String |
penyiapan
public void setUp (ITestDevice device, IBuildInfo buildInfo)
Parameter | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
Menampilkan | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |
pembongkaran
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
Parameter | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
e |
Throwable |
Menampilkan | |
---|---|
DeviceNotAvailableException |