
target.apidocs.com.google.api.services.toolresults.model.TestSuiteOverview.html Maven / Gradle / Ivy
TestSuiteOverview (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class TestSuiteOverview
- 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.TestSuiteOverview
-
public final class TestSuiteOverview
extends GenericJson
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.
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
TestSuiteOverview()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TestSuiteOverview
clone()
Duration
getElapsedTime()
Elapsed time of test suite.
Integer
getErrorCount()
Number of test cases in error, typically set by the service by parsing the xml_source.
Integer
getFailureCount()
Number of failed test cases, typically set by the service by parsing the xml_source.
Integer
getFlakyCount()
Number of flaky test cases, set by the service by rolling up flaky test attempts.
String
getName()
The name of the test suite.
Integer
getSkippedCount()
Number of test cases not run, typically set by the service by parsing the xml_source.
Integer
getTotalCount()
Number of test cases, typically set by the service by parsing the xml_source.
FileReference
getXmlSource()
If this test suite was parsed from XML, this is the URI where the original XML file is stored.
TestSuiteOverview
set(String fieldName,
Object value)
TestSuiteOverview
setElapsedTime(Duration elapsedTime)
Elapsed time of test suite.
TestSuiteOverview
setErrorCount(Integer errorCount)
Number of test cases in error, typically set by the service by parsing the xml_source.
TestSuiteOverview
setFailureCount(Integer failureCount)
Number of failed test cases, typically set by the service by parsing the xml_source.
TestSuiteOverview
setFlakyCount(Integer flakyCount)
Number of flaky test cases, set by the service by rolling up flaky test attempts.
TestSuiteOverview
setName(String name)
The name of the test suite.
TestSuiteOverview
setSkippedCount(Integer skippedCount)
Number of test cases not run, typically set by the service by parsing the xml_source.
TestSuiteOverview
setTotalCount(Integer totalCount)
Number of test cases, typically set by the service by parsing the xml_source.
TestSuiteOverview
setXmlSource(FileReference xmlSource)
If this test suite was parsed from XML, this is the URI where the original XML file is stored.
-
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
-
getElapsedTime
public Duration getElapsedTime()
Elapsed time of test suite.
- Returns:
- value or
null
for none
-
setElapsedTime
public TestSuiteOverview setElapsedTime(Duration elapsedTime)
Elapsed time of test suite.
- Parameters:
elapsedTime
- elapsedTime or null
for none
-
getErrorCount
public Integer getErrorCount()
Number of test cases in error, typically set by the service by parsing the xml_source. - In
create/response: always set - In update request: never
- Returns:
- value or
null
for none
-
setErrorCount
public TestSuiteOverview setErrorCount(Integer errorCount)
Number of test cases in error, typically set by the service by parsing the xml_source. - In
create/response: always set - In update request: never
- Parameters:
errorCount
- errorCount or null
for none
-
getFailureCount
public Integer getFailureCount()
Number of failed test cases, typically set by the service by parsing the xml_source. May also
be set by the user. - In create/response: always set - In update request: never
- Returns:
- value or
null
for none
-
setFailureCount
public TestSuiteOverview setFailureCount(Integer failureCount)
Number of failed test cases, typically set by the service by parsing the xml_source. May also
be set by the user. - In create/response: always set - In update request: never
- Parameters:
failureCount
- failureCount or null
for none
-
getFlakyCount
public Integer getFlakyCount()
Number of flaky test cases, set by the service by rolling up flaky test attempts. Present only
for rollup test suite overview at environment level. A step cannot have flaky test cases.
- Returns:
- value or
null
for none
-
setFlakyCount
public TestSuiteOverview setFlakyCount(Integer flakyCount)
Number of flaky test cases, set by the service by rolling up flaky test attempts. Present only
for rollup test suite overview at environment level. A step cannot have flaky test cases.
- Parameters:
flakyCount
- flakyCount or null
for none
-
getName
public String getName()
The name of the test suite. - In create/response: always set - In update request: never
- Returns:
- value or
null
for none
-
setName
public TestSuiteOverview setName(String name)
The name of the test suite. - In create/response: always set - In update request: never
- Parameters:
name
- name or null
for none
-
getSkippedCount
public Integer getSkippedCount()
Number of test cases not run, typically set by the service by parsing the xml_source. - In
create/response: always set - In update request: never
- Returns:
- value or
null
for none
-
setSkippedCount
public TestSuiteOverview setSkippedCount(Integer skippedCount)
Number of test cases not run, typically set by the service by parsing the xml_source. - In
create/response: always set - In update request: never
- Parameters:
skippedCount
- skippedCount or null
for none
-
getTotalCount
public Integer getTotalCount()
Number of test cases, typically set by the service by parsing the xml_source. - In
create/response: always set - In update request: never
- Returns:
- value or
null
for none
-
setTotalCount
public TestSuiteOverview setTotalCount(Integer totalCount)
Number of test cases, typically set by the service by parsing the xml_source. - In
create/response: always set - In update request: never
- Parameters:
totalCount
- totalCount or null
for none
-
getXmlSource
public FileReference getXmlSource()
If this test suite was parsed from XML, this is the URI where the original XML file is stored.
Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if the uri
format is not supported. - In create/response: optional - In update request: never
- Returns:
- value or
null
for none
-
setXmlSource
public TestSuiteOverview setXmlSource(FileReference xmlSource)
If this test suite was parsed from XML, this is the URI where the original XML file is stored.
Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if the uri
format is not supported. - In create/response: optional - In update request: never
- Parameters:
xmlSource
- xmlSource or null
for none
-
set
public TestSuiteOverview set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public TestSuiteOverview clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy