Package akka.javasdk.testkit.eval
Record Class ReportDocument.Summary
- Record Components:
cases- the number of casespassedCases- cases with the outcome PASSEDfailedCases- cases with the outcome FAILEDinconsistentCases- cases with the outcome INCONSISTENT; zero with one runinconclusiveCases- cases with the outcome INCONCLUSIVEinconsistentRequirements- requirements that passed in some runs and failed in others, over all cases; zero with one runattempts-casestimesrunspassedAttempts- attempts with the verdict PASSfailedAttempts- attempts with the verdict FAILinconclusiveAttempts- attempts with the verdict INCONCLUSIVEpassRate-passedAttemptsoverattempts
- 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 Summary
ConstructorsConstructorDescriptionSummary(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 aSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattempts()Returns the value of theattemptsrecord component.intcases()Returns the value of thecasesrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefailedAttemptsrecord component.intReturns the value of thefailedCasesrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theinconclusiveAttemptsrecord component.intReturns the value of theinconclusiveCasesrecord component.intReturns the value of theinconsistentCasesrecord component.intReturns the value of theinconsistentRequirementsrecord component.intReturns the value of thepassedAttemptsrecord component.intReturns the value of thepassedCasesrecord component.doublepassRate()Returns the value of thepassRaterecord component.final StringtoString()Returns a string representation of this record class.
-
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 aSummaryrecord class.- Parameters:
cases- the value for thecasesrecord componentpassedCases- the value for thepassedCasesrecord componentfailedCases- the value for thefailedCasesrecord componentinconsistentCases- the value for theinconsistentCasesrecord componentinconclusiveCases- the value for theinconclusiveCasesrecord componentinconsistentRequirements- the value for theinconsistentRequirementsrecord componentattempts- the value for theattemptsrecord componentpassedAttempts- the value for thepassedAttemptsrecord componentfailedAttempts- the value for thefailedAttemptsrecord componentinconclusiveAttempts- the value for theinconclusiveAttemptsrecord componentpassRate- the value for thepassRaterecord component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
cases
public int cases()Returns the value of thecasesrecord component.- Returns:
- the value of the
casesrecord component
-
passedCases
public int passedCases()Returns the value of thepassedCasesrecord component.- Returns:
- the value of the
passedCasesrecord component
-
failedCases
public int failedCases()Returns the value of thefailedCasesrecord component.- Returns:
- the value of the
failedCasesrecord component
-
inconsistentCases
public int inconsistentCases()Returns the value of theinconsistentCasesrecord component.- Returns:
- the value of the
inconsistentCasesrecord component
-
inconclusiveCases
public int inconclusiveCases()Returns the value of theinconclusiveCasesrecord component.- Returns:
- the value of the
inconclusiveCasesrecord component
-
inconsistentRequirements
public int inconsistentRequirements()Returns the value of theinconsistentRequirementsrecord component.- Returns:
- the value of the
inconsistentRequirementsrecord component
-
attempts
public int attempts()Returns the value of theattemptsrecord component.- Returns:
- the value of the
attemptsrecord component
-
passedAttempts
public int passedAttempts()Returns the value of thepassedAttemptsrecord component.- Returns:
- the value of the
passedAttemptsrecord component
-
failedAttempts
public int failedAttempts()Returns the value of thefailedAttemptsrecord component.- Returns:
- the value of the
failedAttemptsrecord component
-
inconclusiveAttempts
public int inconclusiveAttempts()Returns the value of theinconclusiveAttemptsrecord component.- Returns:
- the value of the
inconclusiveAttemptsrecord component
-
passRate
public double passRate()Returns the value of thepassRaterecord component.- Returns:
- the value of the
passRaterecord component
-