public final class TestSpecification
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 |
|---|
TestSpecification() |
| Modifier and Type | Method and Description |
|---|---|
TestSpecification |
clone() |
AndroidInstrumentationTest |
getAndroidInstrumentationTest()
An Android instrumentation test.
|
AndroidRoboTest |
getAndroidRoboTest()
An Android robo test.
|
AndroidTestLoop |
getAndroidTestLoop()
An Android Application with a Test Loop.
|
Boolean |
getAutoGoogleLogin()
Enables automatic Google account login.
|
Boolean |
getDisablePerformanceMetrics()
Disables performance metrics recording; may reduce test latency.
|
Boolean |
getDisableVideoRecording()
Disables video recording; may reduce test latency.
|
IosTestSetup |
getIosTestSetup()
Test setup requirements for iOS.
|
IosXcTest |
getIosXcTest()
An iOS XCTest, via an .xctestrun file.
|
TestSetup |
getTestSetup()
Test setup requirements for Android e.g.
|
String |
getTestTimeout()
Max time a test execution is allowed to run before it is automatically cancelled.
|
TestSpecification |
set(String fieldName,
Object value) |
TestSpecification |
setAndroidInstrumentationTest(AndroidInstrumentationTest androidInstrumentationTest)
An Android instrumentation test.
|
TestSpecification |
setAndroidRoboTest(AndroidRoboTest androidRoboTest)
An Android robo test.
|
TestSpecification |
setAndroidTestLoop(AndroidTestLoop androidTestLoop)
An Android Application with a Test Loop.
|
TestSpecification |
setAutoGoogleLogin(Boolean autoGoogleLogin)
Enables automatic Google account login.
|
TestSpecification |
setDisablePerformanceMetrics(Boolean disablePerformanceMetrics)
Disables performance metrics recording; may reduce test latency.
|
TestSpecification |
setDisableVideoRecording(Boolean disableVideoRecording)
Disables video recording; may reduce test latency.
|
TestSpecification |
setIosTestSetup(IosTestSetup iosTestSetup)
Test setup requirements for iOS.
|
TestSpecification |
setIosXcTest(IosXcTest iosXcTest)
An iOS XCTest, via an .xctestrun file.
|
TestSpecification |
setTestSetup(TestSetup testSetup)
Test setup requirements for Android e.g.
|
TestSpecification |
setTestTimeout(String testTimeout)
Max time a test execution is allowed to run before it is automatically cancelled.
|
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 AndroidInstrumentationTest getAndroidInstrumentationTest()
null for nonepublic TestSpecification setAndroidInstrumentationTest(AndroidInstrumentationTest androidInstrumentationTest)
androidInstrumentationTest - androidInstrumentationTest or null for nonepublic AndroidRoboTest getAndroidRoboTest()
null for nonepublic TestSpecification setAndroidRoboTest(AndroidRoboTest androidRoboTest)
androidRoboTest - androidRoboTest or null for nonepublic AndroidTestLoop getAndroidTestLoop()
null for nonepublic TestSpecification setAndroidTestLoop(AndroidTestLoop androidTestLoop)
androidTestLoop - androidTestLoop or null for nonepublic Boolean getAutoGoogleLogin()
null for nonepublic TestSpecification setAutoGoogleLogin(Boolean autoGoogleLogin)
autoGoogleLogin - autoGoogleLogin or null for nonepublic Boolean getDisablePerformanceMetrics()
null for nonepublic TestSpecification setDisablePerformanceMetrics(Boolean disablePerformanceMetrics)
disablePerformanceMetrics - disablePerformanceMetrics or null for nonepublic Boolean getDisableVideoRecording()
null for nonepublic TestSpecification setDisableVideoRecording(Boolean disableVideoRecording)
disableVideoRecording - disableVideoRecording or null for nonepublic IosTestSetup getIosTestSetup()
null for nonepublic TestSpecification setIosTestSetup(IosTestSetup iosTestSetup)
iosTestSetup - iosTestSetup or null for nonepublic IosXcTest getIosXcTest()
null for nonepublic TestSpecification setIosXcTest(IosXcTest iosXcTest)
iosXcTest - iosXcTest or null for nonepublic TestSetup getTestSetup()
null for nonepublic TestSpecification setTestSetup(TestSetup testSetup)
testSetup - testSetup or null for nonepublic String getTestTimeout()
null for nonepublic TestSpecification setTestTimeout(String testTimeout)
testTimeout - testTimeout or null for nonepublic TestSpecification set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TestSpecification clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.