org.specs2.matcher

JUnitMustMatchers

trait JUnitMustMatchers extends Matchers with JUnitMustExpectations

These traits and objects can be used in JUnit

Linear Supertypes
JUnitMustExpectations, JUnitExpectations, MustThrownExpectations, MustExpectations, ThrownExpectations, StandardResults, Matchers, LanguageFeatures, MatchersImplicits, ExpectationsDescription, Sentences, MatchResultImplicits, MatchResultCombinators, ResultLogicalCombinators, Results, MatchResultLogicalCombinators, EventuallyMatchers, EventuallyResults, TryMatchers, TryBeHaveMatchers, TryBaseMatchers, EitherMatchers, EitherBeHaveMatchers, EitherBaseMatchers, OptionMatchers, OptionBeHaveMatchers, OptionBaseMatchers, NumericMatchers, NumericBeHaveMatchers, NumericBaseMatchers, ExceptionMatchers, ExceptionBeHaveMatchers, ExceptionBaseMatchers, Expectations, CanBeEqual, StringMatchers, StringBeHaveMatchers, StringBaseMatchers, MapMatchers, MapBeHaveMatchers, MapBaseMatchers, TraversableMatchers, DeprecatedTraversableBaseMatchers, matcher.TraversableBeHaveMatchers, LazyParameters, NumberOfTimes, TraversableBaseMatchers, ImplicitParameters, TraversableBaseMatchersLowImplicits, ContainChecks, BeHaveMatchers, AnyMatchers, matcher.AnyBeHaveMatchers, AnyBaseMatchers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JUnitMustMatchers
  2. JUnitMustExpectations
  3. JUnitExpectations
  4. MustThrownExpectations
  5. MustExpectations
  6. ThrownExpectations
  7. StandardResults
  8. Matchers
  9. LanguageFeatures
  10. MatchersImplicits
  11. ExpectationsDescription
  12. Sentences
  13. MatchResultImplicits
  14. MatchResultCombinators
  15. ResultLogicalCombinators
  16. Results
  17. MatchResultLogicalCombinators
  18. EventuallyMatchers
  19. EventuallyResults
  20. TryMatchers
  21. TryBeHaveMatchers
  22. TryBaseMatchers
  23. EitherMatchers
  24. EitherBeHaveMatchers
  25. EitherBaseMatchers
  26. OptionMatchers
  27. OptionBeHaveMatchers
  28. OptionBaseMatchers
  29. NumericMatchers
  30. NumericBeHaveMatchers
  31. NumericBaseMatchers
  32. ExceptionMatchers
  33. ExceptionBeHaveMatchers
  34. ExceptionBaseMatchers
  35. Expectations
  36. CanBeEqual
  37. StringMatchers
  38. StringBeHaveMatchers
  39. StringBaseMatchers
  40. MapMatchers
  41. MapBeHaveMatchers
  42. MapBaseMatchers
  43. TraversableMatchers
  44. DeprecatedTraversableBaseMatchers
  45. TraversableBeHaveMatchers
  46. LazyParameters
  47. NumberOfTimes
  48. TraversableBaseMatchers
  49. ImplicitParameters
  50. TraversableBaseMatchersLowImplicits
  51. ContainChecks
  52. BeHaveMatchers
  53. AnyMatchers
  54. AnyBeHaveMatchers
  55. AnyBaseMatchers
  56. AnyRef
  57. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AdaptFunction[T, S] extends AnyRef

    this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).

  2. class AnyBeHaveMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  3. class AnyMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  4. class AnyRefMatcherResult[T <: AnyRef] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  5. class AnyWithEmptyMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  6. class BeLikeResultMatcher[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  7. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  8. class ClassMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  9. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  10. class EitherResultMatcher[L, R] extends AnyRef

    Definition Classes
    EitherBeHaveMatchers
  11. 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
  12. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  13. class ExceptionMatcherResult[T] extends AnyRef

    Definition Classes
    ExceptionBeHaveMatchers
  14. class ExpectationDescription extends AnyRef

    Definition Classes
    ExpectationsDescription
  15. case class FailedTryMatcher[T] extends Matcher[Try[T]] with Product with Serializable

    Definition Classes
    TryBaseMatchers
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. class HasSize[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  22. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  23. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  24. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  25. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  26. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  27. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  28. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  29. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  30. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  31. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  32. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  33. implicit class InvariantMatcherFunction[T] extends AnyRef

    Definition Classes
    MatchersImplicits
  34. class LeftMatcher[T] extends Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  35. class MapKeyResultMatcher[K] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  36. class MapResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  37. class MapValueResultMatcher[V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  38. class MatchResultCombinator[T] extends AnyRef

    Definition Classes
    MatchResultLogicalCombinators
  39. implicit class MatcherFunction[S, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  40. class NeutralMatcherNumeric extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  41. class NeutralMatcherOrdered extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  42. class NeutralStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  43. class NotStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  44. class NumericResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  45. class OptionResultMatcher[T] extends AnyRef

    Definition Classes
    OptionBeHaveMatchers
  46. class OrderedResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  47. class OrderedSeqMatchResult[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  48. class PartialFunctionResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  49. class ResultLogicalCombinator extends AnyRef

    Definition Classes
    ResultLogicalCombinators
  50. class RightMatcher[T] extends Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  51. class SeqMatcher[S, T] extends Matcher[Seq[T]]

    The SeqMatcher class is a matcher matching a sequence of objects with a matcher returned by a function.

  52. class SetMatcher[S, T] extends Matcher[Set[T]]

    The SetMatcher class is a matcher matching a set of objects with a matcher returned by a function.

  53. class StringMatcher extends AnyRef

    Definition Classes
    StringBaseMatchers
  54. class StringResultMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  55. case class SuccessTryMatcher[T] extends Matcher[Try[T]] with Product with Serializable

    Definition Classes
    TryBaseMatchers
  56. class TraversableBeHaveMatchers[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  57. trait TraversableMatcher[T] extends Matcher[GenTraversableOnce[T]]

    Definition Classes
    TraversableBaseMatchers
  58. class TryResultMatcher[T] extends AnyRef

    Definition Classes
    TryBeHaveMatchers
  59. implicit class matcherContainResult[T] extends AnyRef

    Definition Classes
    MatchersImplicits
  60. implicit class resultFunction[T, R] extends AnyRef

    Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Value Members

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

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

    Definition Classes
    Any
  3. def !=/(s: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  4. def !==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  5. final def ##(): Int

    Definition Classes
    AnyRef → Any
  6. def <[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  8. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  10. def ==/(s: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  11. def ===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  12. def ==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  13. 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
  14. 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
  15. 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
  16. def >[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  18. implicit def ToDelta[S](n: S)(implicit arg0: Numeric[S]): CanHaveDelta[S]

    implicit definition to create delta for the beCloseTo matcher

    implicit definition to create delta for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers
  19. def aFailedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  20. def aSuccessfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  21. implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]

  22. def allElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Matches if all elements are matching a "like" function

    Matches if all elements are matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  23. def allOf[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  24. def anError: Error

    Definition Classes
    ThrownExpectationsStandardResults
  25. def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  26. implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  27. def anyOf[T](t: T*): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  28. implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyWithEmptyMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  29. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  30. def asNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  31. def asNullAs[T](a: ⇒ T): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  32. implicit def asResult[M[_] <: MatchResult[_]](r: M[_]): Result

    implicit definition to transform any MatchResult to a Result

    implicit definition to transform any MatchResult to a Result

    Definition Classes
    MatchResultImplicits
  33. def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Definition Classes
    AnyBeHaveMatchers
  34. def atLeast[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  35. def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher atLeast one value

    apply a matcher atLeast one value

    Definition Classes
    MatchersImplicits
  36. def atLeastOnce[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    MatchersImplicits
  37. def atLeastOnceWhen[T, R](values: GenTraversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for at least one value, where the PartialFunction is defined

    verify the function f for at least one value, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  38. def atMost[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  39. def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher atLeast one value

    apply a matcher atLeast one value

    Definition Classes
    MatchersImplicits
  40. def atMostOnce[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    MatchersImplicits
  41. def atMostOnceWhen[T, R](values: GenTraversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for at least one value, where the PartialFunction is defined

    verify the function f for at least one value, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  42. def be: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  43. def be[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    alias for beTheSameAs

    alias for beTheSameAs

    Definition Classes
    AnyBaseMatchers
  44. def beAFailedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  45. def beASuccessfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  46. def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBaseMatchers
  47. def beAnyOf[T](t: T*): Matcher[T]

    alias for beOneOf

    alias for beOneOf

    Definition Classes
    AnyBaseMatchers
  48. def beAsNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  49. 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
  50. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    matches if v.

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  51. 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
  52. def beCloseTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

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

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  54. def beDefinedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

    matches if the partial function is defined at those values

    matches if the partial function is defined at those values

    Definition Classes
    MapBaseMatchers
  55. def beDefinedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

    matches if the partial function is defined at those values and return expected values

    matches if the partial function is defined at those values and return expected values

    Definition Classes
    MapBaseMatchers
  56. def beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]

    matches if a.

    matches if a.isEmpty

    Definition Classes
    AnyBaseMatchers
  57. def beEqualTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  58. def beFailedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  59. def beFalse: Matcher[Boolean]

    matches if a == false

    matches if a == false

    Definition Classes
    AnyBaseMatchers
  60. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  61. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  62. def beLeft[T]: LeftMatcher[T]

    Definition Classes
    EitherBaseMatchers
  63. def beLeft[T](t: ⇒ T): Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  64. def beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  65. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  66. 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
  67. def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  68. def beMatching(a: Regex): BeMatchingRegex

    matches if b matches the regex a

    matches if b matches the regex a

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

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  70. def beMatching(a: ⇒ String): BeMatching

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  71. def beNone: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  72. def beNull[T]: BeNull[T]

    matches if the value is null

    matches if the value is null

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

    matches if t.

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

    Definition Classes
    AnyBaseMatchers
  74. def beRight[T]: RightMatcher[T]

    Definition Classes
    EitherBaseMatchers
  75. def beRight[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  76. def beSome[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  77. def beSome[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  78. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  79. def beSuccessfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  80. def beTheSameAs[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  81. def beTrue: BeTrueMatcher

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  82. def beTypedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean = (t1:T, t2:T) => t1 == t2): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  83. 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
  84. 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
  85. def be_!=[T](t: ⇒ T): Matcher[Any]

    matches if a != b

    matches if a != b

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

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  87. def be_!==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  88. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  90. def be_==[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

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

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  92. def be_===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  93. def be_==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

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

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  96. def between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Definition Classes
    NumericBaseMatchers
  97. implicit def canBeEqual[T](t: ⇒ T): CanBeEqualExpectation[T]

    A value can be tested against another with the === operator.

    A value can be tested against another with the === operator. It is equivalent to writing a must_== b

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

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

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

    Attributes
    protected
    Definition Classes
    JUnitExpectationsExpectations
  99. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectationsExpectations
  100. def checkResultFailure(r: Result): Result

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectationsExpectations
  101. implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: (T) ⇒ ContainCheck[T]): Seq[ContainCheck[T]]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  102. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. def closeTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

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

    Definition Classes
    NumericBaseMatchers
  105. implicit def combineBoolean(b: ⇒ Boolean): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  106. implicit def combineMatchResult[T](m: ⇒ MatchResult[T]): MatchResultCombinator[T]

    Definition Classes
    MatchResultLogicalCombinators
  107. implicit def combineResult(r: ⇒ Result): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  108. def contain(t: Char): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

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

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  110. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    COLLECTION MATCHERS

    COLLECTION MATCHERS

    Definition Classes
    TraversableBaseMatchers
  111. def contain[T](check: ContainCheck[T]): ContainWithResult[T]

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  112. def containAllOf[T](seq: Seq[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
  113. 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
  114. def containMatch[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    match if traversable contains (x matches .

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

    Definition Classes
    TraversableBaseMatchers
  115. def containPattern[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  116. def containTheSameElementsAs[T](seq: Seq[T]): Matcher[Traversable[T]]

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  117. def containing(s: String): Matcher[String]

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

    returns

    an Expectable with a description function

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

    returns

    an Expectable with a description function

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

    returns

    an Expectable with a description

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

    returns

    an Expectable

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

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ThrownExpectationsExpectations
  123. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

    Attributes
    protected
    Definition Classes
    MustThrownExpectationsMustExpectations
  124. def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

    Definition Classes
    MapBeHaveMatchers
  125. def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

    Definition Classes
    MapBeHaveMatchers
  126. implicit def describe[T](t: ⇒ T): Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    Expectations
  127. implicit def describeExpectation(description: String): ExpectationDescription

    Definition Classes
    ExpectationsDescription
  128. def done: Success

    Definition Classes
    StandardResults
  129. implicit def downcastBeEqualTypedContainCheck[T, S >: T](check: BeEqualTypedContainCheck[T]): ContainCheck[S]

    Definition Classes
    ContainChecks
  130. def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  131. def endWith(t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  132. def endingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  133. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  134. def equalTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  135. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  136. def eventually[T](nested: ⇒ Matcher[T]): Matcher[T]

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  137. def eventually[T](retries: Int, sleep: Duration)(nested: ⇒ Matcher[T]): Matcher[T]

    returns

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

    Definition Classes
    EventuallyMatchers
  138. def eventually[T](result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

    a result that is retried at least 40 times until it's ok

    Definition Classes
    EventuallyResults
  139. def eventually[T](retries: Int, sleep: Duration)(result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

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

    Definition Classes
    EventuallyResults
  140. def exactly[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  141. def failedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  142. def failure(f: Failure): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  143. def failure(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  144. def failure: Failure

    Definition Classes
    ThrownExpectationsStandardResults
  145. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  146. 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
  147. 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
  148. 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
  149. def forall[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher for all values

    apply a matcher for all values

    Definition Classes
    MatchersImplicits
  150. def forall[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for all the values, stopping after the first failure

    verify the function f for all the values, stopping after the first failure

    Definition Classes
    MatchersImplicits
  151. def forallWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[GenTraversableOnce[T]]

    verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

    verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  152. def foreach[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher foreach value

    apply a matcher foreach value

    Definition Classes
    MatchersImplicits
  153. def foreach[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for all the values, and collect all failures

    verify the function f for all the values, and collect all failures

    Definition Classes
    MatchersImplicits
  154. def foreachWhen[T, R](values: GenTraversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for all the values, and collect all failures, where the PartialFunction is defined

    verify the function f for all the values, and collect all failures, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  155. implicit def fromMatchResult(r: ⇒ MatchResult[_]): Boolean

    implicit definition to accept any MatchResult as a Boolean value.

    implicit definition to accept any MatchResult as a Boolean value. It is true if the MatchResult is not an Error or a Failure

    Definition Classes
    MatchResultImplicits
  156. implicit def functionAndKoMessageToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  157. implicit def functionAndMessagesToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String, (T) ⇒ String)): Matcher[T]

    This method transform a function, with function descriptors to a Matcher

    This method transform a function, with function descriptors to a Matcher

    Definition Classes
    MatchersImplicits
  158. implicit def functionIsContainCheck[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): ContainCheck[T]

    Definition Classes
    ContainChecks
  159. implicit def functionToMatcher[T](f: ((T) ⇒ Boolean, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  160. implicit def functionToMatcher2[T](f: ((T) ⇒ Boolean, String, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  161. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  162. def greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  163. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  164. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  165. def have[T](function: (T) ⇒ Boolean): Matcher[GenTraversableOnce[T]]

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Definition Classes
    DeprecatedTraversableBaseMatchers
  166. def have: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  167. def haveAllElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Matches if all elements are matching a "like" function

    Matches if all elements are matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  168. def haveClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if v.

    matches if v.getClass == c

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

    matches if x.

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

    Definition Classes
    AnyBaseMatchers
  170. def haveKey[K](k: K): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k)

    Definition Classes
    MapBaseMatchers
  171. def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k) forall key k

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

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  173. def haveOneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Matches if there is at least one matching a "like" function

    Matches if there is at least one matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  174. def havePair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

    matches if map contains a pair (key, value) == (k, v)

    matches if map contains a pair (key, value) == (k, v)

    Definition Classes
    MapBaseMatchers
  175. def havePairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

    matches if map contains all the specified pairs

    matches if map contains all the specified pairs

    Definition Classes
    MapBaseMatchers
  176. 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
  177. def haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if c.

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

    Definition Classes
    AnyBaseMatchers
  178. def haveTheSameElementsAs[T](l: ⇒ Traversable[T], equality: (T, T) ⇒ Boolean = (_:T) == (_:T)): HaveTheSameElementsAs[T]

    Matches if there l contains the same elements as the Traversable traversable.

    Matches if there l contains the same elements as the Traversable traversable.

    Definition Classes
    DeprecatedTraversableBaseMatchers
  179. def haveValue[V](v: V): Matcher[Iterable[(Any, V)]]

    matches if map contains a pair (key, value) with value == v

    matches if map contains a pair (key, value) with value == v

    Definition Classes
    MapBaseMatchers
  180. def haveValues[V](values: V*): Matcher[Iterable[(Any, V)]]

    matches if map contains a pair (key, value) with value == v for all value v

    matches if map contains a pair (key, value) with value == v for all value v

    Definition Classes
    MapBaseMatchers
  181. implicit lazy val implicitParam: ImplicitParam

    Definition Classes
    ImplicitParameters
  182. implicit lazy val implicitParam1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  183. implicit lazy val implicitParam10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  184. implicit lazy val implicitParam2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  185. implicit lazy val implicitParam3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  186. implicit lazy val implicitParam4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  187. implicit lazy val implicitParam5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  188. implicit lazy val implicitParam6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  189. implicit lazy val implicitParam7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  190. implicit lazy val implicitParam8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  191. implicit lazy val implicitParam9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  192. implicit lazy val implicitsAreAllowed: implicitConversions

    Definition Classes
    LanguageFeatures
  193. def interface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  194. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  195. implicit def javaCollectionIsSized[T <: Collection[_]]: Sized[T]

    any java collection has a size

    any java collection has a size

    Definition Classes
    TraversableBaseMatchers
  196. def key[K](k: K): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  197. def keys[K](ks: K*): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  198. def klass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  199. implicit def lazyfy[T](value: ⇒ T): LazyParameter[T]

    transform a value to a zero-arg function returning that value

    transform a value to a zero-arg function returning that value

    Definition Classes
    LazyParameters
  200. def left[T]: LeftMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  201. def left[T](t: ⇒ T): Matcher[Either[T, _]]

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

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  203. def lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Definition Classes
    NumericBaseMatchers
  204. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Definition Classes
    NumericBaseMatchers
  205. def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  206. def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  207. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  208. implicit def matchResultAsResult[M[_] <: MatchResult[_]]: AsResult[M[_]]

    implicit typeclass instance to create examples from MatchResults

    implicit typeclass instance to create examples from MatchResults

    Definition Classes
    MatchResultImplicits
  209. implicit def matchResultFunctionToMatcher[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): Matcher[T]

    This method transform a function returning a Result to a Matcher

    This method transform a function returning a Result to a Matcher

    Definition Classes
    MatchersImplicits
  210. implicit def matchResultSeqAsResult[T]: AsResult[Seq[MatchResult[T]]]

    implicit typeclass instance to create examples from a sequence of MatchResults

    implicit typeclass instance to create examples from a sequence of MatchResults

    Definition Classes
    MatchResultImplicits
  211. implicit def matcherIsContainCheck[T](m: Matcher[T]): ContainCheck[T]

    Definition Classes
    ContainChecks
  212. implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ContainCheck[T]]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  213. def matching(r: Regex): BeMatchingRegex

    Definition Classes
    StringBeHaveMatchers
  214. def matching(t: Pattern): BeMatchingPattern

    Definition Classes
    StringBeHaveMatchers
  215. def matching(t: ⇒ String): BeMatching

    Definition Classes
    StringBeHaveMatchers
  216. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  217. def negate(r: Result): Result

    Definition Classes
    Results
  218. def negateSentence(sentence: String): String

    replace the first occurrence of a verb in the negations table with its negation.

    replace the first occurrence of a verb in the negations table with its negation.

    We first try to negate an existing negation

    Definition Classes
    Sentences
  219. lazy val negationsTable: BiMap[String, String]

    Attributes
    protected
    Definition Classes
    Sentences
  220. def none: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  221. def not: NotMatcher[Any]

    Definition Classes
    BeHaveMatchers
  222. def not[T](m: Matcher[T]): Matcher[T]

    negate a matcher

    negate a matcher

    Definition Classes
    AnyBaseMatchers
  223. final def notify(): Unit

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

    Definition Classes
    AnyRef
  225. def oneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Matches if there is at least one matching a "like" function

    Matches if there is at least one matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  226. def oneOf[T](t: T*): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  227. implicit def orderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit arg0: Ordering[T]): OrderedSeqMatchResult[T]

    Definition Classes
    TraversableBeHaveMatchers
  228. def pair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  229. implicit def pairFunctionToMatcher[T](f: (T) ⇒ (Boolean, String)): Matcher[T]

    This method transform a function returning a pair (Boolean, String for ko message) to a Matcher

    This method transform a function returning a pair (Boolean, String for ko message) to a Matcher

    Definition Classes
    MatchersImplicits
  230. def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  231. def pending(s: Pending): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  232. def pending(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  233. def pending: Pending

    Definition Classes
    ThrownExpectationsStandardResults
  234. implicit lazy val postfixOpsAreAllowed: postfixOps

    Definition Classes
    LanguageFeatures
  235. def right[T]: RightMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  236. def right[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  237. implicit def scalaArrayIsSized[T]: Sized[Array[T]]

    any scala array has a size

    any scala array has a size

    Definition Classes
    TraversableBaseMatchers
  238. implicit def scalaTraversableIsSized[I <: GenTraversable[_]]: Sized[I]

    any scala collection has a size

    any scala collection has a size

    Definition Classes
    TraversableBaseMatchers
  239. implicit def seqToResult[T](r: Seq[MatchResult[T]]): Result

    implicit definition to transform a Seq of MatchResults to a Result

    implicit definition to transform a Seq of MatchResults to a Result

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

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  241. implicit def sized[T](s: MatchResult[T])(implicit arg0: Sized[T]): HasSize[T]

    Definition Classes
    TraversableBeHaveMatchers
  242. def skipped(s: Skipped): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  243. def skipped(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  244. def skipped: Skipped

    Definition Classes
    ThrownExpectationsStandardResults
  245. def some[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  246. def some[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  247. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  248. def startWith(t: String): Matcher[String]

    matches if b.

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  249. def startingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  250. implicit def stringIsSized: Sized[String]

    a regular string has a size, without having to be converted to an Traversable

    a regular string has a size, without having to be converted to an Traversable

    Definition Classes
    TraversableBaseMatchers
  251. implicit def stringMatcher(m: AdaptableMatcher[Any]): StringMatcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    Definition Classes
    StringBaseMatchers
  252. implicit def stringMatcherIsTraversableMatcher(m: Matcher[String]): Matcher[GenTraversableOnce[String]]

    this allows the contain(string) matcher for StringMatchers to be used with a Traversable

    this allows the contain(string) matcher for StringMatchers to be used with a Traversable

    Definition Classes
    TraversableBaseMatchersLowImplicits
  253. def success: Success

    Definition Classes
    StandardResults
  254. def successfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  255. def superClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  256. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  257. implicit def theBlock(t: ⇒ Nothing): MustExpectable[Nothing]

    Definition Classes
    MustExpectations
  258. implicit def theValue[T](t: ⇒ T): MustExpectable[T]

    Definition Classes
    MustExpectations
  259. def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  260. 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
  261. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    returns

    a matcher checking the type of an Exception

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

    alias for throwA

    alias for throwA

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

    alias for throwA

    alias for throwA

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

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  265. implicit def timesFor(n: Int): Times

    This implicit definition allows to declare a number of times 3.times

    This implicit definition allows to declare a number of times 3.times

    Definition Classes
    NumberOfTimes
  266. implicit def toAnyMatcherResult(result: MatchResult[Any]): AnyMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  267. implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]

    Definition Classes
    AnyBeHaveMatchers
  268. implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]

    Definition Classes
    AnyBeHaveMatchers
  269. implicit def toClassMatcherResult(result: MatchResult[Class[_]]): ClassMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  270. implicit def toEitherResultMatcher[L, R](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]

    Definition Classes
    EitherBeHaveMatchers
  271. implicit def toExceptionMatcher[T](result: MatchResult[T]): ExceptionMatcherResult[T]

    Definition Classes
    ExceptionBeHaveMatchers
  272. implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]

    Definition Classes
    MapBeHaveMatchers
  273. implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  274. implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]

    Definition Classes
    MapBeHaveMatchers
  275. implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric

    Definition Classes
    NumericBeHaveMatchers
  276. implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered

    Definition Classes
    NumericBeHaveMatchers
  277. implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher

    Definition Classes
    StringBeHaveMatchers
  278. implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher

    Definition Classes
    StringBeHaveMatchers
  279. implicit def toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]

    Definition Classes
    NumericBeHaveMatchers
  280. implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]

    Definition Classes
    OptionBeHaveMatchers
  281. implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit arg0: (S) ⇒ Ordered[S]): OrderedResultMatcher[S]

    matcher aliases and implicits to use with be + matcher

    matcher aliases and implicits to use with be + matcher

    Definition Classes
    NumericBeHaveMatchers
  282. implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  283. implicit def toResult(b: Boolean): Result

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    Definition Classes
    Results
  284. def toString(): String

    Definition Classes
    AnyRef → Any
  285. implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher

    Definition Classes
    StringBeHaveMatchers
  286. implicit def toTryResultMatcher[T](result: MatchResult[Try[T]]): TryResultMatcher[T]

    Definition Classes
    TryBeHaveMatchers
  287. def todo: Pending

    Definition Classes
    StandardResults
  288. implicit def traversable[T](s: MatchResult[Traversable[T]]): TraversableBeHaveMatchers[T]

    Definition Classes
    TraversableBeHaveMatchers
  289. implicit def tripletFunctionToMatcher[T](f: (T) ⇒ (Boolean, String, String)): Matcher[T]

    This method transform a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

    This method transform a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

    Definition Classes
    MatchersImplicits
  290. def typedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean = (t1:T, t2:T) => t1 == t2): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  291. def value[V](v: V): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  292. implicit def valueIsTypedContainCheck[T](expected: T): BeEqualTypedContainCheck[T]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  293. def values[V](vs: V*): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  294. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  297. def wontdo: Success

    Definition Classes
    StandardResults
  298. def ~[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

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

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from JUnitMustExpectations

Inherited from JUnitExpectations

Inherited from MustThrownExpectations

Inherited from MustExpectations

Inherited from ThrownExpectations

Inherited from StandardResults

Inherited from Matchers

Inherited from LanguageFeatures

Inherited from MatchersImplicits

Inherited from ExpectationsDescription

Inherited from Sentences

Inherited from MatchResultImplicits

Inherited from MatchResultCombinators

Inherited from ResultLogicalCombinators

Inherited from Results

Inherited from MatchResultLogicalCombinators

Inherited from EventuallyMatchers

Inherited from EventuallyResults

Inherited from TryMatchers

Inherited from TryBeHaveMatchers

Inherited from TryBaseMatchers

Inherited from EitherMatchers

Inherited from EitherBeHaveMatchers

Inherited from EitherBaseMatchers

Inherited from OptionMatchers

Inherited from OptionBeHaveMatchers

Inherited from OptionBaseMatchers

Inherited from NumericMatchers

Inherited from NumericBeHaveMatchers

Inherited from NumericBaseMatchers

Inherited from ExceptionMatchers

Inherited from ExceptionBeHaveMatchers

Inherited from ExceptionBaseMatchers

Inherited from Expectations

Inherited from CanBeEqual

Inherited from StringMatchers

Inherited from StringBeHaveMatchers

Inherited from StringBaseMatchers

Inherited from MapMatchers

Inherited from MapBeHaveMatchers

Inherited from MapBaseMatchers

Inherited from TraversableMatchers

Inherited from DeprecatedTraversableBaseMatchers

Inherited from matcher.TraversableBeHaveMatchers

Inherited from LazyParameters

Inherited from NumberOfTimes

Inherited from TraversableBaseMatchers

Inherited from ImplicitParameters

Inherited from TraversableBaseMatchersLowImplicits

Inherited from ContainChecks

Inherited from BeHaveMatchers

Inherited from AnyMatchers

Inherited from matcher.AnyBeHaveMatchers

Inherited from AnyBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped