case class TimedMatcher[T](check: ValueCheck[T], duration: Option[FiniteDuration]) extends Matcher[F[T]] with Product with Serializable
- Source
- RunTimedMatchers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TimedMatcher
- Serializable
- Serializable
- Product
- Equals
- Matcher
- AnyRef
- Any
Implicitly
- by Returns
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TimedMatcher(check: ValueCheck[T], duration: Option[FiniteDuration])
Value Members
-
def
^^[S](f: (S) ⇒ Expectable[F[T]], dummy: Int): Matcher[S]
- Definition Classes
- Matcher
-
def
^^[S](f: (S) ⇒ F[T]): Matcher[S]
- Definition Classes
- Matcher
-
def
and[S <: F[T]](m: ⇒ Matcher[S]): Matcher[S]
- Definition Classes
- Matcher
-
final
def
apply[S <: F[T]](expected: Expectable[S]): MatchResult[S]
- Definition Classes
- TimedMatcher → Matcher
- def before(d: FiniteDuration): TimedMatcher[T]
- val check: ValueCheck[T]
- val duration: Option[FiniteDuration]
-
def
eventually(retries: Int, sleep: Duration): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
eventually: Matcher[F[T]]
- Definition Classes
- Matcher
-
def
iff(b: Boolean): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
lazily: Matcher[() ⇒ F[T]]
- Definition Classes
- Matcher
-
def
mute: Matcher[F[T]]
- Definition Classes
- Matcher
-
def
not: Matcher[F[T]]
- Definition Classes
- Matcher
-
def
or[S <: F[T]](m: ⇒ Matcher[S]): Matcher[S]
- Definition Classes
- Matcher
-
def
orPending(message: (String) ⇒ String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
orPending(m: String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
orPending: Matcher[F[T]]
- Definition Classes
- Matcher
-
def
orSkip(message: (String) ⇒ String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
orSkip(m: String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
orSkip: Matcher[F[T]]
- Definition Classes
- Matcher
-
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
-
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
-
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
-
def
setMessage(message: String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
test: (F[T]) ⇒ Boolean
- Definition Classes
- Matcher
-
def
unless(b: Boolean, m: String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
updateMessage(f: (String) ⇒ String): Matcher[F[T]]
- Definition Classes
- Matcher
-
def
when(b: Boolean, m: String): Matcher[F[T]]
- Definition Classes
- Matcher
- def withValue(t: T): TimedMatcher[T]
- def withValue(check: ValueCheck[T]): TimedMatcher[T]