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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturn the number of test cases run.intReturn the number of test cases failed.intReturn the number of test cases passed.Return the list of test results from each workbench.Return date that the test was run.intReturn the number of test cases skipped.voidsetTestResultsFromWorkbenches(List<OpenMetadataConformanceWorkbenchResults> testResultsFromWorkbenches) Set up the list of test results from each workbench.voidsetTestRunDate(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:
getTestCaseCountin classOpenMetadataConformanceTestResults- Returns:
- int count
-
getTestPassCount
public int getTestPassCount()Return the number of test cases passed.- Specified by:
getTestPassCountin classOpenMetadataConformanceTestResults- Returns:
- int count
-
getTestFailedCount
public int getTestFailedCount()Return the number of test cases failed.- Specified by:
getTestFailedCountin classOpenMetadataConformanceTestResults- Returns:
- int count
-
getTestSkippedCount
public int getTestSkippedCount()Return the number of test cases skipped.- Specified by:
getTestSkippedCountin 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
-