RunTimedMatchers

org.specs2.matcher.RunTimedMatchers
trait RunTimedMatchers[F[_]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait IOMatchers

Members list

Type members

Classlikes

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

Attributes

Supertypes
trait Matcher[F[T]]
class Object
trait Matchable
class Any
Known subtypes
class IOMatcher[T]
implicit class TimedMatcherWithValue[T](timedMatcher: TimedMatcher[T])

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

protected def runAwait[A](fa: F[A]): A
protected def runWithTimeout[A](fa: F[A], timeout: FiniteDuration): A

Concrete methods

def returnBefore[T](duration: FiniteDuration): TimedMatcher[T]
def returnOk[T]: TimedMatcher[T]
def returnValue[T](check: ValueCheck[T]): TimedMatcher[T]

Implicits

Implicits

final implicit def TimedMatcherWithValue[T](timedMatcher: TimedMatcher[T]): TimedMatcherWithValue[T]