org.specs2.matcher.describe

Members list

Type members

Classlikes

class ArrayDiffable[E](implicit di: Diffable[E]) extends Diffable[Array[E]]

Attributes

Supertypes
trait Diffable[Array[E]]
class Object
trait Matchable
class Any
case class ArrayDifference(results: Seq[ComparisonResult], added: Seq[Any], removed: Seq[Any]) extends OrderedCollectionDifferent[Any], ArrayTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ArrayIdentical(value: Seq[Any]) extends OrderedCollectionIdentical, ArrayTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CaseClassIdentical(className: String) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CaseClassPropertyComparison(fieldName: String, result: ComparisonResult, identical: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait Diffable[-T]

Typeclass for values which can be compared and return a comparison result

Typeclass for values which can be compared and return a comparison result

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ArrayDiffable[E]
class EitherDiffable[L, R]
class FallbackDiffable[T]
class MapDiffable[K, V]
object NothingDiffable.type
class OptionDiffable[T]
object OptionNoneDiffable.type
class SeqDiffable[E]
class SeqLinesDiffable[E]
class SetDiffable[E]
class TryDiffable[T]
Show all

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Diffable.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Diffable.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Diffable.type
trait Diffables

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Diffables.type
object Diffables extends Diffables

Attributes

Companion
trait
Supertypes
trait Diffables
class Object
trait Matchable
class Any
Self type
Diffables.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class EitherDiffable[L, R] extends Diffable[Either[L, R]]

Attributes

Supertypes
trait Diffable[Either[L, R]]
class Object
trait Matchable
class Any
case class EitherDifferent(changed: ComparisonResult, isRight: Boolean) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class EitherIdentical(same: ComparisonResult, isRight: Boolean) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class EitherLeftDiffable[L](implicit ldi: Diffable[L]) extends Diffable[Left[L, Nothing]]

Attributes

Supertypes
trait Diffable[Left[L, Nothing]]
class Object
trait Matchable
class Any
class EitherRightDiffable[R](implicit rdi: Diffable[R]) extends Diffable[Right[Nothing, R]]

Attributes

Supertypes
trait Diffable[Right[Nothing, R]]
class Object
trait Matchable
class Any
case class EitherTypeDifferent(isActualRight: Boolean) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class FailureDiffable(implicit di: Diffable[Throwable]) extends Diffable[Failure[Nothing]]

Attributes

Supertypes
trait Diffable[Failure[Nothing]]
class Object
trait Matchable
class Any
class FallbackDiffable[T] extends Diffable[T]

Attributes

Supertypes
trait Diffable[T]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class LinesComparisonResult[T](actual: List[T], expected: List[T])(implicit evidence$1: Diffable[T]) extends ComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LinesDiffable

Import the implicit Diffable contained in this object to get a colored output showing line differences in Strings containing lots of lines

Import the implicit Diffable contained in this object to get a colored output showing line differences in Strings containing lots of lines

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MapDiffable[K, V](implicit diff: Diffable[V]) extends Diffable[Map[K, V]]

Attributes

Supertypes
trait Diffable[Map[K, V]]
class Object
trait Matchable
class Any
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)], MapTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MapIdentical(m: Map[_, _]) extends OrderedCollectionIdentical, MapTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NothingDiffable extends Diffable[Nothing]

Attributes

Supertypes
trait Diffable[Nothing]
class Object
trait Matchable
class Any
Self type
class OptionDiffable[T](implicit evidence$3: Diffable[T], di: Diffable[T]) extends Diffable[Option[T]]

Attributes

Supertypes
trait Diffable[Option[T]]
class Object
trait Matchable
class Any

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OptionIdentical(same: Option[ComparisonResult]) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object OptionNoneDiffable extends Diffable[Option[Nothing]]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Diffable[Option[Nothing]]
class Object
trait Matchable
class Any
Show all
Self type
case class OptionTypeDifferent(isActualSome: Boolean, isExpectedSome: Boolean) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class OrderedCollectionDifferent[Element](results: Seq[ComparisonResult], added: Seq[Element], removed: Seq[Element]) extends DifferentComparisonResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class OrderedCollectionIdentical(value: Iterable[Any]) extends IdenticalComparisonResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class OtherDifferent(actual: Any, expected: Any) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class OtherIdentical(actual: Any) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Diffable instances for various types

Diffable instances for various types

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class PrimitiveDifference(actual: Any, expected: Any) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PrimitiveIdentical(value: Any) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class SeqDiffable[E](implicit di: Diffable[E]) extends Diffable[Seq[E]]

This diffable displays elements missing or added from a Seq

This diffable displays elements missing or added from a Seq

Attributes

Supertypes
trait Diffable[Seq[E]]
class Object
trait Matchable
class Any
case class SeqDifference(result: Seq[ComparisonResult], added: Seq[Any], removed: Seq[Any]) extends OrderedCollectionDifferent[Any], ListTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SeqIdentical(value: Seq[Any]) extends OrderedCollectionIdentical, ListTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class SeqLinesDiffable[E](implicit di: Diffable[E]) extends Diffable[Seq[E]]

This diffable uses the Lines diffables to show differences between 2 sequences as a unified sequence with inlined differences

This diffable uses the Lines diffables to show differences between 2 sequences as a unified sequence with inlined differences

Attributes

Supertypes
trait Diffable[Seq[E]]
class Object
trait Matchable
class Any
class SetDiffable[E] extends Diffable[Set[E]]

Attributes

Supertypes
trait Diffable[Set[E]]
class Object
trait Matchable
class Any
case class SetDifference(same: Seq[Any], added: Seq[Any], removed: Seq[Any]) extends UnorderedCollectionDifferent[Any, Any], SetTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SetIdentical(value: Set[_]) extends OrderedCollectionIdentical, SetTypeProvider

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class StackElementDifferent(className: ComparisonResult, methodName: ComparisonResult, fileName: Option[ComparisonResult], lineNumber: ComparisonResult) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class StackElementIdentical(value: StackTraceElement) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class StackTraceElementDiffable(implicit nameDiffable: Diffable[String], lineDiffable: Diffable[Int]) extends Diffable[StackTraceElement]

Attributes

Supertypes
trait Diffable[StackTraceElement]
class Object
trait Matchable
class Any
class ThrowableDiffable(implicit sdi: Diffable[String], adi: Diffable[List[StackTraceElement]]) extends Diffable[Throwable]

Attributes

Supertypes
trait Diffable[Throwable]
class Object
trait Matchable
class Any

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ThrowableIdentical(value: Throwable) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class TryDiffable[T](implicit evidence$4: Diffable[T], tdi: Diffable[Throwable]) extends Diffable[Try[T]]

Attributes

Supertypes
trait Diffable[Try[T]]
class Object
trait Matchable
class Any
case class TryDifferent(value: ComparisonResult, isSuccess: Boolean) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class TryIdentical(same: Any, isSuccess: Boolean) extends IdenticalComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class TryTypeDifferent(isActualSuccess: Boolean) extends DifferentComparisonResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class UnorderedCollectionDifferent[Element, Change](same: Seq[Element], changed: Seq[Change], added: Seq[Element], removed: Seq[Element]) extends DifferentComparisonResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes