Skip to content

Commit

Permalink
feat(testing): update the api
Browse files Browse the repository at this point in the history
#### testing:v1

The following keys were added:
- schemas.AndroidModel.properties.perVersionInfo (Total Keys: 2)
- schemas.IosModel.properties.perVersionInfo (Total Keys: 2)
- schemas.PerAndroidVersionInfo (Total Keys: 4)
- schemas.PerIosVersionInfo (Total Keys: 4)
  • Loading branch information
yoshi-automation committed Jan 31, 2023
1 parent 3065b92 commit abf217f
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/dyn/testing_v1.testEnvironmentCatalog.html
Expand Up @@ -120,6 +120,12 @@ <h3>Method Details</h3>
&quot;lowFpsVideoRecording&quot;: True or False, # True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.
&quot;manufacturer&quot;: &quot;A String&quot;, # The manufacturer of this device.
&quot;name&quot;: &quot;A String&quot;, # The human-readable marketing name for this device model. Examples: &quot;Nexus 5&quot;, &quot;Galaxy S5&quot;.
&quot;perVersionInfo&quot;: [ # Version-specific information of an Android model.
{ # A version-specific information of an Android model.
&quot;deviceCapacity&quot;: &quot;A String&quot;, # The number of online devices for an Android version.
&quot;versionId&quot;: &quot;A String&quot;, # An Android version.
},
],
&quot;screenDensity&quot;: 42, # Screen density in DPI. This corresponds to ro.sf.lcd_density
&quot;screenX&quot;: 42, # Screen size in the horizontal (X) dimension measured in pixels.
&quot;screenY&quot;: 42, # Screen size in the vertical (Y) dimension measured in pixels.
Expand Down Expand Up @@ -199,6 +205,12 @@ <h3>Method Details</h3>
&quot;formFactor&quot;: &quot;A String&quot;, # Whether this device is a phone, tablet, wearable, etc.
&quot;id&quot;: &quot;A String&quot;, # The unique opaque id for this model. Use this for invoking the TestExecutionService.
&quot;name&quot;: &quot;A String&quot;, # The human-readable name for this device model. Examples: &quot;iPhone 4s&quot;, &quot;iPad Mini 2&quot;.
&quot;perVersionInfo&quot;: [ # Version-specific information of an iOS model.
{ # A version-specific information of an iOS model.
&quot;deviceCapacity&quot;: &quot;A String&quot;, # The number of online devices for an iOS version.
&quot;versionId&quot;: &quot;A String&quot;, # An iOS version.
},
],
&quot;screenDensity&quot;: 42, # Screen density in DPI.
&quot;screenX&quot;: 42, # Screen size in the horizontal (X) dimension measured in pixels.
&quot;screenY&quot;: 42, # Screen size in the vertical (Y) dimension measured in pixels.
Expand Down
74 changes: 73 additions & 1 deletion googleapiclient/discovery_cache/documents/testing.v1.json
Expand Up @@ -282,7 +282,7 @@
}
}
},
"revision": "20230117",
"revision": "20230124",
"rootUrl": "https://testing.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -509,6 +509,13 @@
"description": "The human-readable marketing name for this device model. Examples: \"Nexus 5\", \"Galaxy S5\".",
"type": "string"
},
"perVersionInfo": {
"description": "Version-specific information of an Android model.",
"items": {
"$ref": "PerAndroidVersionInfo"
},
"type": "array"
},
"screenDensity": {
"description": "Screen density in DPI. This corresponds to ro.sf.lcd_density",
"format": "int32",
Expand Down Expand Up @@ -1218,6 +1225,13 @@
"description": "The human-readable name for this device model. Examples: \"iPhone 4s\", \"iPad Mini 2\".",
"type": "string"
},
"perVersionInfo": {
"description": "Version-specific information of an iOS model.",
"items": {
"$ref": "PerIosVersionInfo"
},
"type": "array"
},
"screenDensity": {
"description": "Screen density in DPI.",
"format": "int32",
Expand Down Expand Up @@ -1516,6 +1530,64 @@
},
"type": "object"
},
"PerAndroidVersionInfo": {
"description": "A version-specific information of an Android model.",
"id": "PerAndroidVersionInfo",
"properties": {
"deviceCapacity": {
"description": "The number of online devices for an Android version.",
"enum": [
"DEVICE_CAPACITY_UNSPECIFIED",
"DEVICE_CAPACITY_HIGH",
"DEVICE_CAPACITY_MEDIUM",
"DEVICE_CAPACITY_LOW",
"DEVICE_CAPACITY_NONE"
],
"enumDescriptions": [
"The value of device capacity is unknown or unset.",
"Devices that are high in capacity (The lab has a large number of these devices). These devices are generally suggested for running a large number of simultaneous tests (e.g. more than 100 tests). Please note that high capacity devices do not guarantee short wait times due to several factors: 1. Traffic (how heavily they are used at any given moment) 2. High capacity devices are prioritized for certain usages, which may cause user tests to be slower than selecting other similar device types.",
"Devices that are medium in capacity (The lab has a decent number of these devices, though not as many as high capacity devices). These devices are suitable for fewer test runs (e.g. fewer than 100 tests) and only for low shard counts (e.g. less than 10 shards).",
"Devices that are low in capacity (The lab has a small number of these devices). These devices may be used if users need to test on this specific device model and version. Please note that due to low capacity, the tests may take much longer to finish, especially if a large number of tests are invoked at once. These devices are not suitable for test sharding.",
"Devices that are completely missing from the lab. These devices are unavailable either temporarily or permanently and should not be requested. If the device is also marked as deprecated, this state is very likely permanent."
],
"type": "string"
},
"versionId": {
"description": "An Android version.",
"type": "string"
}
},
"type": "object"
},
"PerIosVersionInfo": {
"description": "A version-specific information of an iOS model.",
"id": "PerIosVersionInfo",
"properties": {
"deviceCapacity": {
"description": "The number of online devices for an iOS version.",
"enum": [
"DEVICE_CAPACITY_UNSPECIFIED",
"DEVICE_CAPACITY_HIGH",
"DEVICE_CAPACITY_MEDIUM",
"DEVICE_CAPACITY_LOW",
"DEVICE_CAPACITY_NONE"
],
"enumDescriptions": [
"The value of device capacity is unknown or unset.",
"Devices that are high in capacity (The lab has a large number of these devices). These devices are generally suggested for running a large number of simultaneous tests (e.g. more than 100 tests). Please note that high capacity devices do not guarantee short wait times due to several factors: 1. Traffic (how heavily they are used at any given moment) 2. High capacity devices are prioritized for certain usages, which may cause user tests to be slower than selecting other similar device types.",
"Devices that are medium in capacity (The lab has a decent number of these devices, though not as many as high capacity devices). These devices are suitable for fewer test runs (e.g. fewer than 100 tests) and only for low shard counts (e.g. less than 10 shards).",
"Devices that are low in capacity (The lab has a small number of these devices). These devices may be used if users need to test on this specific device model and version. Please note that due to low capacity, the tests may take much longer to finish, especially if a large number of tests are invoked at once. These devices are not suitable for test sharding.",
"Devices that are completely missing from the lab. These devices are unavailable either temporarily or permanently and should not be requested. If the device is also marked as deprecated, this state is very likely permanent."
],
"type": "string"
},
"versionId": {
"description": "An iOS version.",
"type": "string"
}
},
"type": "object"
},
"ProvidedSoftwareCatalog": {
"description": "The currently provided software environment on the devices under test.",
"id": "ProvidedSoftwareCatalog",
Expand Down

0 comments on commit abf217f

Please sign in to comment.