public final class AndroidInstrumentationTest extends 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 Tool Results API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AndroidInstrumentationTest() |
| Modifier and Type | Method and Description |
|---|---|
AndroidInstrumentationTest |
clone() |
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.
|
Boolean |
getUseOrchestrator()
The flag indicates whether Android Test Orchestrator will be used to run test or not.
|
AndroidInstrumentationTest |
set(String fieldName,
Object value) |
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.
|
AndroidInstrumentationTest |
setUseOrchestrator(Boolean useOrchestrator)
The flag indicates whether Android Test Orchestrator will be used to run test or not.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 Boolean getUseOrchestrator()
null for nonepublic AndroidInstrumentationTest setUseOrchestrator(Boolean useOrchestrator)
useOrchestrator - useOrchestrator or null for nonepublic AndroidInstrumentationTest set(String fieldName, Object value)
set in class GenericJsonpublic AndroidInstrumentationTest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.