TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Objek | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
ITargetPreparer
yang menginstal satu atau lebih aplikasi dari folder IDeviceBuildInfo.getTestsDir()
ke partisi /system pada perangkat.
Memerlukan root adb
Ringkasan
Konstruktor publik | |
---|---|
TestSystemAppInstallSetup () |
Metode publik | |
---|---|
void | addTestFileName (String fileName) Menambahkan file ke daftar apk yang akan diinstal |
void | setUp ( TestInformation testInfo)
|
Konstruktor publik
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Metode publik
tambahkanTestFileName
public void addTestFileName (String fileName)
Menambahkan file ke daftar apk yang akan diinstal
mempersiapkan
public void setUp (TestInformation testInfo)
Parameter | |
---|---|
testInfo | TestInformation |
Melempar | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |