創建用戶準備者

public class CreateUserPreparer
extends BaseTargetPreparer

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


用於創建用戶並在最後清理它的目標準備器。

概括

公共構造函數

CreateUserPreparer ()

公共方法

void setUp ( TestInformation testInfo)
void tearDown ( TestInformation testInfo, Throwable e)

公共構造函數

創建用戶準備者

public CreateUserPreparer ()

公共方法

設置

public void setUp (TestInformation testInfo)

參數
testInfo TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInfo, 
                Throwable e)

參數
testInfo TestInformation

e Throwable

投擲
DeviceNotAvailableException