org.scalacheck

PropFromFun

Related Doc: package scalacheck

class PropFromFun extends Prop

Helper class to satisfy ScalaJS compilation. Do not use this directly, use Prop.apply instead.

Source
Prop.scala
Linear Supertypes
Prop, Testable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PropFromFun
  2. Prop
  3. Testable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PropFromFun(f: (Parameters) ⇒ Result)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def &&(p: ⇒ Prop): Prop

    Returns a new property that holds if and only if both this and the given property hold.

    Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate false.

    Definition Classes
    Prop
  4. def ++(p: ⇒ Prop): Prop

    Returns a new property that holds if and only if both this and the given property hold.

    Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate the same result as the other property.

    Definition Classes
    Prop
  5. def :|(l: Symbol): Prop

    Put a label on the property to make test reports clearer

    Put a label on the property to make test reports clearer

    Definition Classes
    Prop
  6. def :|(l: String): Prop

    Put a label on the property to make test reports clearer

    Put a label on the property to make test reports clearer

    Definition Classes
    Prop
  7. def ==(p: ⇒ Prop): Prop

    Returns a new property that holds if and only if both this and the given property generates a result with the exact same status.

    Returns a new property that holds if and only if both this and the given property generates a result with the exact same status. Note that this means that if one of the properties is proved, and the other one passed, then the resulting property will fail.

    Definition Classes
    Prop
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def ==>(p: ⇒ Prop): Prop

    Combines two properties through implication

    Combines two properties through implication

    Definition Classes
    Prop
  10. def apply(prms: Parameters): Result

    Definition Classes
    PropFromFunProp
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def check(paramFun: (Parameters) ⇒ Parameters): Unit

    Convenience method that checks this property and reports the result on the console.

    Convenience method that checks this property and reports the result on the console. The provided argument should be a function that takes the default test parameters (Test.Parameters.default) as input and outputs a modified Test.Parameters instance that Example use:

    p.check(_.withMinSuccessfulTests(500))
    
    p.check { _.
      withMinSuccessfulTests(80000).
      withWorkers(4)
    }
    Definition Classes
    Prop
  13. def check: Unit

    Convenience method that checks this property and reports the result on the console.

    Convenience method that checks this property and reports the result on the console. The default test parameters (Test.Parameters.default) are used for the check.

    Definition Classes
    Prop
  14. def check(prms: Parameters): Unit

    Convenience method that checks this property with the given parameters and reports the result on the console.

    Convenience method that checks this property with the given parameters and reports the result on the console.

    Definition Classes
    Prop
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def combine(p: Prop)(f: (Result, Result) ⇒ Result): Prop

    Definition Classes
    Prop
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def flatMap(f: (Result) ⇒ Prop): Prop

    Definition Classes
    Prop
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def label(l: String): Prop

    Put a label on the property to make test reports clearer

    Put a label on the property to make test reports clearer

    Definition Classes
    Prop
  25. def main(args: Array[String]): Unit

    Convenience method that makes it possible to use this property as an application that checks itself on execution

    Convenience method that makes it possible to use this property as an application that checks itself on execution

    Definition Classes
    Prop
  26. def mainCallsExit: Boolean

    Whether main should call System.exit with an exit code.

    Whether main should call System.exit with an exit code. Defaults to true; override to change.

    Definition Classes
    Prop
  27. def mainRunner(args: Array[String]): Int

    The logic for main, separated out to make it easier to avoid System.exit calls.

    The logic for main, separated out to make it easier to avoid System.exit calls. Returns exit code.

    Definition Classes
    Prop
  28. def map(f: (Result) ⇒ Result): Prop

    Definition Classes
    Prop
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    Prop → AnyRef → Any
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def |:(l: Symbol): Prop

    Put a label on the property to make test reports clearer

    Put a label on the property to make test reports clearer

    Definition Classes
    Prop
  38. def |:(l: String): Prop

    Put a label on the property to make test reports clearer

    Put a label on the property to make test reports clearer

    Definition Classes
    Prop
  39. def ||(p: ⇒ Prop): Prop

    Returns a new property that holds if either this or the given property (or both) hold.

    Returns a new property that holds if either this or the given property (or both) hold.

    Definition Classes
    Prop

Inherited from Prop

Inherited from Testable

Inherited from AnyRef

Inherited from Any

Ungrouped