Class OpenMetadataConformanceTestResults
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OpenMetadataConformanceTestLabResults
,OpenMetadataConformanceWorkbenchResults
OpenMetadataConformanceTestResults provides a base class for test result beans.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
countTestCaseResults
(List<OpenMetadataTestCaseResult> testCaseResults) Count the test case results in the list - dealing with nulls and empty lists.protected int
countTestCaseSummaries
(List<OpenMetadataTestCaseSummary> testCaseResults) Count the test case results in the list - dealing with nulls and empty lists.abstract int
Return the number of test cases run.abstract int
Return the number of test cases failed.abstract int
Return the number of test cases passed.abstract int
Return the number of test cases skipped.void
setTestCaseCount
(int count) Default setter just needed for JSON transformation.void
setTestFailedCount
(int count) Default setter just needed for JSON transformation.void
setTestPassCount
(int count) Default setter just needed for JSON transformation.void
setTestSkippedCount
(int count) Default setter just needed for JSON transformation.
-
Constructor Details
-
OpenMetadataConformanceTestResults
public OpenMetadataConformanceTestResults()Default constructor
-
-
Method Details
-
countTestCaseSummaries
Count the test case results in the list - dealing with nulls and empty lists.- Parameters:
testCaseResults
- - list of results.- Returns:
- count
-
countTestCaseResults
Count the test case results in the list - dealing with nulls and empty lists.- Parameters:
testCaseResults
- - list of results.- Returns:
- count
-
getTestCaseCount
public abstract int getTestCaseCount()Return the number of test cases run.- Returns:
- int count
-
setTestCaseCount
public void setTestCaseCount(int count) Default setter just needed for JSON transformation. The value is ignored.- Parameters:
count
- number to import
-
getTestPassCount
public abstract int getTestPassCount()Return the number of test cases passed.- Returns:
- int count
-
setTestPassCount
public void setTestPassCount(int count) Default setter just needed for JSON transformation. The value is ignored.- Parameters:
count
- number to import
-
getTestFailedCount
public abstract int getTestFailedCount()Return the number of test cases failed.- Returns:
- int count
-
setTestFailedCount
public void setTestFailedCount(int count) Default setter just needed for JSON transformation. The value is ignored.- Parameters:
count
- number to import
-
getTestSkippedCount
public abstract int getTestSkippedCount()Return the number of test cases skipped.- Returns:
- int count
-
setTestSkippedCount
public void setTestSkippedCount(int count) Default setter just needed for JSON transformation. The value is ignored.- Parameters:
count
- number to import
-