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 ()

公用方法

setUp

public void setUp (TestInformation testInfo)

參數
testInfo TestInformation

擲回
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

參數
testInfo TestInformation

e Throwable

擲回
DeviceNotAvailableException