object MustThrownMatchers extends MustThrownMatchers with NoMatchResultStackTrace
- Alphabetic
- By Inheritance
- MustThrownMatchers
- NoMatchResultStackTrace
- MustThrownMatchers
- MustThrownExpectations
- MustThrownExpectables
- MustThrownExpectations1
- StandardMatchResults
- StandardResults
- MustThrownExpectationsCreation
- ThrownExpectationsCreation
- ThrownExpectables
- MustExpectations
- MustExpectations1
- MustExpectationsCreation
- Matchers
- LanguageFeatures
- MatchersImplicits
- SequenceMatchersCreation
- MatchersCreation
- ResultImplicits
- MatchResultImplicits
- MatcherZipOperators
- MatchResultCombinators
- ResultLogicalCombinators
- Results
- MatchResultLogicalCombinators
- Expectations
- ExpectationsDescription
- TypedEqual
- FutureMatchers
- FutureBaseMatchers
- EventuallyMatchers
- EventuallyResults
- TryMatchers
- TryBeHaveMatchers
- TryBaseMatchers
- EitherMatchers
- EitherBeHaveMatchers
- EitherBaseMatchers
- OptionMatchers
- ValueChecks
- ValueChecksBase
- OptionBeHaveMatchers
- OptionBaseMatchers
- NumericMatchers
- NumericBeHaveMatchers
- NumericBaseMatchers
- ExceptionMatchers
- ExceptionBeHaveMatchers
- ExceptionBaseMatchers
- ExpectationsCreation
- MatchResultStackTrace
- StringMatchers
- StringBeHaveMatchers
- StringBaseMatchers
- MapMatchers
- MapBeHaveMatchers
- MapBaseMatchers
- TraversableMatchers
- NumberOfTimes
- ImplicitParameters
- TraversableBaseMatchersLowImplicits
- ValueChecksLowImplicits
- TraversableBeHaveMatchers
- LazyParameters
- TraversableBaseMatchers
- AnyMatchers
- AnyBeHaveMatchers
- BeHaveMatchers
- AnyBaseMatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class AnyBeHaveMatchers[T] extends AnyRef
- Definition Classes
- AnyBeHaveMatchers
- class AnyMatcherResult extends AnyRef
- Definition Classes
- AnyBeHaveMatchers
- class AnyRefMatcherResult[T <: AnyRef] extends AnyRef
- Definition Classes
- AnyBeHaveMatchers
- class AnyWithEmptyMatchers[T] extends AnyRef
- Definition Classes
- AnyBeHaveMatchers
- class BeLikeResultMatcher[T] extends AnyRef
- Definition Classes
- AnyBeHaveMatchers
- class ClassMatcherResult extends AnyRef
- Definition Classes
- AnyBeHaveMatchers
- class Descriptible[T] extends AnyRef
- Definition Classes
- ExpectationsDescription
- class ExpectationDescription extends AnyRef
- Definition Classes
- ExpectationsDescription
- implicit class FutureMatchable[T] extends AnyRef
add an
await
method to any matcherMatcher[T]
so that it can be transformed into aMatcher[Future[T]]
add an
await
method to any matcherMatcher[T]
so that it can be transformed into aMatcher[Future[T]]
- Definition Classes
- FutureMatchers
- implicit class futureAsResult[T] extends FutureAsResult[T]
when a Future contains a result, it can be awaited to return this result
when a Future contains a result, it can be awaited to return this result
- Definition Classes
- FutureMatchers
- class MatchResultCombinator[T] extends AnyRef
- Definition Classes
- MatchResultLogicalCombinators
- implicit class ContainSeqMatcherFunction[T] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher2[T1, T2] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher3[T1, T2, T3] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher4[T1, T2, T3, T4] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher5[T1, T2, T3, T4, T5] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher6[T1, T2, T3, T4, T5, T6] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher7[T1, T2, T3, T4, T5, T6, T7] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8] extends AnyRef
- Definition Classes
- MatcherZipOperators
- implicit class TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9] extends AnyRef
- Definition Classes
- MatcherZipOperators
- 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).getPath) ^^ endWith(extension)
this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)
- Definition Classes
- MatchersCreation
- implicit class EitherResultMatcher[L, R] extends AnyRef
- Definition Classes
- EitherBeHaveMatchers
- 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
- class ExceptionMatcher[E <: Throwable] extends Matcher[Any]
This matchers matches exception instances.
This matchers matches exception instances.
- Definition Classes
- ExceptionBaseMatchers
- See also
throwA
- implicit class ExceptionMatcherResult[T] extends AnyRef
- Definition Classes
- ExceptionBeHaveMatchers
- 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
- 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
- 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
- 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
- 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
- class HasSize[T] extends AnyRef
- Definition Classes
- TraversableBeHaveMatchers
- trait ImplicitParam extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam1 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam10 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam2 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam3 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam4 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam5 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam6 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam7 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam8 extends AnyRef
- Definition Classes
- ImplicitParameters
- trait ImplicitParam9 extends AnyRef
- Definition Classes
- ImplicitParameters
- class MapKeyResultMatcher[K] extends AnyRef
- Definition Classes
- MapBeHaveMatchers
- class MapResultMatcher[K, V] extends AnyRef
- Definition Classes
- MapBeHaveMatchers
- class MapValueResultMatcher[V] extends AnyRef
- Definition Classes
- MapBeHaveMatchers
- class NeutralMatcherNumeric extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
- class NeutralMatcherOrdered extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
- class NeutralStringMatcher extends AnyRef
- Definition Classes
- StringBeHaveMatchers
- class NotStringMatcher extends AnyRef
- Definition Classes
- StringBeHaveMatchers
- class NumericResultMatcher[S] extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
- class OptionResultMatcher[T] extends AnyRef
- Definition Classes
- OptionBeHaveMatchers
- class OrderedResultMatcher[S] extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
- class OrderedSeqMatchResult[T] extends AnyRef
- Definition Classes
- TraversableBeHaveMatchers
- class PartialFunctionResultMatcher[K, V] extends AnyRef
- Definition Classes
- MapBeHaveMatchers
- class ResultLogicalCombinator extends AnyRef
- Definition Classes
- ResultLogicalCombinators
- class StringResultMatcher extends AnyRef
- Definition Classes
- StringBeHaveMatchers
- class TraversableBeHaveMatchers[T] extends AnyRef
- Definition Classes
- TraversableBeHaveMatchers
- class TryResultMatcher[T] extends AnyRef
- Definition Classes
- TryBeHaveMatchers
- implicit class SignificantFiguresSyntax extends AnyRef
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Definition Classes
- NumericMatchers
- implicit class SignificantSyntax[N] extends AnyRef
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Definition Classes
- NumericMatchers
- 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
Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers
- Definition Classes
- ResultImplicits
- implicit class InvariantMatcherFunction[T] extends AnyRef
- Definition Classes
- SequenceMatchersCreation
- class TypedEqualExpectation[T] extends AnyRef
- Definition Classes
- TypedEqual
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def !=/(s: String): Matcher[Any]
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
- Definition Classes
- StringBaseMatchers
- def !==[T](t: => T)(implicit arg0: Diffable[T]): Matcher[T]
matches if a != b
matches if a != b
- Definition Classes
- AnyBaseMatchers
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def <[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]
alias for beLessThan
alias for beLessThan
- Definition Classes
- NumericBaseMatchers
- def <=[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ==/(s: String): AdaptableMatcher[Any]
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
- Definition Classes
- StringBaseMatchers
- def ===[T](t: => T)(implicit arg0: Diffable[T]): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- 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
- 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
- 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
- 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
- def >[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
alias for beGreaterThan
alias for beGreaterThan
- Definition Classes
- NumericBaseMatchers
- def >=[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
- 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
- NumericMatchers
- def aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def aFailedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
- def aSuccessfulTry[T](t: T)(implicit arg0: Diffable[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def aSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def aSuccessfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
- implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]
- Definition Classes
- MustThrownExpectables → MustExpectations
- def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def anError: Error
- Definition Classes
- StandardResults
- def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- Definition Classes
- AnyBeHaveMatchers
- implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]
- Definition Classes
- AnyBeHaveMatchers
- def anyOf[T](t: T*): Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) => Any { def isEmpty: Boolean }): AnyWithEmptyMatchers[T]
- Definition Classes
- AnyBeHaveMatchers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asNoneAs[T](other: => Option[T]): Matcher[Option[T]]
- Definition Classes
- OptionBaseMatchers
- def asNullAs[T](a: => T): Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- implicit def asResult[T](r: MatchResult[T]): Result
implicit definition to transform any MatchResult to a Result
implicit definition to transform any MatchResult to a Result
- Definition Classes
- MatchResultImplicits
- def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]
- Definition Classes
- AnyBeHaveMatchers
- def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]
apply a matcher atLeast one value
apply a matcher atLeast one value
- Definition Classes
- SequenceMatchersCreation
- def atLeastOnce[T, R](values: Traversable[T])(f: (T) => R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]
verify the function f for at least one value
verify the function f for at least one value
- Definition Classes
- SequenceMatchersCreation
- def atLeastOnceWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[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
- SequenceMatchersCreation
- def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]
apply a matcher atLeast one value
apply a matcher atLeast one value
- Definition Classes
- SequenceMatchersCreation
- def atMostOnce[T, R](values: Traversable[T])(f: (T) => R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]
verify the function f for at least one value
verify the function f for at least one value
- Definition Classes
- SequenceMatchersCreation
- def atMostOnceWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[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
- SequenceMatchersCreation
- def await[T](m: Matcher[T])(retries: Int, timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
- def await[T](m: Matcher[T])(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
- def awaitFor[T](m: Matcher[T])(timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
- def be: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def be[T <: AnyRef](t: => T): BeTheSameAs[T]
alias for beTheSameAs
alias for beTheSameAs
- Definition Classes
- AnyBaseMatchers
- def beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beAFailedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beASuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beASuccessfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- Definition Classes
- AnyBaseMatchers
- def beAnyOf[T](t: T*): Matcher[T]
alias for beOneOf
alias for beOneOf
- Definition Classes
- AnyBaseMatchers
- def beAsNoneAs[T](other: => Option[T]): Matcher[Option[T]]
- Definition Classes
- OptionBaseMatchers
- 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
- def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
- Definition Classes
- AnyBaseMatchers
- 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
- def beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- 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
- 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
- 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
- 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
- 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
- def beEmpty[T](implicit arg0: (T) => Any { def isEmpty: Boolean }): Matcher[T]
matches if a.isEmpty
matches if a.isEmpty
- Definition Classes
- AnyBaseMatchers
- def beEqualTo[T](t: => T): BeEqualTo
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- def beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beFailedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beFalse: Matcher[Boolean]
matches if a == false
matches if a == false
- Definition Classes
- AnyBaseMatchers
- def beGreaterThan[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
matches if x > n
matches if x > n
- Definition Classes
- NumericBaseMatchers
- def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
matches if x >= n
matches if x >= n
- Definition Classes
- NumericBaseMatchers
- def beLeft[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): LeftMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def beLeft[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def beLessThan[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]
matches if x < n
matches if x < n
- Definition Classes
- NumericBaseMatchers
- def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]
matches if x <= n
matches if x <= n
- Definition Classes
- NumericBaseMatchers
- 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
- def beLikeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- def beMatching(a: Regex): BeMatchingRegex
matches if b matches the regex a
matches if b matches the regex a
- Definition Classes
- StringBaseMatchers
- def beMatching(a: Pattern): BeMatchingPattern
matches if b matches the pattern a
matches if b matches the pattern a
- Definition Classes
- StringBaseMatchers
- def beMatching(a: => String): BeMatching
matches if b matches the regular expression a
matches if b matches the regular expression a
- Definition Classes
- StringBaseMatchers
- def beNone: Matcher[Option[Any]]
- Definition Classes
- OptionBaseMatchers
- def beNull[T]: BeNull[T]
matches if the value is null
matches if the value is null
- Definition Classes
- AnyBaseMatchers
- def beOneOf[T](t: T*): Matcher[T]
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
- Definition Classes
- AnyBaseMatchers
- def beRight[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): RightMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def beRight[T](t: ValueCheck[T]): RightCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def beSome[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): SomeMatcher[T]
- Definition Classes
- OptionBaseMatchers
- def beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
- Definition Classes
- OptionBaseMatchers
- def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]
- returns
a matcher checking if the elements are ordered
- Definition Classes
- TraversableBaseMatchers
- def beSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beSuccessfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
- def beTheSameAs[T <: AnyRef](t: => T): BeTheSameAs[T]
matches if a eq b
matches if a eq b
- Definition Classes
- AnyBaseMatchers
- def beTrue: BeTrueMatcher
matches if a == true
matches if a == true
- Definition Classes
- AnyBaseMatchers
- def beTypedEqualTo[T](t: => T)(implicit arg0: Diffable[T]): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- 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
- 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
- def be_!=[T](t: => T): Matcher[Any]
matches if a != b
matches if a != b
- Definition Classes
- AnyBaseMatchers
- 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
- def be_!==[T](t: => T)(implicit arg0: Diffable[T]): Matcher[T]
matches if a != b
matches if a != b
- Definition Classes
- AnyBaseMatchers
- def be_<[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]
alias for beLessThan
alias for beLessThan
- Definition Classes
- NumericBaseMatchers
- def be_<=[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
- def be_==[T](t: => T): BeEqualTo
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- 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
- def be_===[T](t: => T)(implicit arg0: Diffable[T]): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- 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
- def be_>[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
alias for beGreaterThan
alias for beGreaterThan
- Definition Classes
- NumericBaseMatchers
- def be_>=[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
- def between[T](t1: T, t2: T)(implicit arg0: (T) => Ordered[T]): BetweenMatcher[T]
- Definition Classes
- NumericBaseMatchers
- def booleanToSimpleResult(b: Boolean): Result
- Definition Classes
- Results
- 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
- 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
- ThrownExpectables → ExpectationsCreation
- def checkResultFailure(result: => 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
- ThrownExpectables → ExpectationsCreation
- implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: (T) => ValueCheck[T]): Seq[ValueCheck[T]]
- Definition Classes
- TraversableBaseMatchersLowImplicits
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- def closeTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- def closeTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- implicit def combineBoolean(b: => Boolean): ResultLogicalCombinator
- Definition Classes
- ResultLogicalCombinators
- implicit def combineMatchResult[T](m: => MatchResult[T]): MatchResultCombinator[T]
- Definition Classes
- MatchResultLogicalCombinators
- implicit def combineResult(r: => Result): ResultLogicalCombinator
- Definition Classes
- ResultLogicalCombinators
- def contain[T, S](f: (=> T) => Matcher[S])(expected: => Seq[T]): (Seq[S]) => MatchResult[Seq[S]]
- Definition Classes
- MatcherZipOperators
- def contain(t: Char): Matcher[String]
matches if (b contains a)
matches if (b contains a)
- Definition Classes
- StringBaseMatchers
- def contain(t: String): Matcher[String]
matches if (b contains a)
matches if (b contains a)
- Definition Classes
- StringBaseMatchers
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- 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
- def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]
COLLECTION MATCHERS
COLLECTION MATCHERS
- Definition Classes
- TraversableBaseMatchers
- def contain[T](check: ValueCheck[T]): ContainWithResult[T]
ELEMENTS MATCHERS
ELEMENTS MATCHERS
- Definition Classes
- TraversableBaseMatchers
- 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
- 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
- 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
- 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
- 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
- def containing(s: String): Matcher[String]
- Definition Classes
- StringBeHaveMatchers
- def createExpectable[T](t: => T, alias: Option[(String) => String]): Expectable[T]
- returns
an Expectable with a description function
- Definition Classes
- ThrownExpectables → ExpectationsCreation
- def createExpectable[T](t: => T, alias: (String) => String): Expectable[T]
- returns
an Expectable with a description function
- Definition Classes
- ExpectationsCreation
- def createExpectable[T](t: => T, alias: => String): Expectable[T]
- returns
an Expectable with a description
- Definition Classes
- ExpectationsCreation
- def createExpectable[T](t: => T): Expectable[T]
- returns
an Expectable
- Definition Classes
- ExpectationsCreation
- def createExpectableWithShowAs[T](t: => T, show: => String): Expectable[T]
- returns
an Expectable with a function to show the element T
- Definition Classes
- ThrownExpectables → ExpectationsCreation
- def createMustExpectable[T](t: => T): MustExpectable[T]
- Attributes
- protected
- Definition Classes
- MustThrownExpectationsCreation → MustExpectationsCreation
- def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]
- Definition Classes
- MapBeHaveMatchers
- def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]
- Definition Classes
- MapBeHaveMatchers
- implicit def describe[T](t: => T): Descriptible[T]
describe a value with the aka method
describe a value with the aka method
- Definition Classes
- ExpectationsDescription
- implicit def describeExpectation(description: String): ExpectationDescription
- Definition Classes
- ExpectationsDescription
- def done: Success
- Definition Classes
- StandardResults
- implicit def downcastBeEqualTypedValueCheck[T, S >: T](check: BeEqualTypedValueCheck[T]): ValueCheck[S]
a check of type T can be downcasted implicitly to a check of type S >: T
a check of type T can be downcasted implicitly to a check of type S >: T
- Definition Classes
- ValueChecks
- def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- def endWith(t: => String): Matcher[String]
matches if b.endsWith(a)
matches if b.endsWith(a)
- Definition Classes
- StringBaseMatchers
- def endingWith(s: => String): Matcher[String]
- Definition Classes
- StringBeHaveMatchers
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equalTo[T](t: => T): BeEqualTo
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eventually[T](nested: => Matcher[T]): Matcher[T]
- returns
a matcher that will retry the nested matcher 40 times
- Definition Classes
- EventuallyMatchers
- 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
- 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
- def eventually[T](result: => T)(implicit arg0: AsResult[T]): T
- Definition Classes
- EventuallyResults
- def eventually[T](retries: Int, sleep: Duration)(result: => T)(implicit arg0: AsResult[T]): T
- Definition Classes
- EventuallyResults
- def eventually[T](retries: Int, sleep: (Int) => Duration)(result: => T)(implicit arg0: AsResult[T]): T
- Definition Classes
- EventuallyResults
- def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
- def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def failedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
- def failure(message: String): Failure
- Definition Classes
- StandardResults
- def failure: Failure
- Definition Classes
- StandardResults
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- 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
- 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
- def forall[T](matcher: Matcher[T]): ContainWithResult[T]
apply a matcher for all values
apply a matcher for all values
- Definition Classes
- SequenceMatchersCreation
- def forall[T, R](values: Traversable[T])(f: (T) => R)(implicit arg0: AsResult[R]): MatchResult[Traversable[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
- SequenceMatchersCreation
- def forallWhen[T, U](values: Traversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Traversable[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
- SequenceMatchersCreation
- def foreach[T](matcher: Matcher[T]): ContainWithResult[T]
apply a matcher foreach value
apply a matcher foreach value
- Definition Classes
- SequenceMatchersCreation
- def foreach[T, R](values: Traversable[T])(f: (T) => R)(implicit arg0: AsResult[R]): MatchResult[Traversable[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
- SequenceMatchersCreation
- def foreachWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[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
- SequenceMatchersCreation
- 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
- implicit def functionAndKoMessageToMatcher[T](f: ((T) => Boolean, (T) => String)): Matcher[T]
This method transforms a function to a Matcher
This method transforms a function to a Matcher
- Definition Classes
- MatchersCreation
- implicit def functionAndMessagesToMatcher[T](f: ((T) => Boolean, (T) => String, (T) => String)): Matcher[T]
This method transforms a function, with function descriptors to a Matcher
This method transforms a function, with function descriptors to a Matcher
- Definition Classes
- MatchersCreation
- 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
- implicit def functionToMatcher[T](f: ((T) => Boolean, String)): Matcher[T]
This method transforms a function to a Matcher
This method transforms a function to a Matcher
- Definition Classes
- MatchersCreation
- implicit def functionToMatcher2[T](f: ((T) => Boolean, String, String)): Matcher[T]
This method transforms a function to a Matcher
This method transforms a function to a Matcher
- Definition Classes
- MatchersCreation
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def greaterThan[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def have: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def haveClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
matches if v.getClass == c
matches if v.getClass == c
- Definition Classes
- AnyBaseMatchers
- 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
- def haveKey[K](k: K): Matcher[Iterable[(K, Any)]]
matches if map.contains(k)
matches if map.contains(k)
- Definition Classes
- MapBaseMatchers
- def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]
matches if map.contains(k) forall key k
matches if map.contains(k) forall key k
- Definition Classes
- MapBaseMatchers
- def haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
- def haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- implicit lazy val implicitParameter: ImplicitParam
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter1: ImplicitParam1
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter10: ImplicitParam10
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter2: ImplicitParam2
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter3: ImplicitParam3
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter4: ImplicitParam4
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter5: ImplicitParam5
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter6: ImplicitParam6
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter7: ImplicitParam7
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter8: ImplicitParam8
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitParameter9: ImplicitParam9
- Definition Classes
- ImplicitParameters
- implicit lazy val implicitsAreAllowed: implicitConversions
- Definition Classes
- LanguageFeatures
- def interface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- Definition Classes
- AnyBeHaveMatchers
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def key[K](k: K): Matcher[Iterable[(K, Any)]]
- Definition Classes
- MapBeHaveMatchers
- def keys[K](ks: K*): Matcher[Iterable[(K, Any)]]
- Definition Classes
- MapBeHaveMatchers
- def klass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- Definition Classes
- AnyBeHaveMatchers
- def ko(m: String): MatchResult[Any]
- Definition Classes
- StandardMatchResults
- lazy val ko: MatchResult[Any]
- Definition Classes
- StandardMatchResults
- implicit def lazyParameter[T](value: => T): LazyParameter[T]
- Definition Classes
- LazyParameters
- def left[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): LeftMatcher[Nothing]
- Definition Classes
- EitherBaseMatchers
- def left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def left[T](t: T)(implicit arg0: Diffable[T]): LeftCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def length[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
- def length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
- def lessThan[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThan[S]
- Definition Classes
- NumericBaseMatchers
- def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) => Ordered[S]): BeLessThanOrEqualTo[S]
matches if x <= n
matches if x <= n
- Definition Classes
- NumericBaseMatchers
- def like[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- def likeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- 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
- implicit def matchResultFunctionToMatcher[T, R](f: (T) => R)(implicit arg0: AsResult[R]): Matcher[T]
This method transforms a function returning a Result to a Matcher
This method transforms a function returning a Result to a Matcher
- Definition Classes
- MatchersCreation
- 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
- implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]
- Definition Classes
- TraversableBaseMatchersLowImplicits
- def matching(r: Regex): BeMatchingRegex
- Definition Classes
- StringBeHaveMatchers
- def matching(t: Pattern): BeMatchingPattern
- Definition Classes
- StringBeHaveMatchers
- def matching(t: => String): BeMatching
- Definition Classes
- StringBeHaveMatchers
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate(r: Result): Result
- Definition Classes
- Results
- def negateWhen(condition: Boolean)(r: Result): Result
- Definition Classes
- Results
- def none: Matcher[Option[Any]]
- Definition Classes
- OptionBaseMatchers
- def not: NotMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def not[T](m: Matcher[T]): Matcher[T]
negate a matcher
negate a matcher
- Definition Classes
- AnyBaseMatchers
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def ok(m: String): MatchResult[Any]
- Definition Classes
- StandardMatchResults
- lazy val ok: MatchResult[Any]
- Definition Classes
- StandardMatchResults
- def oneOf[T](t: T*): Matcher[T]
- Definition Classes
- AnyBeHaveMatchers
- implicit def orderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit arg0: Ordering[T]): OrderedSeqMatchResult[T]
- Definition Classes
- TraversableBeHaveMatchers
- def pair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]
- Definition Classes
- MapBeHaveMatchers
- implicit def pairFunctionToMatcher[T](f: (T) => (Boolean, String)): Matcher[T]
This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher
This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher
- Definition Classes
- MatchersCreation
- def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]
- Definition Classes
- MapBeHaveMatchers
- implicit def partialfunctionIsValueCheck[T, R](f: PartialFunction[T, R])(implicit arg0: AsResult[R]): ValueCheck[T]
a partial function returning an object having an AsResult instance can check a value
a partial function returning an object having an AsResult instance can check a value
- Definition Classes
- ValueChecks
- def pending[R](r: => R)(implicit arg0: AsResult[R]): Pending
- Definition Classes
- StandardResults
- def pending: Pending
- Definition Classes
- StandardResults
- def pending(message: String): Pending
- Definition Classes
- StandardResults
- implicit lazy val postfixOpsAreAllowed: postfixOps
- Definition Classes
- LanguageFeatures
- def retry[T](m: Matcher[T])(retries: Int)(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
- def right[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): RightMatcher[Nothing]
- Definition Classes
- EitherBaseMatchers
- def right[T](t: ValueCheck[T]): RightCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def right[T](t: T)(implicit arg0: Diffable[T]): RightCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
- def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]
- returns
the match result without any side-effects
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
- 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
- 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
- Definition Classes
- NoMatchResultStackTrace → MatchResultStackTrace
- def size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
- def size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
- implicit def sized[T](s: MatchResult[T])(implicit arg0: Sized[T]): HasSize[T]
- Definition Classes
- TraversableBeHaveMatchers
- def skipped[R](r: => R)(implicit arg0: AsResult[R]): Skipped
- Definition Classes
- StandardResults
- def skipped: Skipped
- Definition Classes
- StandardResults
- def skipped(message: String): Skipped
- Definition Classes
- StandardResults
- def some[T]: SomeMatcher[T]
- Definition Classes
- OptionBaseMatchers
- def some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
- Definition Classes
- OptionBaseMatchers
- def some[T](t: T)(implicit arg0: Diffable[T]): SomeCheckedMatcher[T]
- Definition Classes
- OptionBaseMatchers
- def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]
alias for beSorted
alias for beSorted
- Definition Classes
- TraversableBaseMatchers
- def startWith(a: String): Matcher[String]
matches if b.startsWith(a)
matches if b.startsWith(a)
- Definition Classes
- StringBaseMatchers
- def startingWith(s: => String): Matcher[String]
- Definition Classes
- StringBeHaveMatchers
- 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
- StringMatchers
- implicit def stringMatcherFunctionToBynameMatcherFunction[T, R](f: (T) => Matcher[R]): (=> T) => Matcher[R]
this allows a function returning a matcher to be used where the same function with a byname parameter is expected
this allows a function returning a matcher to be used where the same function with a byname parameter is expected
- Definition Classes
- MatchersCreation
- def success: Success
- Definition Classes
- StandardResults
- def successfulTry[T](t: T)(implicit arg0: Diffable[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def successfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
- def successfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
- def superClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- Definition Classes
- AnyBeHaveMatchers
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def theBlock(t: => Nothing): MustExpectable[Nothing]
- Definition Classes
- MustExpectations
- implicit def theValue[T](t: => T): MustExpectable[T]
- Definition Classes
- MustExpectations1
- def throwA[E <: Throwable](e: E): ExceptionMatcher[E]
- returns
a matcher checking the value of an Exception
- Definition Classes
- ExceptionBaseMatchers
- 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
- def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher
- returns
a matcher checking the type of an Exception
- Definition Classes
- ExceptionBaseMatchers
- def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]
alias for throwA
alias for throwA
- Definition Classes
- ExceptionBaseMatchers
- def throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]
alias for throwA
alias for throwA
- Definition Classes
- ExceptionBaseMatchers
- def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher
alias for throwA
alias for throwA
- Definition Classes
- ExceptionBaseMatchers
- implicit def timesFor(n: Int): Times
- Definition Classes
- NumberOfTimes
- implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatcherResult
- Definition Classes
- AnyBeHaveMatchers
- implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]
- Definition Classes
- AnyBeHaveMatchers
- implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]
- Definition Classes
- AnyBeHaveMatchers
- implicit def toClassMatcherResult(result: MatchResult[Class[_]]): ClassMatcherResult
- Definition Classes
- AnyBeHaveMatchers
- implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]
- Definition Classes
- MapBeHaveMatchers
- implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]
- Definition Classes
- MapBeHaveMatchers
- implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]
- Definition Classes
- MapBeHaveMatchers
- implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric
- Definition Classes
- NumericBeHaveMatchers
- implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered
- Definition Classes
- NumericBeHaveMatchers
- implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher
- Definition Classes
- StringBeHaveMatchers
- implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher
- Definition Classes
- StringBeHaveMatchers
- implicit def toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]
- Definition Classes
- NumericBeHaveMatchers
- implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]
- Definition Classes
- OptionBeHaveMatchers
- 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
- implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]
- Definition Classes
- MapBeHaveMatchers
- implicit def toResult(b: Boolean): Result
- Definition Classes
- Results
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher
- Definition Classes
- StringBeHaveMatchers
- implicit def toTryResultMatcher[T](result: MatchResult[Try[T]]): TryResultMatcher[T]
- Definition Classes
- TryBeHaveMatchers
- def todo: Pending
- Definition Classes
- StandardResults
- implicit def traversable[T](s: MatchResult[Traversable[T]]): TraversableBeHaveMatchers[T]
- Definition Classes
- TraversableBeHaveMatchers
- implicit def tripletFunctionToMatcher[T](f: (T) => (Boolean, String, String)): Matcher[T]
This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher
This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher
- Definition Classes
- MatchersCreation
- implicit def typedEqualExpectation[T](t: => T): TypedEqualExpectation[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
- TypedEqual
- def typedEqualTo[T](t: => T): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
- def value[V](v: V): Matcher[Iterable[(Any, V)]]
- Definition Classes
- MapBeHaveMatchers
- 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
- def values[V](vs: V*): Matcher[Iterable[(Any, V)]]
- Definition Classes
- MapBeHaveMatchers
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wontdo: Success
- Definition Classes
- StandardResults
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20], m21: (=> T21) => Matcher[S21], m22: (=> T22) => Matcher[S22]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20], m21: (=> T21) => Matcher[S21]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, S1, S2, S3, S4, S5, S6, S7, S8, S9](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, T8, S1, S2, S3, S4, S5, S6, S7, S8](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8]): (=> (T1, T2, T3, T4, T5, T6, T7, T8)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, T7, S1, S2, S3, S4, S5, S6, S7](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7]): (=> (T1, T2, T3, T4, T5, T6, T7)) => Matcher[(S1, S2, S3, S4, S5, S6, S7)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, T6, S1, S2, S3, S4, S5, S6](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6]): (=> (T1, T2, T3, T4, T5, T6)) => Matcher[(S1, S2, S3, S4, S5, S6)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, T5, S1, S2, S3, S4, S5](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5]): (=> (T1, T2, T3, T4, T5)) => Matcher[(S1, S2, S3, S4, S5)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, T4, S1, S2, S3, S4](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4]): (=> (T1, T2, T3, T4)) => Matcher[(S1, S2, S3, S4)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, T3, S1, S2, S3](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3]): (=> (T1, T2, T3)) => Matcher[(S1, S2, S3)]
- Definition Classes
- MatcherZipOperators
- def zip[T1, T2, S1, S2](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2]): (=> (T1, T2)) => Matcher[(S1, S2)]
- Definition Classes
- MatcherZipOperators
- def ~[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
alias for beCloseTo
alias for beCloseTo
- Definition Classes
- NumericBaseMatchers
- def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]
alias for beCloseTo
alias for beCloseTo
- Definition Classes
- NumericBaseMatchers