RunOnSdkSandboxTargetPreparer
public
class
RunOnSdkSandboxTargetPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RunOnSdkSandboxTargetPreparer |
An ITargetPreparer
to marks that tests should run in the sdk sandbox. See
https://developer.android.com/design-for-safety/privacy-sandbox/sdk-runtime
Summary
Fields | |
---|---|
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
|
Public constructors | |
---|---|
RunOnSdkSandboxTargetPreparer()
|
Public methods | |
---|---|
void
|
setUp(TestInformation testInformation)
|
void
|
tearDown(TestInformation testInformation, Throwable e)
|
Fields
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
Public constructors
RunOnSdkSandboxTargetPreparer
public RunOnSdkSandboxTargetPreparer ()
Public methods
setUp
public void setUp (TestInformation testInformation)
Parameters | |
---|---|
testInformation |
TestInformation |
Throws | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
Parameters | |
---|---|
testInformation |
TestInformation |
e |
Throwable |
Throws | |
---|---|
DeviceNotAvailableException |