public final class AndroidInstrumentationTest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Testing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AndroidInstrumentationTest() |
| Modifier and Type | Method and Description |
|---|---|
AndroidInstrumentationTest |
clone() |
FileReference |
getAppApk()
The APK for the application under test.
|
AppBundle |
getAppBundle()
A multi-apk app bundle for the application under test.
|
String |
getAppPackageId()
The java package for the application under test.
|
String |
getOrchestratorOption()
The option of whether running each test within its own invocation of instrumentation with
Android Test Orchestrator or not.
|
FileReference |
getTestApk()
Required.
|
String |
getTestPackageId()
The java package for the test to be executed.
|
String |
getTestRunnerClass()
The InstrumentationTestRunner class.
|
List<String> |
getTestTargets()
Each target must be fully qualified with the package name or class name, in one of these
formats: - "package package_name" - "class package_name.class_name" - "class
package_name.class_name#method_name"
If empty, all targets in the module will be run.
|
AndroidInstrumentationTest |
set(String fieldName,
Object value) |
AndroidInstrumentationTest |
setAppApk(FileReference appApk)
The APK for the application under test.
|
AndroidInstrumentationTest |
setAppBundle(AppBundle appBundle)
A multi-apk app bundle for the application under test.
|
AndroidInstrumentationTest |
setAppPackageId(String appPackageId)
The java package for the application under test.
|
AndroidInstrumentationTest |
setOrchestratorOption(String orchestratorOption)
The option of whether running each test within its own invocation of instrumentation with
Android Test Orchestrator or not.
|
AndroidInstrumentationTest |
setTestApk(FileReference testApk)
Required.
|
AndroidInstrumentationTest |
setTestPackageId(String testPackageId)
The java package for the test to be executed.
|
AndroidInstrumentationTest |
setTestRunnerClass(String testRunnerClass)
The InstrumentationTestRunner class.
|
AndroidInstrumentationTest |
setTestTargets(List<String> testTargets)
Each target must be fully qualified with the package name or class name, in one of these
formats: - "package package_name" - "class package_name.class_name" - "class
package_name.class_name#method_name"
If empty, all targets in the module will be run.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic FileReference getAppApk()
null for nonepublic AndroidInstrumentationTest setAppApk(FileReference appApk)
appApk - appApk or null for nonepublic AppBundle getAppBundle()
null for nonepublic AndroidInstrumentationTest setAppBundle(AppBundle appBundle)
appBundle - appBundle or null for nonepublic String getAppPackageId()
null for nonepublic AndroidInstrumentationTest setAppPackageId(String appPackageId)
appPackageId - appPackageId or null for nonepublic String getOrchestratorOption()
null for nonepublic AndroidInstrumentationTest setOrchestratorOption(String orchestratorOption)
orchestratorOption - orchestratorOption or null for nonepublic FileReference getTestApk()
null for nonepublic AndroidInstrumentationTest setTestApk(FileReference testApk)
testApk - testApk or null for nonepublic String getTestPackageId()
null for nonepublic AndroidInstrumentationTest setTestPackageId(String testPackageId)
testPackageId - testPackageId or null for nonepublic String getTestRunnerClass()
null for nonepublic AndroidInstrumentationTest setTestRunnerClass(String testRunnerClass)
testRunnerClass - testRunnerClass or null for nonepublic List<String> getTestTargets()
null for nonepublic AndroidInstrumentationTest setTestTargets(List<String> testTargets)
testTargets - testTargets or null for nonepublic AndroidInstrumentationTest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AndroidInstrumentationTest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.