GetTestMatrixResult class
Result data returned by getTestMatrix.
Constructors
-
GetTestMatrixResult({required ClientInfoResponse clientInfo, required EnvironmentMatrixResponse environmentMatrix, required bool failFast, required int flakyTestAttempts, required String invalidMatrixDetails, required String outcomeSummary, required String project, required ResultStorageResponse resultStorage, required String state, required List<
TestExecutionResponse> testExecutions, required String testMatrixId, required TestSpecificationResponse testSpecification, required String timestamp}) -
Creates a new GetTestMatrixResult.
clientInfoInformation about the client which invoked the test.environmentMatrixThe devices the tests are being executed on.failFastIf true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.flakyTestAttemptsThe 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.invalidMatrixDetailsDescribes why the matrix is considered invalid. Only useful for matrices in the INVALID state.outcomeSummaryOutput Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.projectThe cloud project that owns the test matrix.resultStorageWhere the results for the matrix are written.stateIndicates the current progress of the test matrix.testExecutionsThe list of test executions that the service creates for this matrix.testMatrixIdUnique id set by the service.testSpecificationHow to run the test.timestampThe time this test matrix was initially created.const -
GetTestMatrixResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- clientInfo → ClientInfoResponse
-
Information about the client which invoked the test.
final
- environmentMatrix → EnvironmentMatrixResponse
-
The devices the tests are being executed on.
final
- failFast → bool
-
If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.
final
- flakyTestAttempts → int
-
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidMatrixDetails → String
-
Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
final
- outcomeSummary → String
-
Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
final
- project → String
-
The cloud project that owns the test matrix.
final
- resultStorage → ResultStorageResponse
-
Where the results for the matrix are written.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
Indicates the current progress of the test matrix.
final
-
testExecutions
→ List<
TestExecutionResponse> -
The list of test executions that the service creates for this matrix.
final
- testMatrixId → String
-
Unique id set by the service.
final
- testSpecification → TestSpecificationResponse
-
How to run the test.
final
- timestamp → String
-
The time this test matrix was initially created.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited