Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
InstallAllTestZipAppsSetup
public
class
InstallAllTestZipAppsSetup
extends BaseTargetPreparer
ITargetPreparer
, który instaluje wszystkie aplikacje w pliku ZIP z testami. Informacje o instalowaniu poszczególnych aplikacji testowych znajdziesz w artykule TestAppInstallSetup
.
Podsumowanie
Konstruktory publiczne
InstallAllTestZipAppsSetup
public InstallAllTestZipAppsSetup ()
Metody publiczne
setCleanup
public void setCleanup (boolean cleanup)
Parametry |
cleanup |
boolean |
setStopInstallOnFailure
public void setStopInstallOnFailure (boolean stopInstallOnFailure)
Parametry |
stopInstallOnFailure |
boolean |
setTestZipName
public void setTestZipName (String testZipName)
Parametry |
testZipName |
String |
setUp
public void setUp (ITestDevice device,
IBuildInfo buildInfo)
Parametry |
device |
ITestDevice |
buildInfo |
IBuildInfo |
tearDown
public void tearDown (ITestDevice device,
IBuildInfo buildInfo,
Throwable e)
Parametry |
device |
ITestDevice |
buildInfo |
IBuildInfo |
e |
Throwable |
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-03-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-03-26 UTC."],[],[]]