ScalaCheckFunction1

case class ScalaCheckFunction1[T, R](execute: T => R, arbitrary: Arbitrary[T], shrink: Option[Shrink[T]], collectors: List[T => Any], pretty: T => Pretty, prettyFreqMap: FreqMap[Set[Any]] => Pretty, asResult: AsResult[R], context: Option[Context], parameters: Parameters) extends ScalaCheckFunction
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

def collectArg(f: T => Any): SelfType
def prepare(action: T => T): SelfType
def pretty(pretty: T => String): SelfType
def setArbitrary(arbitrary: Arbitrary[T]): SelfType
def setContext(context: Context): SelfType
def setGen(gen: Gen[T]): SelfType
def setPretty(pretty: T => Pretty): SelfType
def setPrettyFreqMap(f: FreqMap[Set[Any]] => Pretty): SelfType
def setSeed(seed: Seed): SelfType
def setSeed(seed: String): SelfType
def setShrink(shrink: Shrink[T]): SelfType

Inherited methods

def after(action: => Any): SelfType
Inherited from:
ScalaCheckFunction
def around(action: Result => Result): SelfType
Inherited from:
ScalaCheckFunction
def before(action: => Any): SelfType
Inherited from:
ScalaCheckFunction
def beforeAfter(beforeAction: => Any, afterAction: => Any): SelfType
Inherited from:
ScalaCheckFunction
def display(minTestsOk: Int, minSize: Int, maxDiscardRatio: Float, maxSize: Int, workers: Int, callback: TestCallback, loader: Option[ClassLoader]): SelfType
Inherited from:
ScalaCheckProperty
protected def executeInContext[R : AsResult](result: => R): Prop
Inherited from:
ScalaCheckFunction
def prettyFreqMap(f: FreqMap[Set[Any]] => String): SelfType
Inherited from:
ScalaCheckProperty
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def set(minTestsOk: Int, minSize: Int, maxDiscardRatio: Float, maxSize: Int, workers: Int, callback: TestCallback, loader: Option[ClassLoader]): SelfType
Inherited from:
ScalaCheckProperty
def setVerbosity(v: Int): SelfType
Inherited from:
ScalaCheckProperty

Concrete fields

lazy val prop: Prop
lazy val propFunction: T => Prop