Class OpenMetadataConformanceWorkbenchResults
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceWorkbenchResults
- All Implemented Interfaces:
Serializable
OpenMetadataConformanceWorkbenchResults provides a bean for storing the results of an
Open Metadata Conformance Suite Workbench. This includes the accumulated
results from each of the tests it runs within each profile.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor - used when constructing from JSON. -
Method Summary
Modifier and TypeMethodDescriptionReturn the list of test cases that failed.Return the list of test cases that passed.Return the indexed list of profile results.Return the list of test cases that were not run due to an earlier failure.int
Return the number of test cases run.int
Return the number of test cases failed.int
Return the number of test cases passed.int
Return the number of test cases skipped.Return the technology under test name (eg server name).Return the technology under test type description.Return the version number of the workbench.Return the url to the workbench documentation.Return the unique identifier of the workbench.Return the name of the workbenchvoid
setFailedTestCases
(List<OpenMetadataTestCaseResult> failedTestCases) Set up the list of test cases that failed.void
setPassedTestCases
(List<OpenMetadataTestCaseResult> passedTestCases) Set up the list of test cases that passed.void
setProfileResults
(List<OpenMetadataConformanceProfileResults> profileResults) Set up the indexed list of profile results.void
setSkippedTestCases
(List<OpenMetadataTestCaseSummary> skippedTestCases) Set up the list of test cases that were not run sue to an earlier failure.void
setTutName
(String tutName) Set up the technology under test name (eg server name).void
setTutType
(String tutType) Set up the technology under test type description.void
setVersionNumber
(String versionNumber) Set up the version number of the workbench running the tests.void
setWorkbenchDocumentationURL
(String workbenchDocumentationURL) Set up the url to the workbench documentation.void
setWorkbenchId
(String workbenchId) Set up the unique identifier of the workbench.void
setWorkbenchName
(String workbenchName) Set up the name of the workbenchtoString()
toString() JSON-styleMethods inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
countTestCaseResults, countTestCaseSummaries, setTestCaseCount, setTestFailedCount, setTestPassCount, setTestSkippedCount
-
Constructor Details
-
OpenMetadataConformanceWorkbenchResults
public OpenMetadataConformanceWorkbenchResults()Default constructor - used when constructing from JSON.
-
-
Method Details
-
getWorkbenchId
Return the unique identifier of the workbench.- Returns:
- string id
-
setWorkbenchId
Set up the unique identifier of the workbench.- Parameters:
workbenchId
- string id
-
getWorkbenchName
Return the name of the workbench- Returns:
- string name
-
setWorkbenchName
Set up the name of the workbench- Parameters:
workbenchName
- name
-
getVersionNumber
Return the version number of the workbench.- Returns:
- string version
-
setVersionNumber
Set up the version number of the workbench running the tests.- Parameters:
versionNumber
- string version number
-
getWorkbenchDocumentationURL
Return the url to the workbench documentation.- Returns:
- string url
-
setWorkbenchDocumentationURL
Set up the url to the workbench documentation.- Parameters:
workbenchDocumentationURL
- url
-
getTutType
Return the technology under test type description.- Returns:
- name
-
setTutType
Set up the technology under test type description.- Parameters:
tutType
- name
-
getTutName
Return the technology under test name (eg server name).- Returns:
- name
-
setTutName
Set up the technology under test name (eg server name).- Parameters:
tutName
- name
-
getProfileResults
Return the indexed list of profile results. There is an entry for each profile indexed by the profileId.- Returns:
- map of profile id to profile results
-
setProfileResults
Set up the indexed list of profile results. There is an entry for each profile indexed by the profileId.- Parameters:
profileResults
- map of profile id to profile results
-
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
-
getPassedTestCases
Return the list of test cases that passed.- Returns:
- list of test cases
-
setPassedTestCases
Set up the list of test cases that passed.- Parameters:
passedTestCases
- list of test cases
-
getFailedTestCases
Return the list of test cases that failed.- Returns:
- list of test cases
-
setFailedTestCases
Set up the list of test cases that failed.- Parameters:
failedTestCases
- list of test cases
-
getSkippedTestCases
Return the list of test cases that were not run due to an earlier failure.- Returns:
- list of test cases
-
setSkippedTestCases
Set up the list of test cases that were not run sue to an earlier failure.- Parameters:
skippedTestCases
- list of test cases
-
toString
toString() JSON-style
-