Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update testing_v1.json #1193

Merged
merged 2 commits into from
Oct 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
420 changes: 234 additions & 186 deletions firebase_apis/json/testing_v1.json

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions firebase_apis/json/toolresults_v1beta3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,7 @@
}
}
},
"revision": "20200803",
"revision": "20201001",
"rootUrl": "https://toolresults.googleapis.com/",
"schemas": {
"ANR": {
Expand Down Expand Up @@ -1960,6 +1960,10 @@
"description": "If the failure was severe because the system (app) under test crashed.",
"type": "boolean"
},
"deviceOutOfMemory": {
"description": "If the device ran out of memory during a test, causing the test to crash.",
"type": "boolean"
},
"failedRoboscript": {
"description": "If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl.",
"type": "boolean"
Expand Down Expand Up @@ -2614,7 +2618,8 @@
"GREY",
"GREY_MAX_O",
"GREY_MAX_P",
"GREY_MAX_Q"
"GREY_MAX_Q",
"GREY_MAX_R"
],
"enumDescriptions": [
"",
Expand All @@ -2623,6 +2628,7 @@
"",
"",
"",
"",
""
],
"type": "string"
Expand Down Expand Up @@ -2816,13 +2822,6 @@
},
"perfMetrics": {
"description": "Set of resource collected",
"enumDescriptions": [
"",
"",
"",
"",
""
],
"items": {
"enum": [
"perfMetricTypeUnspecified",
Expand Down
4 changes: 2 additions & 2 deletions firebase_apis/test_api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-testing</artifactId>
<version>v1-rev20200804-1.25.0-SNAPSHOT</version>
<name>Cloud Testing API v1-rev20200804-1.25.0-SNAPSHOT</name>
<version>v1-rev0-1.25.0-SNAPSHOT</version>
<name>Cloud Testing API v1-rev0-1.25.0-SNAPSHOT</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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".
*
Expand All @@ -315,13 +312,10 @@ public class Cancel extends TestingRequest<com.google.api.services.testing.model

/**
* 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".
*
Expand Down Expand Up @@ -435,13 +429,9 @@ public Cancel set(String parameterName, Object value) {
/**
* Creates and runs a matrix of tests according to the given specifications. Unsupported
* environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200
* supported executions.
*
* May return any of the following canonical error codes:
*
* - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if
* the request is malformed or if the matrix expands to more than 200 supported
* executions
* supported executions. May return any of the following canonical error codes: - PERMISSION_DENIED
* - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is
* malformed or if the matrix expands to more than 200 supported executions
*
* Create a request for the method "testMatrices.create".
*
Expand All @@ -465,13 +455,9 @@ public class Create extends TestingRequest<com.google.api.services.testing.model
/**
* Creates and runs a matrix of tests according to the given specifications. Unsupported
* environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200
* supported executions.
*
* May return any of the following canonical error codes:
*
* - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if
* the request is malformed or if the matrix expands to more than 200
* supported executions
* supported executions. May return any of the following canonical error codes: -
* PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if
* the request is malformed or if the matrix expands to more than 200 supported executions
*
* Create a request for the method "testMatrices.create".
*
Expand Down Expand Up @@ -563,16 +549,14 @@ public Create setProjectId(java.lang.String projectId) {
/**
* A string id used to detect duplicated requests. Ids are automatically scoped to a
* project, so users should ensure the ID is unique per-project. A UUID is recommended.
*
* Optional, but strongly recommended.
*/
@com.google.api.client.util.Key
private java.lang.String requestId;

/** A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users
should ensure the ID is unique per-project. A UUID is recommended.

Optional, but strongly recommended.
should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly
recommended.
*/
public java.lang.String getRequestId() {
return requestId;
Expand All @@ -581,7 +565,6 @@ public java.lang.String getRequestId() {
/**
* A string id used to detect duplicated requests. Ids are automatically scoped to a
* project, so users should ensure the ID is unique per-project. A UUID is recommended.
*
* Optional, but strongly recommended.
*/
public Create setRequestId(java.lang.String requestId) {
Expand All @@ -595,11 +578,8 @@ public Create set(String parameterName, Object value) {
}
}
/**
* Checks the status of a test matrix.
*
* May return any of the following canonical error codes:
*
* - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the
* Checks the status of a test matrix. 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.get".
Expand All @@ -622,11 +602,8 @@ public class Get extends TestingRequest<com.google.api.services.testing.model.Te
private static final String REST_PATH = "v1/projects/{projectId}/testMatrices/{testMatrixId}";

/**
* Checks the status of a test matrix.
*
* May return any of the following canonical error codes:
*
* - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the
* Checks the status of a test matrix. 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.get".
Expand Down Expand Up @@ -773,12 +750,9 @@ public TestEnvironmentCatalog testEnvironmentCatalog() {
public class TestEnvironmentCatalog {

/**
* Gets the catalog of supported test environments.
*
* May return any of the following canonical error codes:
*
* - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not
* exist - INTERNAL - if an internal error occurred
* Gets the catalog of supported test environments. May return any of the following canonical error
* codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type
* does not exist - INTERNAL - if an internal error occurred
*
* Create a request for the method "testEnvironmentCatalog.get".
*
Expand All @@ -799,12 +773,9 @@ public class Get extends TestingRequest<com.google.api.services.testing.model.Te
private static final String REST_PATH = "v1/testEnvironmentCatalog/{environmentType}";

/**
* Gets the catalog of supported test environments.
*
* May return any of the following canonical error codes:
*
* - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not
* exist - INTERNAL - if an internal error occurred
* Gets the catalog of supported test environments. May return any of the following canonical
* error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment
* type does not exist - INTERNAL - if an internal error occurred
*
* Create a request for the method "testEnvironmentCatalog.get".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
/**
* A test of an Android application that can control an Android component independently of its
* normal lifecycle. Android instrumentation tests run an application APK and test APK inside the
* same process on a virtual or physical AndroidDevice. They also specify a test runner class, such
* same process on a virtual or physical AndroidDevice. They also specify a test runner class, such
* as com.google.GoogleTestRunner, which can vary on the specific instrumentation framework chosen.
*
* See for more information on types of Android tests.
* See for more information on types of Android tests.
*
* <p> 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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand All @@ -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) {
Expand Down Expand Up @@ -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<java.lang.String> getTestTargets() {
Expand All @@ -287,10 +267,8 @@ public java.util.List<java.lang.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.
* 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<java.lang.String> testTargets) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand All @@ -347,7 +345,6 @@ public java.util.List<java.lang.String> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
* <p> 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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
Expand Down
Loading