org.specs2.matcher

ContentMatchers

trait ContentMatchers extends ContentBaseMatchers with ContentBeHaveMatchers

The ContentMatchers trait provides matchers to make comparisons between files, sequences,...

Linear Supertypes
ContentBeHaveMatchers, ContentBaseMatchers, SeqsContents, Expectations, CanBeEqual, DifferenceFilters, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContentMatchers
  2. ContentBeHaveMatchers
  3. ContentBaseMatchers
  4. SeqsContents
  5. Expectations
  6. CanBeEqual
  7. DifferenceFilters
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  2. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  3. case class FirstNDifferencesFilter extends Product with Serializable

    Definition Classes
    DifferenceFilters
  4. case class LinesComparisonMatcher[L1, L2] extends Matcher[L1] with Product with Serializable

    Matcher to compare the contents of line contents

    Matcher to compare the contents of line contents

    Definition Classes
    ContentBaseMatchers
  5. class LinesContentResultMatcher[L1] extends AnyRef

    Definition Classes
    ContentBeHaveMatchers
  6. case class LinesPairComparisonMatcher[L1, L2] extends Matcher[(L1, L2)] with Product with Serializable

    Definition Classes
    ContentBaseMatchers

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. implicit def canBeEqual[T](t: ⇒ T): CanBeEqualExpectation[T]

    Definition Classes
    CanBeEqual
  8. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    Expectations
  9. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    Expectations
  10. def checkResultFailure(r: Result): Result

    Attributes
    protected
    Definition Classes
    Expectations
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def containLines[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    matches if 1 lines content contains the lines of the other one

    matches if 1 lines content contains the lines of the other one

    Definition Classes
    ContentBaseMatchers
  13. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Definition Classes
    Expectations
  14. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Definition Classes
    Expectations
  15. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Definition Classes
    Expectations
  16. def createExpectable[T](t: ⇒ T): Expectable[T]

    Definition Classes
    Expectations
  17. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    Definition Classes
    Expectations
  18. implicit def describe[T](t: ⇒ T): Descriptible[T]

    Definition Classes
    Expectations
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. implicit val fileContentForMatchers: LinesContent[File]

    Attributes
    protected
    Definition Classes
    ContentBaseMatchers
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def haveSameLines[L1, L2](implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesPairComparisonMatcher[L1, L2]

    matches if 2 contents, as a pair, have the same lines

    matches if 2 contents, as a pair, have the same lines

    Definition Classes
    ContentBaseMatchers
  26. def haveSameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    matches if 2 contents have the same lines

    matches if 2 contents have the same lines

    Definition Classes
    ContentBaseMatchers
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    Expectations
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def sameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    Definition Classes
    ContentBeHaveMatchers
  33. implicit def seqContentForMatchers[T]: LinesContent[Seq[T]]

    Attributes
    protected
    Definition Classes
    SeqsContents
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. implicit def toDifferenceFilter(n: Int): FirstNDifferencesFilter

    Definition Classes
    DifferenceFilters
  36. implicit def toLinesContentResultMatcher[L1](result: MatchResult[L1])(implicit arg0: LinesContent[L1]): LinesContentResultMatcher[L1]

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

    Definition Classes
    ContentBeHaveMatchers
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ContentBeHaveMatchers

Inherited from ContentBaseMatchers

Inherited from SeqsContents

Inherited from Expectations

Inherited from CanBeEqual

Inherited from DifferenceFilters

Inherited from AnyRef

Inherited from Any

Ungrouped