Class OpenMetadataConformanceTestLabResults
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestLabResults
- All Implemented Interfaces:
Serializable
OpenMetadataConformanceTestLabResults is a bean for collating the results from a specific test lab.
A test lab contains multiple workbenches.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the number of test cases run.int
Return the number of test cases failed.int
Return the number of test cases passed.Return the list of test results from each workbench.Return date that the test was run.int
Return the number of test cases skipped.void
setTestResultsFromWorkbenches
(List<OpenMetadataConformanceWorkbenchResults> testResultsFromWorkbenches) Set up the list of test results from each workbench.void
setTestRunDate
(Date testRunDate) Set up the date of the test.toString()
toString() JSON-styleMethods inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
countTestCaseResults, countTestCaseSummaries, setTestCaseCount, setTestFailedCount, setTestPassCount, setTestSkippedCount
-
Constructor Details
-
OpenMetadataConformanceTestLabResults
public OpenMetadataConformanceTestLabResults()Default constructor
-
-
Method Details
-
getTestCaseCount
public int getTestCaseCount()Return the number of test cases run.- Specified by:
getTestCaseCount
in classOpenMetadataConformanceTestResults
- Returns:
- int count
-
getTestPassCount
public int getTestPassCount()Return the number of test cases passed.- Specified by:
getTestPassCount
in classOpenMetadataConformanceTestResults
- Returns:
- int count
-
getTestFailedCount
public int getTestFailedCount()Return the number of test cases failed.- Specified by:
getTestFailedCount
in classOpenMetadataConformanceTestResults
- Returns:
- int count
-
getTestSkippedCount
public int getTestSkippedCount()Return the number of test cases skipped.- Specified by:
getTestSkippedCount
in classOpenMetadataConformanceTestResults
- Returns:
- int count
-
getTestRunDate
Return date that the test was run.- Returns:
- date object
-
setTestRunDate
Set up the date of the test.- Parameters:
testRunDate
- date object
-
getTestResultsFromWorkbenches
Return the list of test results from each workbench.- Returns:
- list of workbench results
-
setTestResultsFromWorkbenches
public void setTestResultsFromWorkbenches(List<OpenMetadataConformanceWorkbenchResults> testResultsFromWorkbenches) Set up the list of test results from each workbench.- Parameters:
testResultsFromWorkbenches
- list of workbench results
-
toString
toString() JSON-style
-