@Generated(value="software.amazon.awssdk:codegen") public final class TestCase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TestCase.Builder,TestCase>
Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestCase.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TestCase.Builder |
builder() |
Long |
durationInNanoSeconds()
The number of nanoseconds it took to run this test case.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expired()
The date and time a test case expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message associated with a test case.
|
String |
name()
The name of the test case.
|
String |
prefix()
A string that is applied to a series of related test cases.
|
String |
reportArn()
The ARN of the report to which the test case belongs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TestCase.Builder> |
serializableBuilderClass() |
String |
status()
The status returned by the test case after it was run.
|
String |
testRawDataPath()
The path to the raw data file that contains the test result.
|
TestCase.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String reportArn()
The ARN of the report to which the test case belongs.
public final String testRawDataPath()
The path to the raw data file that contains the test result.
public final String prefix()
A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.
public final String name()
The name of the test case.
public final String status()
The status returned by the test case after it was run. Valid statuses are SUCCEEDED,
FAILED, ERROR, SKIPPED, and UNKNOWN.
SUCCEEDED,
FAILED, ERROR, SKIPPED, and UNKNOWN.public final Long durationInNanoSeconds()
The number of nanoseconds it took to run this test case.
public final String message()
A message associated with a test case. For example, an error message or stack trace.
public final Instant expired()
The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.
public TestCase.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TestCase.Builder,TestCase>public static TestCase.Builder builder()
public static Class<? extends TestCase.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.