public final class TestCase 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 |
|---|
TestCase() |
| Modifier and Type | Method and Description |
|---|---|
TestCase |
clone() |
Duration |
getElapsedTime()
The elapsed run time of the test case.
|
Timestamp |
getEndTime()
The end time of the test case.
|
String |
getSkippedMessage()
Why the test case was skipped.
|
List<StackTrace> |
getStackTraces()
The stack trace details if the test case failed or encountered an error.
|
Timestamp |
getStartTime()
The start time of the test case.
|
String |
getStatus()
The status of the test case.
|
String |
getTestCaseId()
A unique identifier within a Step for this Test Case.
|
TestCaseReference |
getTestCaseReference()
Test case reference, e.g.
|
List<ToolOutputReference> |
getToolOutputs()
References to opaque files of any format output by the tool execution.
|
TestCase |
set(String fieldName,
Object value) |
TestCase |
setElapsedTime(Duration elapsedTime)
The elapsed run time of the test case.
|
TestCase |
setEndTime(Timestamp endTime)
The end time of the test case.
|
TestCase |
setSkippedMessage(String skippedMessage)
Why the test case was skipped.
|
TestCase |
setStackTraces(List<StackTrace> stackTraces)
The stack trace details if the test case failed or encountered an error.
|
TestCase |
setStartTime(Timestamp startTime)
The start time of the test case.
|
TestCase |
setStatus(String status)
The status of the test case.
|
TestCase |
setTestCaseId(String testCaseId)
A unique identifier within a Step for this Test Case.
|
TestCase |
setTestCaseReference(TestCaseReference testCaseReference)
Test case reference, e.g.
|
TestCase |
setToolOutputs(List<ToolOutputReference> toolOutputs)
References to opaque files of any format output by the tool execution.
|
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 TestCase setElapsedTime(Duration elapsedTime)
elapsedTime - elapsedTime or null for nonepublic Timestamp getEndTime()
null for nonepublic TestCase setEndTime(Timestamp endTime)
endTime - endTime or null for nonepublic String getSkippedMessage()
null for nonepublic TestCase setSkippedMessage(String skippedMessage)
skippedMessage - skippedMessage or null for nonepublic List<StackTrace> getStackTraces()
null for nonepublic TestCase setStackTraces(List<StackTrace> stackTraces)
stackTraces - stackTraces or null for nonepublic Timestamp getStartTime()
null for nonepublic TestCase setStartTime(Timestamp startTime)
startTime - startTime or null for nonepublic String getStatus()
null for nonepublic TestCase setStatus(String status)
status - status or null for nonepublic String getTestCaseId()
null for nonepublic TestCase setTestCaseId(String testCaseId)
testCaseId - testCaseId or null for nonepublic TestCaseReference getTestCaseReference()
null for nonepublic TestCase setTestCaseReference(TestCaseReference testCaseReference)
testCaseReference - testCaseReference or null for nonepublic List<ToolOutputReference> getToolOutputs()
null for nonepublic TestCase setToolOutputs(List<ToolOutputReference> toolOutputs)
toolOutputs - toolOutputs or null for nonepublic TestCase set(String fieldName, Object value)
set in class GenericJsonpublic TestCase clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.