Prop

org.specs2.form.Prop
See theProp companion class
object Prop

Companion object with factory methods

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Prop.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[T](label: String, actual: => T): Prop[T, T]

create a Prop with a label and an actual value

create a Prop with a label and an actual value

Attributes

def apply[T, S, R](label: String, act: => T, c: (T, S) => R)(using evidence$1: AsResult[R]): Prop[T, S]

create a Prop with a label, an actual value, and a constraint

create a Prop with a label, an actual value, and a constraint

Attributes

def apply[T, S](label: String, act: => T, c: S => Matcher[T]): Prop[T, S]

create a Prop with a label, an expected value, and a constraint

create a Prop with a label, an expected value, and a constraint

Attributes

def apply[T](label: String, act: => T, c: Matcher[T]): Prop[T, T]

create a Prop with a label, an actual value, and a matcher on the actual value

create a Prop with a label, an actual value, and a matcher on the actual value

Attributes

def apply[T, S](label: String, act: => T, exp: => S, c: Matcher[T]): Prop[T, S]

create a Prop with a label, an actual value, an expected value, and a constraint on the actual value

create a Prop with a label, an actual value, an expected value, and a constraint on the actual value

Attributes

def apply[T](label: String): Prop[T, T]

create a Prop with a label

create a Prop with a label

Attributes

def apply[T](act: => T): Prop[T, T]

create a Prop with an empty label and an actual value

create a Prop with an empty label and an actual value

Attributes