プロファイルターゲット作成者

public abstract class ProfileTargetPreparer
extends BaseTargetPreparer

java.lang.オブジェクト
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.ProfileTargetPreparer


任意のプロファイル ユーザーandroid.os.usertype.profile.XXXのターゲット プリペアラーを設定するための基本クラス。

まとめ

パブリックメソッド

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

保護されたメソッド

boolean canCreateAdditionalUsers ( ITestDevice device, int numberOfUsers)

希望する数のユーザーを作成できるかどうかを確認します。

パブリックメソッド

設定

public void setUp (TestInformation testInfo)

パラメーター
testInfo TestInformation

投げる
DeviceNotAvailableException
TargetSetupError

取り壊す

public void tearDown (TestInformation testInfo, 
                Throwable e)

パラメーター
testInfo TestInformation

e Throwable

投げる
DeviceNotAvailableException

保護されたメソッド

canCreateAdditionalUsers

protected boolean canCreateAdditionalUsers (ITestDevice device, 
                int numberOfUsers)

希望する数のユーザーを作成できるかどうかを確認します。

パラメーター
device ITestDevice

numberOfUsers int

戻り値
boolean

投げる
DeviceNotAvailableException