Packages

trait Matchers1 extends AnyBaseMatchers with TraversableBaseMatchers with StringBaseMatchers with ExceptionBaseMatchers with NumericBaseMatchers with OptionBaseMatchers with EitherBaseMatchers with TryBaseMatchers with EventuallyMatchers with ValueChecksBase

Linear Supertypes
ValueChecksBase, ValueChecksLowImplicits, EventuallyMatchers, EventuallyResults, TryBaseMatchers, EitherBaseMatchers, OptionBaseMatchers, NumericBaseMatchers, ExceptionBaseMatchers, ExpectationsCreation, MatchResultStackTrace, StringBaseMatchers, TraversableBaseMatchers, AnyBaseMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matchers1
  2. ValueChecksBase
  3. ValueChecksLowImplicits
  4. EventuallyMatchers
  5. EventuallyResults
  6. TryBaseMatchers
  7. EitherBaseMatchers
  8. OptionBaseMatchers
  9. NumericBaseMatchers
  10. ExceptionBaseMatchers
  11. ExpectationsCreation
  12. MatchResultStackTrace
  13. StringBaseMatchers
  14. TraversableBaseMatchers
  15. AnyBaseMatchers
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class ExceptionClassMatcher extends Matcher[Any]

    Exception matcher checking the type of a thrown exception.

    Exception matcher checking the type of a thrown exception.

    Definition Classes
    ExceptionBaseMatchers
  2. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  3. class FindMatcher extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

    Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups

    Definition Classes
    StringBaseMatchers
  4. class FindMatcherPattern extends FindMatcher

    Matcher to find if the pattern p is found inside b.

    Matcher to find if the pattern p is found inside b.

    Definition Classes
    StringBaseMatchers
  5. class FindMatcherPatternWithGroups extends FindMatcherWithGroups

    Matcher to find if the pattern p is found inside b.

    Matcher to find if the pattern p is found inside b.

    Definition Classes
    StringBaseMatchers
  6. class FindMatcherRegex extends FindMatcherPattern

    Matcher to find if the Regex r is found inside b.

    Matcher to find if the Regex r is found inside b.

    Definition Classes
    StringBaseMatchers
  7. class FindMatcherWithGroups extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

    Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected

    Definition Classes
    StringBaseMatchers

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def !=/(s: String): Matcher[Any]

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  3. def !==[T](t: => T)(implicit arg0: Diffable[T]): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  4. final def ##: Int
    Definition Classes
    AnyRef → Any
  5. def <[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  6. def <=[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def ==/(s: String): AdaptableMatcher[Any]

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  9. def ===[T](t: => T)(implicit arg0: Diffable[T]): EqualityMatcher[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  10. def ==~[T, S](s: => S)(implicit arg0: Diffable[T], convert: (S) => T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  11. def =~(r: Regex): BeMatchingRegex

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  12. def =~(p: Pattern): BeMatchingPattern

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  13. def =~(t: => String): BeMatching

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  14. def >[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  15. def >=[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  16. def aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  17. def aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  18. def aFailedTry[T]: TryFailureMatcher[T]
    Definition Classes
    TryBaseMatchers
  19. def aSuccessfulTry[T](t: T)(implicit arg0: Diffable[T]): TrySuccessCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  20. def aSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  21. def aSuccessfulTry[T]: TrySuccessMatcher[T]
    Definition Classes
    TryBaseMatchers
  22. def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  23. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  24. def asNoneAs[T](other: => Option[T]): Matcher[Option[T]]
    Definition Classes
    OptionBaseMatchers
  25. def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  26. def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  27. def be[T <: AnyRef](t: => T): BeTheSameAs[T]

    alias for beTheSameAs

    alias for beTheSameAs

    Definition Classes
    AnyBaseMatchers
  28. def beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  29. def beAFailedTry[T]: TryFailureMatcher[T]
    Definition Classes
    TryBaseMatchers
  30. def beASuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  31. def beASuccessfulTry[T]: TrySuccessMatcher[T]
    Definition Classes
    TryBaseMatchers
  32. def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
    Definition Classes
    AnyBaseMatchers
  33. def beAnyOf[T](t: T*): Matcher[T]

    alias for beOneOf

    alias for beOneOf

    Definition Classes
    AnyBaseMatchers
  34. def beAsNoneAs[T](other: => Option[T]): Matcher[Option[T]]
    Definition Classes
    OptionBaseMatchers
  35. def beAsNullAs[T](a: => T): Matcher[T]

    matches if a is null when v is null and a is not null when v is not null

    matches if a is null when v is null and a is not null when v is not null

    Definition Classes
    AnyBaseMatchers
  36. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    matches if v.isAssignableFrom(c)

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  37. def beBetween[T](t1: T, t2: T)(implicit arg0: (T) => Ordered[T]): BetweenMatcher[T]

    matches if a value is between 2 others according to an Ordering

    matches if a value is between 2 others according to an Ordering

    Definition Classes
    NumericBaseMatchers
  38. def beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  39. def beCloseTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]

    matches if target - actual < 10 pow (log actual - significantDigits)

    matches if target - actual < 10 pow (log actual - significantDigits)

    Definition Classes
    NumericBaseMatchers
  40. def beCloseTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]

    matches if actual = n +/- delta

    matches if actual = n +/- delta

    Definition Classes
    NumericBaseMatchers
  41. def beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    matches if actual = n +/- delta

    matches if actual = n +/- delta

    Definition Classes
    NumericBaseMatchers
  42. def beEmpty[T](implicit arg0: (T) => Any { def isEmpty: Boolean }): Matcher[T]

    matches if a.isEmpty

    matches if a.isEmpty

    Definition Classes
    AnyBaseMatchers
  43. def beEqualTo[T](t: => T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  44. def beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  45. def beFailedTry[T]: TryFailureMatcher[T]
    Definition Classes
    TryBaseMatchers
  46. def beFalse: Matcher[Boolean]

    matches if a == false

    matches if a == false

    Definition Classes
    AnyBaseMatchers
  47. def beGreaterThan[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  48. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  49. def beLeft[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): LeftMatcher[T]
    Definition Classes
    EitherBaseMatchers
  50. def beLeft[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
    Definition Classes
    EitherBaseMatchers
  51. def beLessThan[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  52. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  53. def beLike[T](pattern: PartialFunction[T, MatchResult[_]]): Matcher[T]

    matches if the value returns a successful result when applied to a PartialFunction

    matches if the value returns a successful result when applied to a PartialFunction

    Definition Classes
    AnyBaseMatchers
  54. def beMatching(a: Regex): BeMatchingRegex

    matches if b matches the regex a

    matches if b matches the regex a

    Definition Classes
    StringBaseMatchers
  55. def beMatching(a: Pattern): BeMatchingPattern

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  56. def beMatching(a: => String): BeMatching

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  57. def beNone: Matcher[Option[Any]]
    Definition Classes
    OptionBaseMatchers
  58. def beNull[T]: BeNull[T]

    matches if the value is null

    matches if the value is null

    Definition Classes
    AnyBaseMatchers
  59. def beOneOf[T](t: T*): Matcher[T]

    matches if t.toSeq.exists(_ == v)

    matches if t.toSeq.exists(_ == v)

    Definition Classes
    AnyBaseMatchers
  60. def beRight[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): RightMatcher[T]
    Definition Classes
    EitherBaseMatchers
  61. def beRight[T](t: ValueCheck[T]): RightCheckedMatcher[T]
    Definition Classes
    EitherBaseMatchers
  62. def beSome[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): SomeMatcher[T]
    Definition Classes
    OptionBaseMatchers
  63. def beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
    Definition Classes
    OptionBaseMatchers
  64. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  65. def beSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  66. def beSuccessfulTry[T]: TrySuccessMatcher[T]
    Definition Classes
    TryBaseMatchers
  67. def beTheSameAs[T <: AnyRef](t: => T): BeTheSameAs[T]

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  68. def beTrue: BeTrueMatcher

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  69. def beTypedEqualTo[T](t: => T)(implicit arg0: Diffable[T]): EqualityMatcher[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  70. def be[[T](t1: T, t2: T)(implicit arg0: (T) => Ordered[T]): BetweenMatcher[T]

    alias for the adventurous: 5 must (be[(2, 7)[)

    alias for the adventurous: 5 must (be[(2, 7)[)

    Definition Classes
    NumericBaseMatchers
  71. def be][T](t1: T, t2: T)(implicit arg0: (T) => Ordered[T]): BetweenMatcher[T]

    alias for the adventurous: 5 must (be](2, 7)[)

    alias for the adventurous: 5 must (be](2, 7)[)

    Definition Classes
    NumericBaseMatchers
  72. def be_!=[T](t: => T): Matcher[Any]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  73. def be_!=/(a: String): Matcher[Any]

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  74. def be_!==[T](t: => T)(implicit arg0: Diffable[T]): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  75. def be_<[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  76. def be_<=[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  77. def be_==[T](t: => T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  78. def be_==/(a: String): AdaptableMatcher[Any]

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  79. def be_===[T](t: => T)(implicit arg0: Diffable[T]): EqualityMatcher[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  80. def be_==~[T, S](s: => S)(implicit arg0: Diffable[T], convert: (S) => T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  81. def be_>[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  82. def be_>=[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  83. def between[T](t1: T, t2: T)(implicit arg0: (T) => Ordered[T]): BetweenMatcher[T]
    Definition Classes
    NumericBaseMatchers
  84. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  85. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  86. def checkResultFailure(r: => Result): Result

    this method can be overridden to throw exceptions when checking the result

    this method can be overridden to throw exceptions when checking the result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  87. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  88. def closeTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  89. def closeTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  90. def closeTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  91. def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  92. def contain(t: Char): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  93. def contain(t: String): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  94. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  95. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  96. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  97. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  98. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  99. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  100. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  101. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  102. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  103. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  104. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  105. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  106. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  107. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  108. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  109. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  110. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  111. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  112. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  113. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  114. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T]): ContainWithResultSeq[T]

    Additional contain methods using to avoid automatic tuple conversions

    Additional contain methods using to avoid automatic tuple conversions

    Definition Classes
    TraversableBaseMatchers
  115. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    COLLECTION MATCHERS

    COLLECTION MATCHERS

    Definition Classes
    TraversableBaseMatchers
  116. def contain[T](check: ValueCheck[T]): ContainWithResult[T]

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  117. def containAllOf[T](seq: Seq[T])(implicit arg0: Diffable[T]): ContainWithResultSeq[T]

    match if a traversable contains all the elements of seq (and maybe more)

    match if a traversable contains all the elements of seq (and maybe more)

    Definition Classes
    TraversableBaseMatchers
  118. def containAnyOf[T](seq: Seq[T]): ContainWithResult[T]

    match if a traversable contains one of (t1, t2)

    match if a traversable contains one of (t1, t2)

    Definition Classes
    TraversableBaseMatchers
  119. def containMatch[T](t: => String): Matcher[Traversable[T]]

    match if traversable contains (x matches .*+t+.*)

    match if traversable contains (x matches .*+t+.*)

    Definition Classes
    TraversableBaseMatchers
  120. def containPattern[T](t: => String): Matcher[Traversable[T]]

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  121. def containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) => Boolean = (_:T) == (_:T)): Matcher[Traversable[T]]

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  122. def createExpectable[T](t: => T, alias: Option[(String) => String]): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  123. def createExpectable[T](t: => T, alias: (String) => String): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  124. def createExpectable[T](t: => T, alias: => String): Expectable[T]

    returns

    an Expectable with a description

    Definition Classes
    ExpectationsCreation
  125. def createExpectable[T](t: => T): Expectable[T]

    returns

    an Expectable

    Definition Classes
    ExpectationsCreation
  126. def createExpectableWithShowAs[T](t: => T, showAs: => String): Expectable[T]

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ExpectationsCreation
  127. def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  128. def endWith(t: => String): Matcher[String]

    matches if b.endsWith(a)

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  129. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  130. def equalTo[T](t: => T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  131. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  132. def eventually[T](nested: => Matcher[T]): Matcher[T]

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  133. def eventually[T](nested: => Matcher[T], retries: Int, sleep: Duration): Matcher[T]

    returns

    a matcher that will retry the nested matcher a given number of times

    Definition Classes
    EventuallyMatchers
  134. def eventually[T](nested: => Matcher[T], retries: Int, sleep: (Int) => Duration): Matcher[T]

    sleep

    the function applied on the retry number (first is 1)

    returns

    a matcher that will retry the nested matcher a given number of times

    Definition Classes
    EventuallyMatchers
  135. def eventually[T](result: => T)(implicit arg0: AsResult[T]): T
    Definition Classes
    EventuallyResults
  136. def eventually[T](retries: Int, sleep: Duration)(result: => T)(implicit arg0: AsResult[T]): T
    Definition Classes
    EventuallyResults
  137. def eventually[T](retries: Int, sleep: (Int) => Duration)(result: => T)(implicit arg0: AsResult[T]): T
    Definition Classes
    EventuallyResults
  138. def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
    Definition Classes
    TraversableBaseMatchers
  139. def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  140. def failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  141. def failedTry[T]: TryFailureMatcher[T]
    Definition Classes
    TryBaseMatchers
  142. def find(r: Regex): FindMatcherRegex

    matches if the regexp r is found inside b

    matches if the regexp r is found inside b

    Definition Classes
    StringBaseMatchers
  143. def find(p: Pattern): FindMatcherPattern

    matches if the pattern p is found inside b

    matches if the pattern p is found inside b

    Definition Classes
    StringBaseMatchers
  144. def find(a: => String): FindMatcher

    matches if the regexp a is found inside b

    matches if the regexp a is found inside b

    Definition Classes
    StringBaseMatchers
  145. implicit def functionIsValueCheck[T, R](f: (T) => R)(implicit arg0: AsResult[R]): ValueCheck[T]

    a function returning an object having an AsResult instance can check a value

    a function returning an object having an AsResult instance can check a value

    Definition Classes
    ValueChecksLowImplicits
  146. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  147. def greaterThan[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  148. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
    Definition Classes
    NumericBaseMatchers
  149. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  150. def haveClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    matches if v.getClass == c

    matches if v.getClass == c

    Definition Classes
    AnyBaseMatchers
  151. def haveInterface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    matches if x.getClass.getInterfaces.contains(T)

    matches if x.getClass.getInterfaces.contains(T)

    Definition Classes
    AnyBaseMatchers
  152. def haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  153. def haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  154. def haveSize[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  155. def haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  156. def haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    matches if c.isAssignableFrom(v.getClass.getSuperclass)

    matches if c.isAssignableFrom(v.getClass.getSuperclass)

    Definition Classes
    AnyBaseMatchers
  157. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  158. def left[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): LeftMatcher[Nothing]
    Definition Classes
    EitherBaseMatchers
  159. def left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
    Definition Classes
    EitherBaseMatchers
  160. def left[T](t: T)(implicit arg0: Diffable[T]): LeftCheckedMatcher[T]
    Definition Classes
    EitherBaseMatchers
  161. def length[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  162. def length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  163. def lessThan[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]
    Definition Classes
    NumericBaseMatchers
  164. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  165. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  166. implicit def matcherIsValueCheck[T](m: Matcher[T]): ValueCheck[T]

    a Matcher[T] can check a value

    a Matcher[T] can check a value

    Definition Classes
    ValueChecksBase
  167. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  168. def none: Matcher[Option[Any]]
    Definition Classes
    OptionBaseMatchers
  169. def not[T](m: Matcher[T]): Matcher[T]

    negate a matcher

    negate a matcher

    Definition Classes
    AnyBaseMatchers
  170. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  171. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  172. def right[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): RightMatcher[Nothing]
    Definition Classes
    EitherBaseMatchers
  173. def right[T](t: ValueCheck[T]): RightCheckedMatcher[T]
    Definition Classes
    EitherBaseMatchers
  174. def right[T](t: T)(implicit arg0: Diffable[T]): RightCheckedMatcher[T]
    Definition Classes
    EitherBaseMatchers
  175. def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]

    returns

    the match result without any side-effects

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  176. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  177. def size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  178. def size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  179. def some[T]: SomeMatcher[T]
    Definition Classes
    OptionBaseMatchers
  180. def some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
    Definition Classes
    OptionBaseMatchers
  181. def some[T](t: T)(implicit arg0: Diffable[T]): SomeCheckedMatcher[T]
    Definition Classes
    OptionBaseMatchers
  182. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  183. def startWith(a: String): Matcher[String]

    matches if b.startsWith(a)

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  184. def successfulTry[T](t: T)(implicit arg0: Diffable[T]): TrySuccessCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  185. def successfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
    Definition Classes
    TryBaseMatchers
  186. def successfulTry[T]: TrySuccessMatcher[T]
    Definition Classes
    TryBaseMatchers
  187. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  188. def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  189. def throwA[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    returns

    a matcher checking the type of an Exception and its message (as a regexp)

    Definition Classes
    ExceptionBaseMatchers
  190. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    returns

    a matcher checking the type of an Exception

    Definition Classes
    ExceptionBaseMatchers
  191. def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  192. def throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  193. def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  194. def toString(): String
    Definition Classes
    AnyRef → Any
  195. def typedEqualTo[T](t: => T): EqualityMatcher[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  196. def valueIsTypedValueCheck[T](expected: T)(implicit di: Diffable[T]): BeEqualTypedValueCheck[T]

    an expected value can be used to check another value

    an expected value can be used to check another value

    Definition Classes
    ValueChecksBase
  197. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  198. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  199. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  200. def ~[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  201. def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ValueChecksBase

Inherited from EventuallyMatchers

Inherited from EventuallyResults

Inherited from TryBaseMatchers

Inherited from EitherBaseMatchers

Inherited from OptionBaseMatchers

Inherited from NumericBaseMatchers

Inherited from ExceptionBaseMatchers

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from StringBaseMatchers

Inherited from TraversableBaseMatchers

Inherited from AnyBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped