Packages

case class TimedMatcher[T](check: ValueCheck[T], duration: Option[FiniteDuration]) extends Matcher[F[T]] with Product with Serializable

Source
RunTimedMatchers.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Matcher[F[T]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimedMatcher
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Matcher
  7. AnyRef
  8. Any
Implicitly
  1. by Returns
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimedMatcher(check: ValueCheck[T], duration: Option[FiniteDuration])

Value Members

  1. def ^^[S](f: (S) ⇒ Expectable[F[T]], dummy: Int): Matcher[S]
    Definition Classes
    Matcher
  2. def ^^[S](f: (S) ⇒ F[T]): Matcher[S]
    Definition Classes
    Matcher
  3. def and[S <: F[T]](m: ⇒ Matcher[S]): Matcher[S]
    Definition Classes
    Matcher
  4. final def apply[S <: F[T]](expected: Expectable[S]): MatchResult[S]
    Definition Classes
    TimedMatcher → Matcher
  5. def before(d: FiniteDuration): TimedMatcher[T]
  6. val check: ValueCheck[T]
  7. val duration: Option[FiniteDuration]
  8. def eventually(retries: Int, sleep: Duration): Matcher[F[T]]
    Definition Classes
    Matcher
  9. def eventually: Matcher[F[T]]
    Definition Classes
    Matcher
  10. def iff(b: Boolean): Matcher[F[T]]
    Definition Classes
    Matcher
  11. def lazily: Matcher[() ⇒ F[T]]
    Definition Classes
    Matcher
  12. def mute: Matcher[F[T]]
    Definition Classes
    Matcher
  13. def not: Matcher[F[T]]
    Definition Classes
    Matcher
  14. def or[S <: F[T]](m: ⇒ Matcher[S]): Matcher[S]
    Definition Classes
    Matcher
  15. def orPending(message: (String) ⇒ String): Matcher[F[T]]
    Definition Classes
    Matcher
  16. def orPending(m: String): Matcher[F[T]]
    Definition Classes
    Matcher
  17. def orPending: Matcher[F[T]]
    Definition Classes
    Matcher
  18. def orSkip(message: (String) ⇒ String): Matcher[F[T]]
    Definition Classes
    Matcher
  19. def orSkip(m: String): Matcher[F[T]]
    Definition Classes
    Matcher
  20. def orSkip: Matcher[F[T]]
    Definition Classes
    Matcher
  21. def returns(m: String): MatchResult[Result]
    Implicit
    This member is added by an implicit conversion from TimedMatcher[T] to specs2.matcher.Returns[TimedMatcher[T]] performed by method Returns in org.specs2.matcher.ReturnsSyntax. This conversion will take place only if an implicit value of type AsResult[TimedMatcher[T]] is in scope.
    Definition Classes
    Returns
  22. def returnsMatch(m: String): MatchResult[Result]
    Implicit
    This member is added by an implicit conversion from TimedMatcher[T] to specs2.matcher.Returns[TimedMatcher[T]] performed by method Returns in org.specs2.matcher.ReturnsSyntax. This conversion will take place only if an implicit value of type AsResult[TimedMatcher[T]] is in scope.
    Definition Classes
    Returns
  23. def returnsResult(m: String): MatchResult[Result]
    Implicit
    This member is added by an implicit conversion from TimedMatcher[T] to specs2.matcher.Returns[TimedMatcher[T]] performed by method Returns in org.specs2.matcher.ReturnsSyntax. This conversion will take place only if an implicit value of type AsResult[TimedMatcher[T]] is in scope.
    Definition Classes
    Returns
  24. def setMessage(message: String): Matcher[F[T]]
    Definition Classes
    Matcher
  25. def test: (F[T]) ⇒ Boolean
    Definition Classes
    Matcher
  26. def unless(b: Boolean, m: String): Matcher[F[T]]
    Definition Classes
    Matcher
  27. def updateMessage(f: (String) ⇒ String): Matcher[F[T]]
    Definition Classes
    Matcher
  28. def when(b: Boolean, m: String): Matcher[F[T]]
    Definition Classes
    Matcher
  29. def withValue(t: T): TimedMatcher[T]
  30. def withValue(check: ValueCheck[T]): TimedMatcher[T]