ActionMatchers

org.specs2.matcher.ActionMatchers
See theActionMatchers companion trait

Attributes

Companion
trait
Graph
Supertypes
trait ValueChecks
trait ValueChecksBase
trait ValueChecksLowImplicits
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

def beKo[T](message: String): Matcher[Action[T]]

Attributes

Inherited from:
ActionMatchers
def beKo[T]: Matcher[Action[T]]

Attributes

Inherited from:
ActionMatchers
def beOk[T](check: ValueCheck[T]): Matcher[Action[T]]

Attributes

Inherited from:
ActionMatchers
def beOk[T, R : AsResult](f: T => R): Matcher[Action[T]]

Attributes

Inherited from:
ActionMatchers
def beOk[T]: Matcher[Action[T]]

Attributes

Inherited from:
ActionMatchers
def beOkWithValue[T](t: T): Matcher[Action[T]]

Attributes

Inherited from:
ActionMatchers
def valueIsTypedValueCheck[T](expected: T)(implicit di: Diffable[T]): ValueCheck[T]

an expected value can be used to check another value

an expected value can be used to check another value

Attributes

Inherited from:
ValueChecksBase

Implicits

Inherited implicits

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

Attributes

Inherited from:
ValueChecks
implicit def functionIsValueCheck[T, R : AsResult](f: T => 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

Attributes

Inherited from:
ValueChecksLowImplicits
implicit def matcherIsValueCheck[T](m: Matcher[T]): ValueCheck[T]

a Matcher[T] can check a value

a Matcher[T] can check a value

Attributes

Inherited from:
ValueChecksBase
implicit def partialfunctionIsValueCheck[T, R : AsResult](f: PartialFunction[T, 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

Attributes

Inherited from:
ValueChecks