public final class TestSuiteOverview extends GenericJson
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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TestSuiteOverview() |
| 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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Duration getElapsedTime()
null for nonepublic TestSuiteOverview setElapsedTime(Duration elapsedTime)
elapsedTime - elapsedTime or null for nonepublic Integer getErrorCount()
null for nonepublic TestSuiteOverview setErrorCount(Integer errorCount)
errorCount - errorCount or null for nonepublic Integer getFailureCount()
null for nonepublic TestSuiteOverview setFailureCount(Integer failureCount)
failureCount - failureCount or null for nonepublic Integer getFlakyCount()
null for nonepublic TestSuiteOverview setFlakyCount(Integer flakyCount)
flakyCount - flakyCount or null for nonepublic String getName()
null for nonepublic TestSuiteOverview setName(String name)
name - name or null for nonepublic Integer getSkippedCount()
null for nonepublic TestSuiteOverview setSkippedCount(Integer skippedCount)
skippedCount - skippedCount or null for nonepublic Integer getTotalCount()
null for nonepublic TestSuiteOverview setTotalCount(Integer totalCount)
totalCount - totalCount or null for nonepublic FileReference getXmlSource()
null for nonepublic TestSuiteOverview setXmlSource(FileReference xmlSource)
xmlSource - xmlSource or null for nonepublic TestSuiteOverview set(String fieldName, Object value)
set in class GenericJsonpublic TestSuiteOverview clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.