Package-level declarations

Types

Link copied to clipboard
data class AndroidAppInfoResponse(val name: String, val packageName: String, val versionCode: String, val versionName: String)

Android app information.

Link copied to clipboard
data class AndroidInstrumentationTestResponse(val testPackageId: String, val testRunnerClass: String, val testTargets: List<String>, val useOrchestrator: Boolean)

A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests.

Link copied to clipboard
data class AndroidRoboTestResponse(val appInitialActivity: String, val bootstrapPackageId: String, val bootstrapRunnerClass: String, val maxDepth: Int, val maxSteps: Int)

A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes.

Link copied to clipboard

Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent.

Link copied to clipboard
data class AndroidTestResponse(val androidAppInfo: AndroidAppInfoResponse, val androidInstrumentationTest: AndroidInstrumentationTestResponse, val androidRoboTest: AndroidRoboTestResponse, val androidTestLoop: AndroidTestLoopResponse, val testTimeout: DurationResponse)

An Android mobile test specification.

Link copied to clipboard
data class AnyResponse(val typeUrl: String, val value: String)

Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". # JSON The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message google.protobuf.Duration): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }

Link copied to clipboard
data class BasicPerfSampleSeriesResponse(val perfMetricType: String, val perfUnit: String, val sampleSeriesLabel: String)

Encapsulates the metadata for basic sample series represented by a line chart

Link copied to clipboard
data class DurationResponse(val nanos: Int, val seconds: String)

A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.

Link copied to clipboard
data class FailureDetailResponse(val crashed: Boolean, val deviceOutOfMemory: Boolean, val failedRoboscript: Boolean, val notInstalled: Boolean, val otherNativeCrash: Boolean, val timedOut: Boolean, val unableToCrawl: Boolean)

Details for an outcome with a FAILURE outcome summary.

Link copied to clipboard
data class FileReferenceResponse(val fileUri: String)

A reference to a file.

Link copied to clipboard
data class GetExecutionResult(val completionTime: TimestampResponse, val creationTime: TimestampResponse, val dimensionDefinitions: List<MatrixDimensionDefinitionResponse>, val executionId: String, val outcome: OutcomeResponse, val specification: SpecificationResponse, val state: String, val testExecutionMatrixId: String)
Link copied to clipboard
data class GetHistoryResult(val displayName: String, val historyId: String, val name: String, val testPlatform: String)
Link copied to clipboard
data class GetPerfSampleSeriesResult(val basicPerfSampleSeries: BasicPerfSampleSeriesResponse, val executionId: String, val historyId: String, val project: String, val sampleSeriesId: String, val stepId: String)
Link copied to clipboard
data class GetStepResult(val completionTime: TimestampResponse, val creationTime: TimestampResponse, val description: String, val deviceUsageDuration: DurationResponse, val dimensionValue: List<StepDimensionValueEntryResponse>, val hasImages: Boolean, val labels: List<StepLabelsEntryResponse>, val multiStep: MultiStepResponse, val name: String, val outcome: OutcomeResponse, val runDuration: DurationResponse, val state: String, val stepId: String, val testExecutionStep: TestExecutionStepResponse, val toolExecutionStep: ToolExecutionStepResponse)
Link copied to clipboard
data class InconclusiveDetailResponse(val abortedByUser: Boolean, val hasErrorLogs: Boolean, val infrastructureFailure: Boolean)

Details for an outcome with an INCONCLUSIVE outcome summary.

Link copied to clipboard
data class IndividualOutcomeResponse(val multistepNumber: Int, val outcomeSummary: String, val runDuration: DurationResponse, val stepId: String)

Step Id and outcome of each individual step that was run as a group with other steps with the same configuration.

Link copied to clipboard
data class IosAppInfoResponse(val name: String)

iOS app information

Link copied to clipboard

A Robo test for an iOS application.

Link copied to clipboard
data class IosTestLoopResponse(val bundleId: String)

A game loop test of an iOS application.

Link copied to clipboard
data class IosTestResponse(val iosAppInfo: IosAppInfoResponse, val iosRoboTest: IosRoboTestResponse, val iosTestLoop: IosTestLoopResponse, val iosXcTest: IosXcTestResponse, val testTimeout: DurationResponse)

A iOS mobile test specification

Link copied to clipboard
data class IosXcTestResponse(val bundleId: String, val xcodeVersion: String)

A test of an iOS application that uses the XCTest framework.

Link copied to clipboard

One dimension of the matrix of different runs of a step.

Link copied to clipboard
data class MultiStepResponse(val multistepNumber: Int, val primaryStep: PrimaryStepResponse, val primaryStepId: String)

Details when multiple steps are run with the same configuration as a group.

Link copied to clipboard
data class OutcomeResponse(val failureDetail: FailureDetailResponse, val inconclusiveDetail: InconclusiveDetailResponse, val skippedDetail: SkippedDetailResponse, val successDetail: SuccessDetailResponse, val summary: String)

Interprets a result so that humans and machines can act on it.

Link copied to clipboard
data class PrimaryStepResponse(val individualOutcome: List<IndividualOutcomeResponse>, val rollUp: String)

Stores rollup test status of multiple steps that were run as a group and outcome of each individual step.

Link copied to clipboard
data class SkippedDetailResponse(val incompatibleAppVersion: Boolean, val incompatibleArchitecture: Boolean, val incompatibleDevice: Boolean)

Details for an outcome with a SKIPPED outcome summary.

Link copied to clipboard
data class SpecificationResponse(val androidTest: AndroidTestResponse, val iosTest: IosTestResponse)

The details about how to run the execution.

Link copied to clipboard
data class StackTraceResponse(val exception: String)

A stacktrace.

Link copied to clipboard
data class StepDimensionValueEntryResponse(val key: String, val value: String)
Link copied to clipboard
data class StepLabelsEntryResponse(val key: String, val value: String)
Link copied to clipboard
data class SuccessDetailResponse(val otherNativeCrash: Boolean)

Details for an outcome with a SUCCESS outcome summary. LINT.IfChange

Link copied to clipboard
data class TestCaseReferenceResponse(val className: String, val name: String, val testSuiteName: String)

A reference to a test case. Test case references are canonically ordered lexicographically by these three factors: * First, by test_suite_name. * Second, by class_name. * Third, by name.

Link copied to clipboard
data class TestExecutionStepResponse(val testIssues: List<TestIssueResponse>, val testSuiteOverviews: List<TestSuiteOverviewResponse>, val testTiming: TestTimingResponse, val toolExecution: ToolExecutionResponse)

A step that represents running tests. It accepts ant-junit xml files which will be parsed into structured test results by the service. Xml file paths are updated in order to append more files, however they can't be deleted. Users can also add test results manually by using the test_result field.

Link copied to clipboard
data class TestIssueResponse(val category: String, val errorMessage: String, val severity: String, val stackTrace: StackTraceResponse, val type: String, val warning: AnyResponse)

An issue detected occurring during a test execution.

Link copied to clipboard
data class TestSuiteOverviewResponse(val elapsedTime: DurationResponse, val errorCount: Int, val failureCount: Int, val flakyCount: Int, val name: String, val skippedCount: Int, val totalCount: Int, val xmlSource: FileReferenceResponse)

A summary of a test suite result either parsed from XML or uploaded directly by a user. Note: the API related comments are for StepService only. This message is also being used in ExecutionService in a read only mode for the corresponding step.

Link copied to clipboard
data class TestTimingResponse(val testProcessDuration: DurationResponse)

Testing timing break down to know phases.

Link copied to clipboard
data class TimestampResponse(val nanos: Int, val seconds: String)

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. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a 24-hour linear smear. The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings.

Link copied to clipboard
data class ToolExecutionResponse(val commandLineArguments: List<String>, val exitCode: ToolExitCodeResponse, val toolLogs: List<FileReferenceResponse>, val toolOutputs: List<ToolOutputReferenceResponse>)

An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code.

Link copied to clipboard
data class ToolExecutionStepResponse(val toolExecution: ToolExecutionResponse)

Generic tool step to be used for binaries we do not explicitly support. For example: running cp to copy artifacts from one location to another.

Link copied to clipboard
data class ToolExitCodeResponse(val number: Int)

Exit code from a tool execution.

Link copied to clipboard
data class ToolOutputReferenceResponse(val creationTime: TimestampResponse, val output: FileReferenceResponse, val testCase: TestCaseReferenceResponse)

A reference to a ToolExecution output file.