EqualsDiffer
difflicious.differ.EqualsDiffer
final class EqualsDiffer[T](isIgnored: Boolean, valueToString: T => String) extends ValueDiffer[T]
Differ where the two values are compared by using the equals method. If the two values aren't equal, then we use the provided valueToString function to output the diagnostic output.
Attributes
- Graph
-
- Supertypes
-
trait ValueDiffer[T]trait Differ[T]trait ConfigureMethods[T]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Attributes
- Inherited from:
- ValueDiffer
Value members
Concrete methods
Attributes
- Definition Classes
override def configurePairBy(path: ConfigurePath, op: PairBy[_]): Either[ConfigureError, EqualsDiffer[T]]
Attributes
- Definition Classes
override def configurePath(step: String, nextPath: ConfigurePath, op: ConfigureOp): Either[ConfigureError, EqualsDiffer[T]]
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- ConfigureMethods
final def configureRaw(path: ConfigurePath, operation: ConfigureOp): Either[ConfigureError, Differ[T]]
Attempt to change the configuration of this Differ. If successful, a new differ with the updated configuration will be returned.
Attempt to change the configuration of this Differ. If successful, a new differ with the updated configuration will be returned.
The configuration change can fail due to
- bad "path" that does not match the internal structure of the Differ
- The path resolved correctly, but the configuration update operation cannot be applied for that part of the Differ (e.g. wrong type or wrong operation)
Value parameters
- operation
-
The configuration change operation you want to perform on the target sub-Differ
- path
-
The path to traverse to the sub-Differ
Attributes
- Inherited from:
- Differ
Attributes
- Inherited from:
- ValueDiffer
Attributes
- Inherited from:
- ConfigureMethods
Attributes
- Inherited from:
- ConfigureMethods
Inherited fields
Attributes
- Inherited from:
- ConfigureMethods
In this article