SetDiffer

final class SetDiffer[F[_], A](isIgnored: Boolean, itemDiffer: Differ[A], matchFunc: A => Any, typeName: SomeTypeName, asSet: SetLike[F]) extends Differ[F[A]]
Companion:
object
trait Differ[F[A]]
trait ConfigureMethods[F[A]]
class Object
trait Matchable
class Any

Type members

Types

override type R = ListResult

Value members

Concrete methods

override def configureIgnored(newIgnored: Boolean): Differ[F[A]]
Definition Classes
override def configurePairBy(path: ConfigurePath, op: PairBy[_]): Either[ConfigureError, Differ[F[A]]]
Definition Classes
override def configurePath(step: String, nextPath: ConfigurePath, op: ConfigureOp): Either[ConfigureError, Differ[F[A]]]
Definition Classes
override def diff(inputs: DiffInput[F[A]]): R
Definition Classes

Inherited methods

inline def configure[U](inline path: F[A] => U)(configFunc: Differ[U] => Differ[U]): Differ[F[A]]
Inherited from:
ConfigureMethods
final def configureRaw(path: ConfigurePath, operation: ConfigureOp): Either[ConfigureError, Differ[F[A]]]

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

Inherited from:
Differ
final def diff(obtained: F[A], expected: F[A]): R
Inherited from:
Differ
def ignore: Differ[F[A]]
Inherited from:
Differ
inline def ignoreAt[U](inline path: F[A] => U): Differ[F[A]]
Inherited from:
ConfigureMethods
inline def replace[U](inline path: F[A] => U)(newDiffer: Differ[U]): Differ[F[A]]
Inherited from:
ConfigureMethods
def unignore: Differ[F[A]]
Inherited from:
Differ

Inherited fields

val requiredShapeMsg: String
Inherited from:
ConfigureMethods