ProfileTargetPreparer
public abstract class ProfileTargetPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | 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 |