ユーザーヘルパー

public final class UserHelper
extends Object

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


まとめ

田畑

public static final String RUN_TESTS_AS_USER_KEY

どの Android ユーザーがテストを実行しているかを示すために使用されるシステム プロパティ。

パブリックメソッド

static int createUser ( ITestDevice device, boolean reuseTestUser)

田畑

RUN_TESTS_AS_USER_KEY

public static final String RUN_TESTS_AS_USER_KEY

どの Android ユーザーがテストを実行しているかを示すために使用されるシステム プロパティ。

パブリックメソッド

ユーザーを作成

public static int createUser (ITestDevice device, 
                boolean reuseTestUser)

パラメーター
device ITestDevice

reuseTestUser boolean

戻り値
int

投げる
DeviceNotAvailableException
TargetSetupError