package describe
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- class ArrayDiffable[E] extends Diffable[Array[E]]
- case class ArrayDifference(results: Seq[ComparisonResult], added: Seq[Any], removed: Seq[Any]) extends OrderedCollectionDifferent[Any] with ArrayTypeProvider with Product with Serializable
- case class ArrayIdentical(value: Seq[Any]) extends OrderedCollectionIdentical with ArrayTypeProvider with Product with Serializable
- trait ArrayTypeProvider extends AnyRef
- case class CaseClassDifferent(className: String, result: Seq[CaseClassPropertyComparison]) extends UnorderedCollectionDifferent[CaseClassPropertyComparison, CaseClassPropertyComparison] with Product with Serializable
- case class CaseClassIdentical(className: String) extends IdenticalComparisonResult with Product with Serializable
- case class CaseClassPropertyComparison(fieldName: String, result: ComparisonResult, identical: Boolean) extends Product with Serializable
-
trait
ComparisonResult extends AnyRef
Render the result of a comparison for different types: primitives, throwables, collections,...
Render the result of a comparison for different types: primitives, throwables, collections,...
The comparison may turn out to render identical values or differences
-
trait
Diffable[-T] extends AnyRef
Typeclass for values which can be compared and return a comparison result
- trait DiffableLowPriority1 extends DiffableLowPriority2
- trait DiffableLowPriority2 extends AnyRef
- trait Diffables extends AnyRef
- trait DifferentComparisonResult extends ComparisonResult
- class EitherDiffable[L, R] extends Diffable[Either[L, R]]
- case class EitherDifferent(changed: ComparisonResult, isRight: Boolean) extends DifferentComparisonResult with Product with Serializable
- case class EitherIdentical(same: ComparisonResult, isRight: Boolean) extends IdenticalComparisonResult with Product with Serializable
- class EitherLeftDiffable[L] extends Diffable[Left[L, Nothing]]
- class EitherRightDiffable[R] extends Diffable[Right[Nothing, R]]
- case class EitherTypeDifferent(isActualRight: Boolean) extends DifferentComparisonResult with Product with Serializable
- class FailureDiffable extends Diffable[Failure[Nothing]]
- class FallbackDiffable[T] extends Diffable[T]
- trait IdenticalComparisonResult extends ComparisonResult
- case class LinesComparisonResult[T](actual: List[T], expected: List[T])(implicit evidence$2: Diffable[T]) extends ComparisonResult with Product with Serializable
- trait ListTypeProvider extends AnyRef
- class MapDiffable[K, V] extends Diffable[Map[K, V]]
- case class MapDifference(same: Seq[(Any, Any)], changed: Seq[(Any, ComparisonResult)], added: Seq[(Any, Any)], removed: Seq[(Any, Any)]) extends UnorderedCollectionDifferent[(Any, Any), (Any, ComparisonResult)] with MapTypeProvider with Product with Serializable
- case class MapIdentical(m: Map[_, _]) extends OrderedCollectionIdentical with MapTypeProvider with Product with Serializable
- trait MapTypeProvider extends AnyRef
- class OptionDiffable[T] extends Diffable[Option[T]]
- case class OptionDifferent(changed: ComparisonResult) extends DifferentComparisonResult with Product with Serializable
- case class OptionIdentical(same: Option[ComparisonResult]) extends IdenticalComparisonResult with Product with Serializable
- case class OptionTypeDifferent(isActualSome: Boolean, isExpectedSome: Boolean) extends DifferentComparisonResult with Product with Serializable
- abstract class OrderedCollectionDifferent[Element] extends DifferentComparisonResult
- abstract class OrderedCollectionIdentical extends IdenticalComparisonResult
- case class OtherDifferent(actual: Any, expected: Any) extends DifferentComparisonResult with Product with Serializable
- case class OtherIdentical(actual: Any) extends IdenticalComparisonResult with Product with Serializable
- case class PrimitiveDifference(actual: Any, expected: Any) extends DifferentComparisonResult with Product with Serializable
- case class PrimitiveIdentical(value: Any) extends IdenticalComparisonResult with Product with Serializable
-
class
SeqDiffable[E] extends Diffable[Seq[E]]
This diffable displays elements missing or added from a Seq
- case class SeqDifference(result: Seq[ComparisonResult], added: Seq[Any], removed: Seq[Any]) extends OrderedCollectionDifferent[Any] with ListTypeProvider with Product with Serializable
- case class SeqIdentical(value: Seq[Any]) extends OrderedCollectionIdentical with ListTypeProvider with Product with Serializable
-
class
SeqLinesDiffable[E] extends Diffable[Seq[E]]
This diffable uses the Lines diffables to show differences between 2 sequences as a unified sequence with inlined differences
- class SetDiffable[E] extends Diffable[Set[E]]
- case class SetDifference(same: Seq[Any], added: Seq[Any], removed: Seq[Any]) extends UnorderedCollectionDifferent[Any, Any] with SetTypeProvider with Product with Serializable
- case class SetIdentical(value: Set[_]) extends OrderedCollectionIdentical with SetTypeProvider with Product with Serializable
- trait SetTypeProvider extends AnyRef
- case class StackElementDifferent(className: ComparisonResult, methodName: ComparisonResult, fileName: Option[ComparisonResult], lineNumber: ComparisonResult) extends DifferentComparisonResult with Product with Serializable
- case class StackElementIdentical(value: StackTraceElement) extends IdenticalComparisonResult with Product with Serializable
- class StackTraceElementDiffable extends Diffable[StackTraceElement]
- class ThrowableDiffable extends Diffable[Throwable]
- case class ThrowableDifferentMessage(result: ComparisonResult) extends DifferentComparisonResult with Product with Serializable
- case class ThrowableDifferentStackTrace(result: ComparisonResult) extends DifferentComparisonResult with Product with Serializable
- case class ThrowableIdentical(value: Throwable) extends IdenticalComparisonResult with Product with Serializable
- class TryDiffable[T] extends Diffable[Try[T]]
- case class TryDifferent(value: ComparisonResult, isSuccess: Boolean) extends DifferentComparisonResult with Product with Serializable
- case class TryIdentical(same: Any, isSuccess: Boolean) extends IdenticalComparisonResult with Product with Serializable
- case class TryTypeDifferent(isActualSuccess: Boolean) extends DifferentComparisonResult with Product with Serializable
- abstract class UnorderedCollectionDifferent[Element, Change] extends DifferentComparisonResult
Value Members
- object ComparisonResultOps
- object Diffable extends DiffableLowPriority1
- object Diffables extends Diffables
-
object
LinesDiffable
Import the implicit Diffable contained in this object to get a colored output showing line differences in Strings containing lots of lines
- object NothingDiffable extends Diffable[Nothing]
- object OptionNoneDiffable extends Diffable[Option[Nothing]] with Product with Serializable
-
object
PrimitiveDiffable
Diffable instances for various types