final class EqualsDiffer[T] 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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EqualsDiffer
- ValueDiffer
- Differ
- ConfigureMethods
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EqualsDiffer(isIgnored: Boolean, valueToString: (T) => String)
Type Members
- final type R = ValueResult
- Definition Classes
- ValueDiffer → Differ
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- macro def configure[U](path: (T) => U)(configFunc: (Differ[U]) => Differ[U]): Differ[T]
- Definition Classes
- ConfigureMethods
- def configureIgnored(newIgnored: Boolean): EqualsDiffer[T]
- Definition Classes
- EqualsDiffer → ValueDiffer → Differ
- def configurePairBy(path: ConfigurePath, op: PairBy[_]): Either[ConfigureError, EqualsDiffer[T]]
- Definition Classes
- EqualsDiffer → ValueDiffer → Differ
- def configurePath(step: String, nextPath: ConfigurePath, op: ConfigureOp): Either[ConfigureError, EqualsDiffer[T]]
- Definition Classes
- EqualsDiffer → ValueDiffer → Differ
- final def configureRaw(path: ConfigurePath, operation: ConfigureOp): Either[ConfigureError, Differ[T]]
Attempt to change the configuration of this Differ.
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)
- path
The path to traverse to the sub-Differ
- operation
The configuration change operation you want to perform on the target sub-Differ
- Definition Classes
- Differ
- final def contramap[S](transformFunc: (S) => T): TransformedDiffer[S, T]
- Definition Classes
- ValueDiffer
- def diff(inputs: DiffInput[T]): ValueResult
- Definition Classes
- EqualsDiffer → ValueDiffer → Differ
- final def diff(obtained: T, expected: T): R
- Definition Classes
- Differ
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def ignore: Differ[T]
- Definition Classes
- Differ
- macro def ignoreAt[U](path: (T) => U): Differ[T]
- Definition Classes
- ConfigureMethods
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- macro def replace[U](path: (T) => U)(newDiffer: Differ[U]): Differ[T]
- Definition Classes
- ConfigureMethods
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unignore: Differ[T]
- Definition Classes
- Differ
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated