org.scalacheck

Prop

trait Prop extends AnyRef

A property is a generator that generates a property result

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Prop
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(prms: Params): Result

Concrete 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.

  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.

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

    Put a label on the property to make test reports clearer

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

    Put a label on the property to make test reports clearer

  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.

  8. final def ==(arg0: Any): Boolean

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

    Combines two properties through implication

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. 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. If you need to get the results from the test use the check methods in Test instead.

  12. def check(prms: Params): 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. If you need to get the results from the test use the check methods in Test instead.

  13. def clone(): AnyRef

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

  15. final def eq(arg0: AnyRef): Boolean

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

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

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

  19. final def getClass(): Class[_]

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

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

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

    Put a label on the property to make test reports clearer

  23. def main(args: Array[String]): Unit

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

  24. def map(f: (Result) ⇒ Result): Prop

  25. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

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

    Put a label on the property to make test reports clearer

  34. def |:(l: String): Prop

    Put a label on the property to make test reports clearer

  35. def ||(p: Prop): Prop

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

Deprecated Value Members

  1. 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.

    Annotations
    @deprecated
    Deprecated

    Use == instead.

Inherited from AnyRef

Inherited from Any

Ungrouped