CompanionTestAppInstallSetup
public
class
CompanionTestAppInstallSetup
extends TestAppInstallSetup
java.lang.Object | |||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | ||
↳ | com.android.tradefed.targetprep.TestAppInstallSetup | ||
↳ | com.android.tradefed.targetprep.companion.CompanionTestAppInstallSetup |
ITargetPreparer
, który instaluje co najmniej jedną aplikację z folderu
IDeviceBuildInfo.getTestsDir()
na przypisanym urządzeniu towarzyszącym.
Pamiętaj, że testowany artefakt jest wbudowany w wersję główną, ale jest też odpowiedni dla urządzenia towarzyszącego.
Podsumowanie
Konstruktory publiczne | |
---|---|
CompanionTestAppInstallSetup()
|
Metody publiczne | |
---|---|
ITestDevice
|
getDevice()
Zwraca urządzenie, do którego ma zostać zastosowany dokument. |
Konstruktory publiczne
CompanionTestAppInstallSetup
public CompanionTestAppInstallSetup ()
Metody publiczne
getDevice
public ITestDevice getDevice ()
Zwraca urządzenie, do którego ma zostać zastosowany dokument.
Zwroty | |
---|---|
ITestDevice |
Rzuty | |
---|---|
TargetSetupError |