
target.apidocs.com.google.api.services.toolresults.model.TestExecutionStep.html Maven / Gradle / Ivy
TestExecutionStep (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class TestExecutionStep
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.toolresults.model.TestExecutionStep
-
public final class TestExecutionStep
extends GenericJson
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.
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 Tool Results API. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TestExecutionStep()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TestExecutionStep
clone()
List<TestIssue>
getTestIssues()
Issues observed during the test execution.
List<TestSuiteOverview>
getTestSuiteOverviews()
List of test suite overview contents.
TestTiming
getTestTiming()
The timing break down of the test execution.
ToolExecution
getToolExecution()
Represents the execution of the test runner.
TestExecutionStep
set(String fieldName,
Object value)
TestExecutionStep
setTestIssues(List<TestIssue> testIssues)
Issues observed during the test execution.
TestExecutionStep
setTestSuiteOverviews(List<TestSuiteOverview> testSuiteOverviews)
List of test suite overview contents.
TestExecutionStep
setTestTiming(TestTiming testTiming)
The timing break down of the test execution.
TestExecutionStep
setToolExecution(ToolExecution toolExecution)
Represents the execution of the test runner.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getTestIssues
public List<TestIssue> getTestIssues()
Issues observed during the test execution. For example, if the mobile app under test crashed
during the test, the error message and the stack trace content can be recorded here to assist
debugging. - In response: present if set by create or update - In create/update request:
optional
- Returns:
- value or
null
for none
-
setTestIssues
public TestExecutionStep setTestIssues(List<TestIssue> testIssues)
Issues observed during the test execution. For example, if the mobile app under test crashed
during the test, the error message and the stack trace content can be recorded here to assist
debugging. - In response: present if set by create or update - In create/update request:
optional
- Parameters:
testIssues
- testIssues or null
for none
-
getTestSuiteOverviews
public List<TestSuiteOverview> getTestSuiteOverviews()
List of test suite overview contents. This could be parsed from xUnit XML log by server, or
uploaded directly by user. This references should only be called when test suites are fully
parsed or uploaded. The maximum allowed number of test suite overviews per step is 1000. - In
response: always set - In create request: optional - In update request: never (use
publishXunitXmlFiles custom method instead)
- Returns:
- value or
null
for none
-
setTestSuiteOverviews
public TestExecutionStep setTestSuiteOverviews(List<TestSuiteOverview> testSuiteOverviews)
List of test suite overview contents. This could be parsed from xUnit XML log by server, or
uploaded directly by user. This references should only be called when test suites are fully
parsed or uploaded. The maximum allowed number of test suite overviews per step is 1000. - In
response: always set - In create request: optional - In update request: never (use
publishXunitXmlFiles custom method instead)
- Parameters:
testSuiteOverviews
- testSuiteOverviews or null
for none
-
getTestTiming
public TestTiming getTestTiming()
The timing break down of the test execution. - In response: present if set by create or update
- In create/update request: optional
- Returns:
- value or
null
for none
-
setTestTiming
public TestExecutionStep setTestTiming(TestTiming testTiming)
The timing break down of the test execution. - In response: present if set by create or update
- In create/update request: optional
- Parameters:
testTiming
- testTiming or null
for none
-
getToolExecution
public ToolExecution getToolExecution()
Represents the execution of the test runner. The exit code of this tool will be used to
determine if the test passed. - In response: always set - In create/update request: optional
- Returns:
- value or
null
for none
-
setToolExecution
public TestExecutionStep setToolExecution(ToolExecution toolExecution)
Represents the execution of the test runner. The exit code of this tool will be used to
determine if the test passed. - In response: always set - In create/update request: optional
- Parameters:
toolExecution
- toolExecution or null
for none
-
set
public TestExecutionStep set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public TestExecutionStep clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy