Class OpenMetadataConformanceTestResults

java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OpenMetadataConformanceTestLabResults, OpenMetadataConformanceWorkbenchResults

public abstract class OpenMetadataConformanceTestResults extends Object implements Serializable
OpenMetadataConformanceTestResults provides a base class for test result beans.
See Also:
  • Constructor Details

    • OpenMetadataConformanceTestResults

      public OpenMetadataConformanceTestResults()
      Default constructor
  • Method Details

    • countTestCaseSummaries

      protected int countTestCaseSummaries(List<OpenMetadataTestCaseSummary> testCaseResults)
      Count the test case results in the list - dealing with nulls and empty lists.
      Parameters:
      testCaseResults - - list of results.
      Returns:
      count
    • countTestCaseResults

      protected int countTestCaseResults(List<OpenMetadataTestCaseResult> testCaseResults)
      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