Record Class ReportDocument.Summary

Object
Record
akka.javasdk.testkit.eval.ReportDocument.Summary
Record Components:
cases - the number of cases
passedCases - cases with the outcome PASSED
failedCases - cases with the outcome FAILED
inconsistentCases - cases with the outcome INCONSISTENT; zero with one run
inconclusiveCases - cases with the outcome INCONCLUSIVE
inconsistentRequirements - requirements that passed in some runs and failed in others, over all cases; zero with one run
attempts - cases times runs
passedAttempts - attempts with the verdict PASS
failedAttempts - attempts with the verdict FAIL
inconclusiveAttempts - attempts with the verdict INCONCLUSIVE
passRate - passedAttempts over attempts
Enclosing class:
ReportDocument

public static record ReportDocument.Summary(int cases, int passedCases, int failedCases, int inconsistentCases, int inconclusiveCases, int inconsistentRequirements, int attempts, int passedAttempts, int failedAttempts, int inconclusiveAttempts, double passRate) extends Record
  • Constructor Details

    • Summary

      public Summary(int cases, int passedCases, int failedCases, int inconsistentCases, int inconclusiveCases, int inconsistentRequirements, int attempts, int passedAttempts, int failedAttempts, int inconclusiveAttempts, double passRate)
      Creates an instance of a Summary record class.
      Parameters:
      cases - the value for the cases record component
      passedCases - the value for the passedCases record component
      failedCases - the value for the failedCases record component
      inconsistentCases - the value for the inconsistentCases record component
      inconclusiveCases - the value for the inconclusiveCases record component
      inconsistentRequirements - the value for the inconsistentRequirements record component
      attempts - the value for the attempts record component
      passedAttempts - the value for the passedAttempts record component
      failedAttempts - the value for the failedAttempts record component
      inconclusiveAttempts - the value for the inconclusiveAttempts record component
      passRate - the value for the passRate record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • cases

      public int cases()
      Returns the value of the cases record component.
      Returns:
      the value of the cases record component
    • passedCases

      public int passedCases()
      Returns the value of the passedCases record component.
      Returns:
      the value of the passedCases record component
    • failedCases

      public int failedCases()
      Returns the value of the failedCases record component.
      Returns:
      the value of the failedCases record component
    • inconsistentCases

      public int inconsistentCases()
      Returns the value of the inconsistentCases record component.
      Returns:
      the value of the inconsistentCases record component
    • inconclusiveCases

      public int inconclusiveCases()
      Returns the value of the inconclusiveCases record component.
      Returns:
      the value of the inconclusiveCases record component
    • inconsistentRequirements

      public int inconsistentRequirements()
      Returns the value of the inconsistentRequirements record component.
      Returns:
      the value of the inconsistentRequirements record component
    • attempts

      public int attempts()
      Returns the value of the attempts record component.
      Returns:
      the value of the attempts record component
    • passedAttempts

      public int passedAttempts()
      Returns the value of the passedAttempts record component.
      Returns:
      the value of the passedAttempts record component
    • failedAttempts

      public int failedAttempts()
      Returns the value of the failedAttempts record component.
      Returns:
      the value of the failedAttempts record component
    • inconclusiveAttempts

      public int inconclusiveAttempts()
      Returns the value of the inconclusiveAttempts record component.
      Returns:
      the value of the inconclusiveAttempts record component
    • passRate

      public double passRate()
      Returns the value of the passRate record component.
      Returns:
      the value of the passRate record component