RunOnSdkSandboxTargetPreparer

public class RunOnSdkSandboxTargetPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RunOnSdkSandboxTargetPreparer


一個ITargetPreparer ,用於標記測試應在 sdk 沙箱中運行。請參閱 https://developer.android.com/design-for-safety/privacy-sandbox/sdk-runtime

概括

領域

public static final String DISABLE_TEST_ACTIVITIES_CMD

public static final String ENABLE_TEST_ACTIVITIES_CMD

public static final String RUN_TESTS_ON_SDK_SANDBOX

public static final String SDK_IN_SANDBOX_ACTIVITIES

公共構造函數

RunOnSdkSandboxTargetPreparer ()

公共方法

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

領域

DISABLE_TEST_ACTIVITIES_CMD

public static final String DISABLE_TEST_ACTIVITIES_CMD

ENABLE_TEST_ACTIVITIES_CMD

public static final String ENABLE_TEST_ACTIVITIES_CMD

RUN_TESTS_ON_SDK_SANDBOX

public static final String RUN_TESTS_ON_SDK_SANDBOX

SDK_IN_SANDBOX_ACTIVITIES

public static final String SDK_IN_SANDBOX_ACTIVITIES

公共構造函數

RunOnSdkSandboxTargetPreparer

public RunOnSdkSandboxTargetPreparer ()

公共方法

設置

public void setUp (TestInformation testInformation)

參數
testInformation TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInformation, 
                Throwable e)

參數
testInformation TestInformation

e Throwable

投擲
DeviceNotAvailableException