使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

CreateUserPreparer

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)

公共建设者

CreateUserPreparer

public CreateUserPreparer ()

公开方法

设置

public void setUp (TestInformation testInfo)

参数
testInfo TestInformation

投掷
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInfo, 
                Throwable e)

参数
testInfo TestInformation

e Throwable

投掷
DeviceNotAvailableException