Interface TestCase.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<TestCase.Builder,,- TestCase> - SdkBuilder<TestCase.Builder,,- TestCase> - SdkPojo
- Enclosing class:
- TestCase
- 
Method SummaryModifier and TypeMethodDescriptiondurationInNanoSeconds(Long durationInNanoSeconds) The number of nanoseconds it took to run this test case.The date and time a test case expires.A message associated with a test case.The name of the test case.A string that is applied to a series of related test cases.The ARN of the report to which the test case belongs.The status returned by the test case after it was run.testRawDataPath(String testRawDataPath) The path to the raw data file that contains the test result.testSuiteName(String testSuiteName) The name of the test suite that the test case is a part of.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
reportArnThe ARN of the report to which the test case belongs. - Parameters:
- reportArn- The ARN of the report to which the test case belongs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testRawDataPathThe path to the raw data file that contains the test result. - Parameters:
- testRawDataPath- The path to the raw data file that contains the test result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
prefixA 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name of the test case. - Parameters:
- name- The name of the test case.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status returned by the test case after it was run. Valid statuses are SUCCEEDED,FAILED,ERROR,SKIPPED, andUNKNOWN.- Parameters:
- status- The status returned by the test case after it was run. Valid statuses are- SUCCEEDED,- FAILED,- ERROR,- SKIPPED, and- UNKNOWN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
durationInNanoSecondsThe number of nanoseconds it took to run this test case. - Parameters:
- durationInNanoSeconds- The number of nanoseconds it took to run this test case.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
messageA message associated with a test case. For example, an error message or stack trace. - Parameters:
- message- A message associated with a test case. For example, an error message or stack trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
expiredThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testSuiteNameThe name of the test suite that the test case is a part of. - Parameters:
- testSuiteName- The name of the test suite that the test case is a part of.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-