Package

org.specs2.matcher

describe

Permalink

package describe

Visibility
  1. Public
  2. All

Type Members

  1. class ArrayDiffable[E] extends Diffable[Array[E]]

    Permalink
  2. case class ArrayDifference(results: Seq[ComparisonResult], added: Seq[Any], removed: Seq[Any]) extends OrderedCollectionDifferent[Any] with ArrayTypeProvider with Product with Serializable

    Permalink
  3. case class ArrayIdentical(value: Seq[Any]) extends OrderedCollectionIdentical with ArrayTypeProvider with Product with Serializable

    Permalink
  4. trait ArrayTypeProvider extends AnyRef

    Permalink
  5. case class CaseClassDifferent(className: String, result: Seq[CaseClassPropertyComparison]) extends UnorderedCollectionDifferent[CaseClassPropertyComparison, CaseClassPropertyComparison] with Product with Serializable

    Permalink
  6. case class CaseClassIdentical(className: String) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  7. case class CaseClassPropertyComparison(fieldName: String, result: ComparisonResult, identical: Boolean) extends Product with Serializable

    Permalink
  8. trait ComparisonResult extends AnyRef

    Permalink

    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

  9. trait Diffable[-T] extends AnyRef

    Permalink

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

  10. trait DiffableLowPriority1 extends DiffableLowPriority2

    Permalink
  11. trait DiffableLowPriority2 extends AnyRef

    Permalink
  12. trait Diffables extends AnyRef

    Permalink
  13. trait DifferentComparisonResult extends ComparisonResult

    Permalink
  14. class EitherDiffable[L, R] extends Diffable[Either[L, R]]

    Permalink
  15. case class EitherDifferent(changed: ComparisonResult, isRight: Boolean) extends DifferentComparisonResult with Product with Serializable

    Permalink
  16. case class EitherIdentical(same: ComparisonResult, isRight: Boolean) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  17. class EitherLeftDiffable[L] extends Diffable[Left[L, Nothing]]

    Permalink
  18. class EitherRightDiffable[R] extends Diffable[Right[Nothing, R]]

    Permalink
  19. case class EitherTypeDifferent(isActualRight: Boolean) extends DifferentComparisonResult with Product with Serializable

    Permalink
  20. class FailureDiffable extends Diffable[Failure[Nothing]]

    Permalink
  21. class FallbackDiffable[T] extends Diffable[T]

    Permalink
  22. trait IdenticalComparisonResult extends ComparisonResult

    Permalink
  23. case class LinesComparisonResult[T](actual: List[T], expected: List[T])(implicit evidence$2: Diffable[T]) extends ComparisonResult with Product with Serializable

    Permalink
  24. trait ListTypeProvider extends AnyRef

    Permalink
  25. class MapDiffable[K, V] extends Diffable[Map[K, V]]

    Permalink
  26. 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

    Permalink
  27. case class MapIdentical(m: Map[_, _]) extends OrderedCollectionIdentical with MapTypeProvider with Product with Serializable

    Permalink
  28. trait MapTypeProvider extends AnyRef

    Permalink
  29. class OptionDiffable[T] extends Diffable[Option[T]]

    Permalink
  30. case class OptionDifferent(changed: ComparisonResult) extends DifferentComparisonResult with Product with Serializable

    Permalink
  31. case class OptionIdentical(same: Option[ComparisonResult]) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  32. case class OptionTypeDifferent(isActualSome: Boolean, isExpectedSome: Boolean) extends DifferentComparisonResult with Product with Serializable

    Permalink
  33. abstract class OrderedCollectionDifferent[Element] extends DifferentComparisonResult

    Permalink
  34. abstract class OrderedCollectionIdentical extends IdenticalComparisonResult

    Permalink
  35. case class OtherDifferent(actual: Any, expected: Any) extends DifferentComparisonResult with Product with Serializable

    Permalink
  36. case class OtherIdentical(actual: Any) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  37. case class PrimitiveDifference(actual: Any, expected: Any) extends DifferentComparisonResult with Product with Serializable

    Permalink
  38. case class PrimitiveIdentical(value: Any) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  39. class SeqDiffable[E] extends Diffable[Seq[E]]

    Permalink

    This diffable displays elements missing or added from a Seq

  40. case class SeqDifference(result: Seq[ComparisonResult], added: Seq[Any], removed: Seq[Any]) extends OrderedCollectionDifferent[Any] with ListTypeProvider with Product with Serializable

    Permalink
  41. case class SeqIdentical(value: Seq[Any]) extends OrderedCollectionIdentical with ListTypeProvider with Product with Serializable

    Permalink
  42. class SeqLinesDiffable[E] extends Diffable[Seq[E]]

    Permalink

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

  43. class SetDiffable[E] extends Diffable[Set[E]]

    Permalink
  44. case class SetDifference(same: Seq[Any], added: Seq[Any], removed: Seq[Any]) extends UnorderedCollectionDifferent[Any, Any] with SetTypeProvider with Product with Serializable

    Permalink
  45. case class SetIdentical(value: Set[_]) extends OrderedCollectionIdentical with SetTypeProvider with Product with Serializable

    Permalink
  46. trait SetTypeProvider extends AnyRef

    Permalink
  47. case class StackElementDifferent(className: ComparisonResult, methodName: ComparisonResult, fileName: Option[ComparisonResult], lineNumber: ComparisonResult) extends DifferentComparisonResult with Product with Serializable

    Permalink
  48. case class StackElementIdentical(value: StackTraceElement) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  49. class StackTraceElementDiffable extends Diffable[StackTraceElement]

    Permalink
  50. class ThrowableDiffable extends Diffable[Throwable]

    Permalink
  51. case class ThrowableDifferentMessage(result: ComparisonResult) extends DifferentComparisonResult with Product with Serializable

    Permalink
  52. case class ThrowableDifferentStackTrace(result: ComparisonResult) extends DifferentComparisonResult with Product with Serializable

    Permalink
  53. case class ThrowableIdentical(value: Throwable) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  54. class TryDiffable[T] extends Diffable[Try[T]]

    Permalink
  55. case class TryDifferent(value: ComparisonResult, isSuccess: Boolean) extends DifferentComparisonResult with Product with Serializable

    Permalink
  56. case class TryIdentical(same: Any, isSuccess: Boolean) extends IdenticalComparisonResult with Product with Serializable

    Permalink
  57. case class TryTypeDifferent(isActualSuccess: Boolean) extends DifferentComparisonResult with Product with Serializable

    Permalink
  58. abstract class UnorderedCollectionDifferent[Element, Change] extends DifferentComparisonResult

    Permalink

Value Members

  1. object ComparisonResultOps

    Permalink
  2. object Diffable extends DiffableLowPriority1

    Permalink
  3. object Diffables extends Diffables

    Permalink
  4. object LinesDiffable

    Permalink

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

  5. object NothingDiffable extends Diffable[Nothing]

    Permalink
  6. object OptionNoneDiffable extends Diffable[Option[Nothing]] with Product with Serializable

    Permalink
  7. object PrimitiveDiffable

    Permalink

    Diffable instances for various types

Ungrouped