TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Objek | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
ITargetPreparer
yang menginstal satu atau beberapa aplikasi dari folder IDeviceBuildInfo.getTestsDir()
ke partisi /sistem di perangkat.
Membutuhkan adb root
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
addTestFileName
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 |