TerminationMatchers

org.specs2.matcher.TerminationMatchers
See theTerminationMatchers companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

implicit class TerminationResultMatcher[T](result: MatchResult[T])(implicit ee: ExecutionEnv)

Attributes

Inherited from:
TerminationNotMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

def terminate[T](retries: Int, sleep: Duration)(implicit ee: ExecutionEnv): TerminationMatcher[T]

this matchers will check if a block of code terminates within a given duration, and a given number of retries

this matchers will check if a block of code terminates within a given duration, and a given number of retries

Attributes

Inherited from:
TerminationBaseMatchers (hidden)
def terminate[T](implicit ee: ExecutionEnv): TerminationMatcher[T]

this matchers will check if a block of code terminates within a given duration, after just one try

this matchers will check if a block of code terminates within a given duration, after just one try

Attributes

Inherited from:
TerminationBaseMatchers (hidden)

Implicits

Inherited implicits

final implicit def TerminationResultMatcher[T](result: MatchResult[T])(implicit ee: ExecutionEnv): TerminationResultMatcher[T]

Attributes

Inherited from:
TerminationNotMatchers (hidden)