toolresults/v1beta3 library
Cloud Tool Results API - v1beta3
API to publish and access results from developer tools.
For more information, see firebase.google.com/docs/test-lab/
Create an instance of ToolResultsApi to access these resources:
Classes
- AndroidAppInfo
- Android app information.
- AndroidInstrumentationTest
- A test of an Android application that can control an Android component independently of its normal lifecycle.
- AndroidRoboTest
- A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes.
- AndroidTest
- An Android mobile test specification.
- AndroidTestLoop
- Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent.
- ANR
- Additional details for an ANR crash.
- Any
-
Any
contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. - AppStartTime
- AvailableDeepLinks
- A suggestion to use deep links for a Robo run.
- BasicPerfSampleSeries
- Encapsulates the metadata for basic sample series represented by a line chart
- BatchCreatePerfSamplesRequest
- The request must provide up to a maximum of 5000 samples to be created; a larger sample size will cause an INVALID_ARGUMENT error
- BatchCreatePerfSamplesResponse
- BlankScreen
- A warning that Robo encountered a screen that was mostly blank; this may indicate a problem with the app.
- CPUInfo
- CrashDialogError
- Crash dialog was detected during the test execution
- DeviceOutOfMemory
- A warning that device ran out of memory
- Duration
- A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.
- EncounteredLoginScreen
- Additional details about encountered login screens.
- EncounteredNonAndroidUiWidgetScreen
- Additional details about encountered screens with elements that are not Android UI widgets.
- Environment
- An Environment represents the set of test runs (Steps) from the parent Execution that are configured with the same set of dimensions (Model, Version, Locale, and Orientation).
- EnvironmentDimensionValueEntry
- Execution
- An Execution represents a collection of Steps.
- FailedToInstall
- Failed to install the APK.
- FailureDetail
- Details for an outcome with a FAILURE outcome summary.
- FatalException
- Additional details for a fatal exception.
- FileReference
- A reference to a file.
- GraphicsStats
- Graphics statistics for the App.
- GraphicsStatsBucket
- History
- A History represents a sorted list of Executions ordered by the start_timestamp_millis field (descending).
- Image
- An image, with a link to the main image and a thumbnail.
- InAppPurchasesFound
- Additional details of in-app purchases encountered during the crawl.
- InconclusiveDetail
- Details for an outcome with an INCONCLUSIVE outcome summary.
- IndividualOutcome
- Step Id and outcome of each individual step that was run as a group with other steps with the same configuration.
- InsufficientCoverage
- A warning that Robo did not crawl potentially important parts of the app.
- IosAppCrashed
- Additional details for an iOS app crash.
- IosAppInfo
- iOS app information
- IosRoboTest
- A Robo test for an iOS application.
- IosTest
- A iOS mobile test specification
- IosTestLoop
- A game loop test of an iOS application.
- IosXcTest
- A test of an iOS application that uses the XCTest framework.
- LauncherActivityNotFound
- Failed to find the launcher activity of an app.
- ListEnvironmentsResponse
- Response message for EnvironmentService.ListEnvironments.
- ListExecutionsResponse
- ListHistoriesResponse
- Response message for HistoryService.List
- ListPerfSampleSeriesResponse
- ListPerfSamplesResponse
- ListScreenshotClustersResponse
- ListStepAccessibilityClustersResponse
- Response message for AccessibilityService.ListStepAccessibilityClusters.
- ListStepsResponse
- Response message for StepService.List.
- ListStepThumbnailsResponse
- A response containing the thumbnails in a step.
- ListTestCasesResponse
- Response message for StepService.ListTestCases.
- LogcatCollectionError
- A warning that there were issues in logcat collection.
- MatrixDimensionDefinition
- One dimension of the matrix of different runs of a step.
- MemoryInfo
- MergedResult
- Merged test result for environment.
- MultiStep
- Details when multiple steps are run with the same configuration as a group.
- NativeCrash
- Additional details for a native crash.
- NonSdkApi
- A non-sdk API and examples of it being called along with other metadata See https://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces
- NonSdkApiInsight
- Non-SDK API insights (to address debugging solutions).
- NonSdkApiUsageViolation
- Additional details for a non-sdk API usage violation.
- NonSdkApiUsageViolationReport
- Contains a summary and examples of non-sdk API usage violations.
- Outcome
- Interprets a result so that humans and machines can act on it.
- OverlappingUIElements
- A warning that Robo encountered a screen that has overlapping clickable elements; this may indicate a potential UI issue.
- PendingGoogleUpdateInsight
- This insight indicates that the hidden API usage originates from a Google-provided library.
- PerfEnvironment
- Encapsulates performance environment info
- PerfMetricsSummary
- A summary of perf metrics collected and performance environment info
- PerformedGoogleLogin
- A notification that Robo signed in with Google.
- PerformedMonkeyActions
- A notification that Robo performed some monkey actions.
- PerfSample
- Resource representing a single performance measure or data point
- PerfSampleSeries
- Resource representing a collection of performance samples (or data points)
- PrimaryStep
- Stores rollup test status of multiple steps that were run as a group and outcome of each individual step.
- ProjectSettings
- Per-project settings for the Tool Results service.
- ProjectsHistoriesExecutionsClustersResource
- ProjectsHistoriesExecutionsEnvironmentsResource
- ProjectsHistoriesExecutionsResource
- ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResource
- ProjectsHistoriesExecutionsStepsPerfSampleSeriesResource
- ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResource
- ProjectsHistoriesExecutionsStepsResource
- ProjectsHistoriesExecutionsStepsTestCasesResource
- ProjectsHistoriesExecutionsStepsThumbnailsResource
- ProjectsHistoriesResource
- ProjectsResource
- PublishXunitXmlFilesRequest
- Request message for StepService.PublishXunitXmlFiles.
- RegionProto
- A rectangular region.
- ResultsStorage
- The storage for test results.
- RoboScriptExecution
- Execution stats for a user-provided Robo script.
- SafeHtmlProto
- IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script.
- Screen
- ScreenshotCluster
- ShardSummary
- Result summary for a shard in an environment.
- SkippedDetail
- Details for an outcome with a SKIPPED outcome summary.
- Specification
- The details about how to run the execution.
- StackTrace
- A stacktrace.
- StartActivityNotFound
- User provided intent failed to resolve to an activity.
- Status
-
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. - Step
- A Step represents a single operation performed as part of Execution.
- StepDimensionValueEntry
- StepLabelsEntry
- StepSummary
- Lightweight summary of a step within this execution.
- SuccessDetail
- Details for an outcome with a SUCCESS outcome summary.
- SuggestionClusterProto
- A set of similar suggestions that we suspect are closely related.
- SuggestionProto
- TestCase
- TestCaseReference
- A reference to a test case.
- TestExecutionStep
- A step that represents running tests.
- TestIssue
- An issue detected occurring during a test execution.
- TestSuiteOverview
- A summary of a test suite result either parsed from XML or uploaded directly by a user.
- TestTiming
- Testing timing break down to know phases.
- Thumbnail
- A single thumbnail, with its size and format.
- Timestamp
- A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution.
- ToolExecution
- An execution of an arbitrary tool.
- ToolExecutionStep
- Generic tool step to be used for binaries we do not explicitly support.
- ToolExitCode
- Exit code from a tool execution.
- ToolOutputReference
- A reference to a ToolExecution output file.
- ToolResultsApi
- API to publish and access results from developer tools.
- UIElementTooDeep
- A warning that the screen hierarchy is deeper than the recommended threshold.
- UnspecifiedWarning
- Default unspecified warning.
- UnusedRoboDirective
- Additional details of an unused robodirective.
- UpgradeInsight
- This insight is a recommendation to upgrade a given library to the specified version, in order to avoid dependencies on non-SDK APIs.
- UsedRoboDirective
- Additional details of a used Robo directive.
- UsedRoboIgnoreDirective
- Additional details of a used Robo directive with an ignore action.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.