| Package | Description |
|---|---|
| com.google.api.services.testing.model |
| Modifier and Type | Method and Description |
|---|---|
TestSetup |
TestSetup.clone() |
TestSetup |
TestSpecification.getTestSetup()
Test setup requirements for Android e.g.
|
TestSetup |
TestSetup.set(String fieldName,
Object value) |
TestSetup |
TestSetup.setAccount(Account account)
The device will be logged in on this account for the duration of the test.
|
TestSetup |
TestSetup.setAdditionalApks(List<Apk> additionalApks)
APKs to install in addition to those being directly tested.
|
TestSetup |
TestSetup.setDirectoriesToPull(List<String> directoriesToPull)
List of directories on the device to upload to GCS at the end of the test; they must be
absolute paths under /sdcard or /data/local/tmp.
|
TestSetup |
TestSetup.setEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
Environment variables to set for the test (only applicable for instrumentation tests).
|
TestSetup |
TestSetup.setFilesToPush(List<DeviceFile> filesToPush)
List of files to push to the device before starting the test.
|
TestSetup |
TestSetup.setNetworkProfile(String networkProfile)
The network traffic profile used for running the test.
|
| Modifier and Type | Method and Description |
|---|---|
TestSpecification |
TestSpecification.setTestSetup(TestSetup testSetup)
Test setup requirements for Android e.g.
|
Copyright © 2011–2019 Google. All rights reserved.