ProfileTargetPreparer

public abstract class ProfileTargetPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.ProfileTargetPreparer


Herhangi bir profil kullanıcısı için hedef hazırlayıcıyı ayarlamaya yönelik temel sınıf android.os.usertype.profile.XXX.

Özet

Herkese açık yöntemler

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

Korunan yöntemler

boolean canCreateAdditionalProfiles(ITestDevice device, int numberOfUsers)

İstenen sayıda kullanıcı oluşturmanın mümkün olup olmadığını kontrol eder.

Herkese açık yöntemler

setUp

public void setUp (TestInformation testInfo)

Parametreler
testInfo TestInformation

Verdiği hatalar
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametreler
testInfo TestInformation

e Throwable

Verdiği hatalar
DeviceNotAvailableException

Korunan yöntemler

canCreateAdditionalProfiles

protected boolean canCreateAdditionalProfiles (ITestDevice device, 
                int numberOfUsers)

İstenen sayıda kullanıcı oluşturmanın mümkün olup olmadığını kontrol eder.

Parametreler
device ITestDevice

numberOfUsers int

Döndürülenler
boolean

Verdiği hatalar
DeviceNotAvailableException