Package com.atlassian.bamboo.build.test
Class TestCollectionResultBuilder
java.lang.Object
com.atlassian.bamboo.build.test.TestCollectionResultBuilder
Builder for creating
TestCollectionResult
s- Since:
- 3.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddFailedTestResults
(Collection<TestResults> failedTestResults) Append failed test resultsaddSkippedTestResults
(Collection<TestResults> skippedTestResults) Append skipped test resultsaddSuccessfulTestResults
(Collection<TestResults> successfulTestResults) Append successful test resultsbuild()
-
Constructor Details
-
TestCollectionResultBuilder
public TestCollectionResultBuilder()
-
-
Method Details
-
addSuccessfulTestResults
public TestCollectionResultBuilder addSuccessfulTestResults(Collection<TestResults> successfulTestResults) Append successful test results- Parameters:
successfulTestResults
- to append- Returns:
- builder
-
addFailedTestResults
Append failed test results- Parameters:
failedTestResults
- to append- Returns:
- builder
-
addSkippedTestResults
public TestCollectionResultBuilder addSkippedTestResults(Collection<TestResults> skippedTestResults) Append skipped test results- Parameters:
skippedTestResults
- to append- Returns:
- builder
-
build
-