diff --git a/firebase_apis/json/testing_v1.json b/firebase_apis/json/testing_v1.json index 717de24bd7..c105db9c53 100644 --- a/firebase_apis/json/testing_v1.json +++ b/firebase_apis/json/testing_v1.json @@ -282,7 +282,7 @@ } } }, - "revision": "20200918", + "revision": "0", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -1106,6 +1106,25 @@ }, "type": "object" }, + "IosDeviceFile": { + "description": "A file or directory to install on the device before the test starts.", + "id": "IosDeviceFile", + "properties": { + "bundleId": { + "description": "The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app files must specify which app installed on the device.", + "type": "string" + }, + "content": { + "$ref": "FileReference", + "description": "The source file" + }, + "devicePath": { + "description": "Location of the file on the device, inside the app's sandboxed filesystem", + "type": "string" + } + }, + "type": "object" + }, "IosDeviceList": { "description": "A list of iOS device configurations in which the test is to be executed.", "id": "IosDeviceList", @@ -1245,6 +1264,20 @@ "networkProfile": { "description": "The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.", "type": "string" + }, + "pullDirectories": { + "description": "List of directories on the device to upload to Cloud Storage at the end of the test. Directories should either be in a shared directory (e.g. /private/var/mobile/Media) or within an accessible directory inside the app's filesystem (e.g. /Documents) by specifying the bundle id.", + "items": { + "$ref": "IosDeviceFile" + }, + "type": "array" + }, + "pushFiles": { + "description": "List of files to push to the device before starting the test.", + "items": { + "$ref": "IosDeviceFile" + }, + "type": "array" } }, "type": "object" diff --git a/firebase_apis/test_api/pom.xml b/firebase_apis/test_api/pom.xml index 96f9f92aae..380a261b1b 100644 --- a/firebase_apis/test_api/pom.xml +++ b/firebase_apis/test_api/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-testing - v1-rev20200804-1.25.0-SNAPSHOT - Cloud Testing API v1-rev20200804-1.25.0-SNAPSHOT + v1-rev0-1.25.0-SNAPSHOT + Cloud Testing API v1-rev0-1.25.0-SNAPSHOT jar 2011 diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/Testing.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/Testing.java index 288de69077..2207842b52 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/Testing.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/Testing.java @@ -286,13 +286,10 @@ public class TestMatrices { /** * Cancels unfinished test executions in a test matrix. This call returns immediately and - * cancellation proceeds asychronously. If the matrix is already final, this operation will have no - * effect. - * - * May return any of the following canonical error codes: - * - * - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the - * request is malformed - NOT_FOUND - if the Test Matrix does not exist + * cancellation proceeds asynchronously. If the matrix is already final, this operation will have no + * effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user + * is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - + * if the Test Matrix does not exist * * Create a request for the method "testMatrices.cancel". * @@ -315,13 +312,10 @@ public class Cancel extends TestingRequest 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: @@ -59,14 +58,9 @@ public final class AndroidInstrumentationTest extends com.google.api.client.json /** * The option of whether running each test within its own invocation of instrumentation with * Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner - * version 1.0 or higher! ** Orchestrator offers the following benefits: - No shared state - - * Crashes are isolated - Logs are scoped per test - * - * See - * - * for more information about Android Test Orchestrator. - * - * If not set, the test will be run without the orchestrator. + * version 1.0 or higher! ** Orchestrator offers the following benefits: - No shared state - + * Crashes are isolated - Logs are scoped per test See for more information about Android Test + * Orchestrator. If not set, the test will be run without the orchestrator. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -104,10 +98,8 @@ public final class AndroidInstrumentationTest extends com.google.api.client.json /** * 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. + * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -169,14 +161,9 @@ public AndroidInstrumentationTest setAppPackageId(java.lang.String appPackageId) /** * The option of whether running each test within its own invocation of instrumentation with * Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner - * version 1.0 or higher! ** Orchestrator offers the following benefits: - No shared state - - * Crashes are isolated - Logs are scoped per test - * - * See - * - * for more information about Android Test Orchestrator. - * - * If not set, the test will be run without the orchestrator. + * version 1.0 or higher! ** Orchestrator offers the following benefits: - No shared state - + * Crashes are isolated - Logs are scoped per test See for more information about Android Test + * Orchestrator. If not set, the test will be run without the orchestrator. * @return value or {@code null} for none */ public java.lang.String getOrchestratorOption() { @@ -186,14 +173,9 @@ public java.lang.String getOrchestratorOption() { /** * The option of whether running each test within its own invocation of instrumentation with * Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner - * version 1.0 or higher! ** Orchestrator offers the following benefits: - No shared state - - * Crashes are isolated - Logs are scoped per test - * - * See - * - * for more information about Android Test Orchestrator. - * - * If not set, the test will be run without the orchestrator. + * version 1.0 or higher! ** Orchestrator offers the following benefits: - No shared state - + * Crashes are isolated - Logs are scoped per test See for more information about Android Test + * Orchestrator. If not set, the test will be run without the orchestrator. * @param orchestratorOption orchestratorOption or {@code null} for none */ public AndroidInstrumentationTest setOrchestratorOption(java.lang.String orchestratorOption) { @@ -275,10 +257,8 @@ public AndroidInstrumentationTest setTestRunnerClass(java.lang.String testRunner /** * 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. + * 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. * @return value or {@code null} for none */ public java.util.List getTestTargets() { @@ -287,10 +267,8 @@ public java.util.List 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. + * 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. * @param testTargets testTargets or {@code null} for none */ public AndroidInstrumentationTest setTestTargets(java.util.List testTargets) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidMatrix.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidMatrix.java index a20424f83c..e4daae24ff 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidMatrix.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidMatrix.java @@ -19,8 +19,7 @@ /** * A set of Android device configuration permutations is defined by the the cross-product of the * given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices. - * - * Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible + * Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible * models/versions) are ignored. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidModel.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidModel.java index dca4d3360a..0ce51ac19f 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidModel.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidModel.java @@ -111,7 +111,6 @@ public final class AndroidModel extends com.google.api.client.json.GenericJson { * The list of supported ABIs for this device. This corresponds to either * android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or * android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list. - * * Elements are optionally prefixed by "version_id:" (where version_id is the id of an * AndroidVersion), denoting an ABI that is supported only on a particular version. * The value may be {@code null}. @@ -334,7 +333,6 @@ public AndroidModel setScreenY(java.lang.Integer screenY) { * The list of supported ABIs for this device. This corresponds to either * android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or * android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list. - * * Elements are optionally prefixed by "version_id:" (where version_id is the id of an * AndroidVersion), denoting an ABI that is supported only on a particular version. * @return value or {@code null} for none @@ -347,7 +345,6 @@ public java.util.List getSupportedAbis() { * The list of supported ABIs for this device. This corresponds to either * android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or * android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list. - * * Elements are optionally prefixed by "version_id:" (where version_id is the id of an * AndroidVersion), denoting an ABI that is supported only on a particular version. * @param supportedAbis supportedAbis or {@code null} for none diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidRoboTest.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidRoboTest.java index 3ffd794652..ce744356af 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidRoboTest.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/AndroidRoboTest.java @@ -18,7 +18,7 @@ /** * A test of an android application that explores the application on a virtual or physical Android - * Device, finding culprits and crashes as it goes. + * Device, finding culprits and crashes as it goes. Next tag: 29 * *

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: diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/Date.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/Date.java index 44cb628f80..30183ccf9b 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/Date.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/Date.java @@ -19,12 +19,9 @@ /** * Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are * either specified elsewhere or are not significant. The date is relative to the Proleptic - * Gregorian Calendar. This can represent: - * - * * A full date, with non-zero year, month and day values * A month and day value, with a zero - * year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month - * value, with a zero day, e.g. a credit card expiration date - * + * Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * + * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month + * and day values * A year and month value, with a zero day, e.g. a credit card expiration date * Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IntentFilter.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IntentFilter.java index eadbe98ef2..869a848db0 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IntentFilter.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IntentFilter.java @@ -17,7 +17,7 @@ package com.google.api.services.testing.model; /** - * The section of an tag. https://developer.android.com/guide/topics/manifest/intent-filter- + * The section of an tag. https://developer.android.com/guide/topics/manifest/intent-filter- * element.html * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is @@ -31,28 +31,28 @@ public final class IntentFilter extends com.google.api.client.json.GenericJson { /** - * The android:name value of the tag. + * The android:name value of the tag. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List actionNames; /** - * The android:name value of the tag. + * The android:name value of the tag. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List categoryNames; /** - * The android:mimeType value of the tag. + * The android:mimeType value of the tag. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String mimeType; /** - * The android:name value of the tag. + * The android:name value of the tag. * @return value or {@code null} for none */ public java.util.List getActionNames() { @@ -60,7 +60,7 @@ public java.util.List getActionNames() { } /** - * The android:name value of the tag. + * The android:name value of the tag. * @param actionNames actionNames or {@code null} for none */ public IntentFilter setActionNames(java.util.List actionNames) { @@ -69,7 +69,7 @@ public IntentFilter setActionNames(java.util.List actionNames) } /** - * The android:name value of the tag. + * The android:name value of the tag. * @return value or {@code null} for none */ public java.util.List getCategoryNames() { @@ -77,7 +77,7 @@ public java.util.List getCategoryNames() { } /** - * The android:name value of the tag. + * The android:name value of the tag. * @param categoryNames categoryNames or {@code null} for none */ public IntentFilter setCategoryNames(java.util.List categoryNames) { @@ -86,7 +86,7 @@ public IntentFilter setCategoryNames(java.util.List categoryNa } /** - * The android:mimeType value of the tag. + * The android:mimeType value of the tag. * @return value or {@code null} for none */ public java.lang.String getMimeType() { @@ -94,7 +94,7 @@ public java.lang.String getMimeType() { } /** - * The android:mimeType value of the tag. + * The android:mimeType value of the tag. * @param mimeType mimeType or {@code null} for none */ public IntentFilter setMimeType(java.lang.String mimeType) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosDeviceFile.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosDeviceFile.java new file mode 100644 index 0000000000..6210c30431 --- /dev/null +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosDeviceFile.java @@ -0,0 +1,117 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/google/apis-client-generator/ + * Modify at your own risk. + */ + +package com.google.api.services.testing.model; + +/** + * A file or directory to install on the device before the test starts. + * + *

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 + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class IosDeviceFile extends com.google.api.client.json.GenericJson { + + /** + * The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app + * files must specify which app installed on the device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bundleId; + + /** + * The source file + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FileReference content; + + /** + * Location of the file on the device, inside the app's sandboxed filesystem + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String devicePath; + + /** + * The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app + * files must specify which app installed on the device. + * @return value or {@code null} for none + */ + public java.lang.String getBundleId() { + return bundleId; + } + + /** + * The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app + * files must specify which app installed on the device. + * @param bundleId bundleId or {@code null} for none + */ + public IosDeviceFile setBundleId(java.lang.String bundleId) { + this.bundleId = bundleId; + return this; + } + + /** + * The source file + * @return value or {@code null} for none + */ + public FileReference getContent() { + return content; + } + + /** + * The source file + * @param content content or {@code null} for none + */ + public IosDeviceFile setContent(FileReference content) { + this.content = content; + return this; + } + + /** + * Location of the file on the device, inside the app's sandboxed filesystem + * @return value or {@code null} for none + */ + public java.lang.String getDevicePath() { + return devicePath; + } + + /** + * Location of the file on the device, inside the app's sandboxed filesystem + * @param devicePath devicePath or {@code null} for none + */ + public IosDeviceFile setDevicePath(java.lang.String devicePath) { + this.devicePath = devicePath; + return this; + } + + @Override + public IosDeviceFile set(String fieldName, Object value) { + return (IosDeviceFile) super.set(fieldName, value); + } + + @Override + public IosDeviceFile clone() { + return (IosDeviceFile) super.clone(); + } + +} diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosTestSetup.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosTestSetup.java index 0a979faa54..c89b35c941 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosTestSetup.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/IosTestSetup.java @@ -29,6 +29,19 @@ @SuppressWarnings("javadoc") public final class IosTestSetup extends com.google.api.client.json.GenericJson { + /** + * iOS apps to install in addition to those being directly tested. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List additionalIpas; + + static { + // hack to force ProGuard to consider FileReference used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(FileReference.class); + } + /** * The network traffic profile used for running the test. Available network profiles can be * queried by using the NETWORK_CONFIGURATION environment type when calling @@ -38,6 +51,52 @@ public final class IosTestSetup extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String networkProfile; + /** + * List of directories on the device to upload to Cloud Storage at the end of the test. + * Directories should either be in a shared directory (e.g. /private/var/mobile/Media) or within + * an accessible directory inside the app's filesystem (e.g. /Documents) by specifying the bundle + * id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List pullDirectories; + + static { + // hack to force ProGuard to consider IosDeviceFile used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(IosDeviceFile.class); + } + + /** + * List of files to push to the device before starting the test. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List pushFiles; + + static { + // hack to force ProGuard to consider IosDeviceFile used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(IosDeviceFile.class); + } + + /** + * iOS apps to install in addition to those being directly tested. + * @return value or {@code null} for none + */ + public java.util.List getAdditionalIpas() { + return additionalIpas; + } + + /** + * iOS apps to install in addition to those being directly tested. + * @param additionalIpas additionalIpas or {@code null} for none + */ + public IosTestSetup setAdditionalIpas(java.util.List additionalIpas) { + this.additionalIpas = additionalIpas; + return this; + } + /** * The network traffic profile used for running the test. Available network profiles can be * queried by using the NETWORK_CONFIGURATION environment type when calling @@ -59,6 +118,46 @@ public IosTestSetup setNetworkProfile(java.lang.String networkProfile) { return this; } + /** + * List of directories on the device to upload to Cloud Storage at the end of the test. + * Directories should either be in a shared directory (e.g. /private/var/mobile/Media) or within + * an accessible directory inside the app's filesystem (e.g. /Documents) by specifying the bundle + * id. + * @return value or {@code null} for none + */ + public java.util.List getPullDirectories() { + return pullDirectories; + } + + /** + * List of directories on the device to upload to Cloud Storage at the end of the test. + * Directories should either be in a shared directory (e.g. /private/var/mobile/Media) or within + * an accessible directory inside the app's filesystem (e.g. /Documents) by specifying the bundle + * id. + * @param pullDirectories pullDirectories or {@code null} for none + */ + public IosTestSetup setPullDirectories(java.util.List pullDirectories) { + this.pullDirectories = pullDirectories; + return this; + } + + /** + * List of files to push to the device before starting the test. + * @return value or {@code null} for none + */ + public java.util.List getPushFiles() { + return pushFiles; + } + + /** + * List of files to push to the device before starting the test. + * @param pushFiles pushFiles or {@code null} for none + */ + public IosTestSetup setPushFiles(java.util.List pushFiles) { + this.pushFiles = pushFiles; + return this; + } + @Override public IosTestSetup set(String fieldName, Object value) { return (IosTestSetup) super.set(fieldName, value); diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ManualSharding.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ManualSharding.java index 71344075df..bc3ddfcc7a 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ManualSharding.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ManualSharding.java @@ -17,10 +17,9 @@ package com.google.api.services.testing.model; /** - * Shards test cases into the specified groups of packages, classes, and/or methods. - * - * With manual sharding enabled, specifying test targets via environment_variables or in - * InstrumentationTest is invalid. + * Shards test cases into the specified groups of packages, classes, and/or methods. With manual + * sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is + * invalid. * *

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: @@ -34,7 +33,7 @@ public final class ManualSharding extends com.google.api.client.json.GenericJson /** * Required. Group of packages, classes, and/or test methods to be run for each shard. When any - * physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. + * physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. * When no physical devices are selected, the number must be >= 1 and <= 250. * The value may be {@code null}. */ @@ -43,7 +42,7 @@ public final class ManualSharding extends com.google.api.client.json.GenericJson /** * Required. Group of packages, classes, and/or test methods to be run for each shard. When any - * physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. + * physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. * When no physical devices are selected, the number must be >= 1 and <= 250. * @return value or {@code null} for none */ @@ -53,7 +52,7 @@ public java.util.List getTestTargetsForShard() { /** * Required. Group of packages, classes, and/or test methods to be run for each shard. When any - * physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. + * physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. * When no physical devices are selected, the number must be >= 1 and <= 250. * @param testTargetsForShard testTargetsForShard or {@code null} for none */ diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ObbFile.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ObbFile.java index 97fdfeae1e..7519a7d642 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ObbFile.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ObbFile.java @@ -38,7 +38,7 @@ public final class ObbFile extends com.google.api.client.json.GenericJson { /** * Required. OBB file name which must conform to the format as specified by Android e.g. - * [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on + * [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on * the device. * The value may be {@code null}. */ @@ -64,7 +64,7 @@ public ObbFile setObb(FileReference obb) { /** * Required. OBB file name which must conform to the format as specified by Android e.g. - * [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on + * [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on * the device. * @return value or {@code null} for none */ @@ -74,7 +74,7 @@ public java.lang.String getObbFileName() { /** * Required. OBB file name which must conform to the format as specified by Android e.g. - * [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on + * [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on * the device. * @param obbFileName obbFileName or {@code null} for none */ diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RegularFile.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RegularFile.java index b4b9cfe7e4..4e8386f412 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RegularFile.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RegularFile.java @@ -41,14 +41,11 @@ public final class RegularFile extends com.google.api.client.json.GenericJson { * file exists, it will be replaced. The following device-side directories and any of their * subdirectories are allowlisted: ${EXTERNAL_STORAGE}, /sdcard, or /storage * ${ANDROID_DATA}/local/tmp, or /data/local/tmp Specifying a path outside of these directory - * trees is invalid. - * - * The paths /sdcard and /data will be made available and treated as implicit path substitutions. - * E.g. if /sdcard on a particular device does not map to external storage, the system will - * replace it with the external storage path prefix for that device and copy the file there. - * - * It is strongly advised to use the Environment API in app and test code to access files on the - * device in a portable way. + * trees is invalid. The paths /sdcard and /data will be made available and treated as implicit + * path substitutions. E.g. if /sdcard on a particular device does not map to external storage, + * the system will replace it with the external storage path prefix for that device and copy the + * file there. It is strongly advised to use the Environment API in app and test code to access + * files on the device in a portable way. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,14 +73,11 @@ public RegularFile setContent(FileReference content) { * file exists, it will be replaced. The following device-side directories and any of their * subdirectories are allowlisted: ${EXTERNAL_STORAGE}, /sdcard, or /storage * ${ANDROID_DATA}/local/tmp, or /data/local/tmp Specifying a path outside of these directory - * trees is invalid. - * - * The paths /sdcard and /data will be made available and treated as implicit path substitutions. - * E.g. if /sdcard on a particular device does not map to external storage, the system will - * replace it with the external storage path prefix for that device and copy the file there. - * - * It is strongly advised to use the Environment API in app and test code to access files on the - * device in a portable way. + * trees is invalid. The paths /sdcard and /data will be made available and treated as implicit + * path substitutions. E.g. if /sdcard on a particular device does not map to external storage, + * the system will replace it with the external storage path prefix for that device and copy the + * file there. It is strongly advised to use the Environment API in app and test code to access + * files on the device in a portable way. * @return value or {@code null} for none */ public java.lang.String getDevicePath() { @@ -95,14 +89,11 @@ public java.lang.String getDevicePath() { * file exists, it will be replaced. The following device-side directories and any of their * subdirectories are allowlisted: ${EXTERNAL_STORAGE}, /sdcard, or /storage * ${ANDROID_DATA}/local/tmp, or /data/local/tmp Specifying a path outside of these directory - * trees is invalid. - * - * The paths /sdcard and /data will be made available and treated as implicit path substitutions. - * E.g. if /sdcard on a particular device does not map to external storage, the system will - * replace it with the external storage path prefix for that device and copy the file there. - * - * It is strongly advised to use the Environment API in app and test code to access files on the - * device in a portable way. + * trees is invalid. The paths /sdcard and /data will be made available and treated as implicit + * path substitutions. E.g. if /sdcard on a particular device does not map to external storage, + * the system will replace it with the external storage path prefix for that device and copy the + * file there. It is strongly advised to use the Environment API in app and test code to access + * files on the device in a portable way. * @param devicePath devicePath or {@code null} for none */ public RegularFile setDevicePath(java.lang.String devicePath) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ResultStorage.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ResultStorage.java index 4e18dce26c..2f19c06c8e 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ResultStorage.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ResultStorage.java @@ -52,7 +52,6 @@ public final class ResultStorage extends com.google.api.client.json.GenericJson /** * The tool results history that contains the tool results execution that results are written to. - * * If not provided, the service will choose an appropriate value. * The value may be {@code null}. */ @@ -112,7 +111,6 @@ public ResultStorage setToolResultsExecution(ToolResultsExecution toolResultsExe /** * The tool results history that contains the tool results execution that results are written to. - * * If not provided, the service will choose an appropriate value. * @return value or {@code null} for none */ @@ -122,7 +120,6 @@ public ToolResultsHistory getToolResultsHistory() { /** * The tool results history that contains the tool results execution that results are written to. - * * If not provided, the service will choose an appropriate value. * @param toolResultsHistory toolResultsHistory or {@code null} for none */ diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RoboDirective.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RoboDirective.java index 4621dd26cf..91cc699a95 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RoboDirective.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/RoboDirective.java @@ -46,8 +46,8 @@ public final class RoboDirective extends com.google.api.client.json.GenericJson private java.lang.String inputText; /** - * Required. The android resource name of the target UI element. For example, in Java: - * R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: + * Required. The android resource name of the target UI element. For example, in Java: + * R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: * https://developer.android.com/guide/topics/resources/accessing-resources.html * The value may be {@code null}. */ @@ -91,8 +91,8 @@ public RoboDirective setInputText(java.lang.String inputText) { } /** - * Required. The android resource name of the target UI element. For example, in Java: - * R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: + * Required. The android resource name of the target UI element. For example, in Java: + * R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: * https://developer.android.com/guide/topics/resources/accessing-resources.html * @return value or {@code null} for none */ @@ -101,8 +101,8 @@ public java.lang.String getResourceName() { } /** - * Required. The android resource name of the target UI element. For example, in Java: - * R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: + * Required. The android resource name of the target UI element. For example, in Java: + * R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: * https://developer.android.com/guide/topics/resources/accessing-resources.html * @param resourceName resourceName or {@code null} for none */ diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestDetails.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestDetails.java index e62fa501f2..922f1097bb 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestDetails.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestDetails.java @@ -39,9 +39,8 @@ public final class TestDetails extends com.google.api.client.json.GenericJson { /** * Output only. Human-readable, detailed descriptions of the test's progress. For example: - * "Provisioning a device", "Starting Test". - * - * During the course of execution new data may be appended to the end of progress_messages. + * "Provisioning a device", "Starting Test". During the course of execution new data may be + * appended to the end of progress_messages. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -68,9 +67,8 @@ public TestDetails setErrorMessage(java.lang.String errorMessage) { /** * Output only. Human-readable, detailed descriptions of the test's progress. For example: - * "Provisioning a device", "Starting Test". - * - * During the course of execution new data may be appended to the end of progress_messages. + * "Provisioning a device", "Starting Test". During the course of execution new data may be + * appended to the end of progress_messages. * @return value or {@code null} for none */ public java.util.List getProgressMessages() { @@ -79,9 +77,8 @@ public java.util.List getProgressMessages() { /** * Output only. Human-readable, detailed descriptions of the test's progress. For example: - * "Provisioning a device", "Starting Test". - * - * During the course of execution new data may be appended to the end of progress_messages. + * "Provisioning a device", "Starting Test". During the course of execution new data may be + * appended to the end of progress_messages. * @param progressMessages progressMessages or {@code null} for none */ public TestDetails setProgressMessages(java.util.List progressMessages) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestMatrix.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestMatrix.java index 32a95c0f38..1333a164ff 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestMatrix.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestMatrix.java @@ -46,9 +46,8 @@ public final class TestMatrix extends com.google.api.client.json.GenericJson { /** * The number of times a TestExecution should be re-attempted if one or more of its test cases - * fail for any reason. The maximum number of reruns allowed is 10. - * - * Default is 0, which implies no reruns. + * fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no + * reruns. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -160,9 +159,8 @@ public TestMatrix setEnvironmentMatrix(EnvironmentMatrix environmentMatrix) { /** * The number of times a TestExecution should be re-attempted if one or more of its test cases - * fail for any reason. The maximum number of reruns allowed is 10. - * - * Default is 0, which implies no reruns. + * fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no + * reruns. * @return value or {@code null} for none */ public java.lang.Integer getFlakyTestAttempts() { @@ -171,9 +169,8 @@ public java.lang.Integer getFlakyTestAttempts() { /** * The number of times a TestExecution should be re-attempted if one or more of its test cases - * fail for any reason. The maximum number of reruns allowed is 10. - * - * Default is 0, which implies no reruns. + * fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no + * reruns. * @param flakyTestAttempts flakyTestAttempts or {@code null} for none */ public TestMatrix setFlakyTestAttempts(java.lang.Integer flakyTestAttempts) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestSetup.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestSetup.java index cd9599b4ac..68e33c30a0 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestSetup.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestSetup.java @@ -52,11 +52,10 @@ public final class TestSetup extends com.google.api.client.json.GenericJson { /** * List of directories on the device to upload to GCS at the end of the test; they must be * absolute paths under /sdcard, /storage or /data/local/tmp. Path names are restricted to - * characters a-z A-Z 0-9 _ - . + and / - * - * Note: The paths /sdcard and /data will be made available and treated as implicit path - * substitutions. E.g. if /sdcard on a particular device does not map to external storage, the - * system will replace it with the external storage path prefix for that device. + * characters a-z A-Z 0-9 _ - . + and / Note: The paths /sdcard and /data will be made available + * and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map + * to external storage, the system will replace it with the external storage path prefix for that + * device. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -150,11 +149,10 @@ public TestSetup setAdditionalApks(java.util.List additionalApks) { /** * List of directories on the device to upload to GCS at the end of the test; they must be * absolute paths under /sdcard, /storage or /data/local/tmp. Path names are restricted to - * characters a-z A-Z 0-9 _ - . + and / - * - * Note: The paths /sdcard and /data will be made available and treated as implicit path - * substitutions. E.g. if /sdcard on a particular device does not map to external storage, the - * system will replace it with the external storage path prefix for that device. + * characters a-z A-Z 0-9 _ - . + and / Note: The paths /sdcard and /data will be made available + * and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map + * to external storage, the system will replace it with the external storage path prefix for that + * device. * @return value or {@code null} for none */ public java.util.List getDirectoriesToPull() { @@ -164,11 +162,10 @@ public java.util.List getDirectoriesToPull() { /** * List of directories on the device to upload to GCS at the end of the test; they must be * absolute paths under /sdcard, /storage or /data/local/tmp. Path names are restricted to - * characters a-z A-Z 0-9 _ - . + and / - * - * Note: The paths /sdcard and /data will be made available and treated as implicit path - * substitutions. E.g. if /sdcard on a particular device does not map to external storage, the - * system will replace it with the external storage path prefix for that device. + * characters a-z A-Z 0-9 _ - . + and / Note: The paths /sdcard and /data will be made available + * and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map + * to external storage, the system will replace it with the external storage path prefix for that + * device. * @param directoriesToPull directoriesToPull or {@code null} for none */ public TestSetup setDirectoriesToPull(java.util.List directoriesToPull) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestTargetsForShard.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestTargetsForShard.java index e4dedebf11..4522f034df 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestTargetsForShard.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/TestTargetsForShard.java @@ -31,10 +31,8 @@ public final class TestTargetsForShard extends com.google.api.client.json.Generi /** * Group of packages, classes, and/or test methods to be run for each shard. The targets need to - * be specified in AndroidJUnitRunner argument format. For example, “package com.my.packages” - * “class com.my.package.MyClass”. - * - * The number of shard_test_targets must be greater than 0. + * be specified in AndroidJUnitRunner argument format. For example, "package com.my.packages" + * "class com.my.package.MyClass". The number of shard_test_targets must be greater than 0. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -42,10 +40,8 @@ public final class TestTargetsForShard extends com.google.api.client.json.Generi /** * Group of packages, classes, and/or test methods to be run for each shard. The targets need to - * be specified in AndroidJUnitRunner argument format. For example, “package com.my.packages” - * “class com.my.package.MyClass”. - * - * The number of shard_test_targets must be greater than 0. + * be specified in AndroidJUnitRunner argument format. For example, "package com.my.packages" + * "class com.my.package.MyClass". The number of shard_test_targets must be greater than 0. * @return value or {@code null} for none */ public java.util.List getTestTargets() { @@ -54,10 +50,8 @@ public java.util.List getTestTargets() { /** * Group of packages, classes, and/or test methods to be run for each shard. The targets need to - * be specified in AndroidJUnitRunner argument format. For example, “package com.my.packages” - * “class com.my.package.MyClass”. - * - * The number of shard_test_targets must be greater than 0. + * be specified in AndroidJUnitRunner argument format. For example, "package com.my.packages" + * "class com.my.package.MyClass". The number of shard_test_targets must be greater than 0. * @param testTargets testTargets or {@code null} for none */ public TestTargetsForShard setTestTargets(java.util.List testTargets) { diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsExecution.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsExecution.java index 78cae3e5ab..b89bfb1376 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsExecution.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsExecution.java @@ -17,9 +17,7 @@ package com.google.api.services.testing.model; /** - * Represents a tool results execution resource. - * - * This has the results of a TestMatrix. + * Represents a tool results execution resource. This has the results of a TestMatrix. * *

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: diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsStep.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsStep.java index 8bde172f9b..2889888e6f 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsStep.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/ToolResultsStep.java @@ -17,9 +17,7 @@ package com.google.api.services.testing.model; /** - * Represents a tool results step resource. - * - * This has the results of a TestExecution. + * Represents a tool results step resource. This has the results of a TestExecution. * *

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: diff --git a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/UniformSharding.java b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/UniformSharding.java index 0c6cdb4205..d2cd30b087 100644 --- a/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/UniformSharding.java +++ b/firebase_apis/test_api/src/main/java/com/google/api/services/testing/model/UniformSharding.java @@ -17,11 +17,9 @@ package com.google.api.services.testing.model; /** - * Uniformly shards test cases given a total number of shards. - * - * For Instrumentation test, it will be translated to “-e numShard” “-e shardIndex” - * AndroidJUnitRunner arguments. With uniform sharding enabled, specifying these sharding arguments - * via environment_variables is invalid. + * Uniformly shards test cases given a total number of shards. For Instrumentation test, it will be + * translated to "-e numShard" "-e shardIndex" AndroidJUnitRunner arguments. With uniform sharding + * enabled, specifying these sharding arguments via environment_variables is invalid. * *

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: