刪除SystemAppPreparer

public class RemoveSystemAppPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RemoveSystemAppPreparer


用於在測試運行之前從系統分區中刪除 apk 的ITargetPreparer 。請注意,設備在實際測試執行之前會重新啟動,因此系統分區在測試運行期間保持只讀狀態。

概括

公共構造函數

RemoveSystemAppPreparer ()

公共方法

void setUp ( TestInformation testInformation)

公共構造函數

刪除SystemAppPreparer

public RemoveSystemAppPreparer ()

公共方法

設置

public void setUp (TestInformation testInformation)

參數
testInformation TestInformation

投擲
DeviceNotAvailableException
TargetSetupError