刪除SystemAppPreparer
public class RemoveSystemAppPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RemoveSystemAppPreparer |
ITargetPreparer
,用於在測試運行之前從系統分割區中刪除 apk。請注意,在實際測試執行之前設備會重新啟動,因此系統分區在測試運行期間保持唯讀狀態。
概括
公共構造函數 | |
---|---|
RemoveSystemAppPreparer () |
公共方法 | |
---|---|
void | setUp ( TestInformation testInformation)
|
公共構造函數
刪除SystemAppPreparer
public RemoveSystemAppPreparer ()
公共方法
設定
public void setUp (TestInformation testInformation)
參數 | |
---|---|
testInformation | TestInformation |
投擲 | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |