Package ch.rswk.util.web.test
Record Class AbstractWebDriver.QunitResult
java.lang.Object
java.lang.Record
ch.rswk.util.web.test.AbstractWebDriver.QunitResult
- Enclosing class:
AbstractWebDriver
protected static record AbstractWebDriver.QunitResult(int passed, int total, int failed)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQunitResult(int passed, int total, int failed) Creates an instance of aQunitResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intfailed()Returns the value of thefailedrecord component.final inthashCode()Returns a hash code value for this object.intpassed()Returns the value of thepassedrecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Field Details
-
passed
private final int passedThe field for thepassedrecord component. -
total
private final int totalThe field for thetotalrecord component. -
failed
private final int failedThe field for thefailedrecord component.
-
-
Constructor Details
-
QunitResult
protected QunitResult(int passed, int total, int failed) Creates an instance of aQunitResultrecord class.- Parameters:
passed- the value for thepassedrecord componenttotal- the value for thetotalrecord componentfailed- the value for thefailedrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 '=='. -
passed
public int passed()Returns the value of thepassedrecord component.- Returns:
- the value of the
passedrecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
failed
public int failed()Returns the value of thefailedrecord component.- Returns:
- the value of the
failedrecord component
-