Packages

object Test

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Test
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed case class Failed(args: List[Arg[Any]], labels: Set[String]) extends Status with Product with Serializable

    The property was proved wrong with the given concrete arguments.

  2. sealed abstract class Parameters extends AnyRef

    Test parameters used by the check methods.

    Test parameters used by the check methods. Default parameters are defined by Test.Parameters.default.

  3. sealed case class PropException(args: List[Arg[Any]], e: Throwable, labels: Set[String]) extends Status with Product with Serializable

    An exception was raised when trying to evaluate the property with the given concrete arguments.

    An exception was raised when trying to evaluate the property with the given concrete arguments. If an exception was raised before or during argument generation, the argument list will be empty.

  4. sealed case class Proved(args: List[Arg[Any]]) extends Status with Product with Serializable

    ScalaCheck managed to prove the property correct

  5. final case class Result(status: Status, succeeded: Int, discarded: Int, freqMap: FreqMap[Set[Any]], time: Long = 0) extends Product with Serializable

    Test statistics

  6. sealed trait Status extends AnyRef

    Test status

  7. trait TestCallback extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def check(params: Parameters, p: Prop): Result

    Tests a property with the given testing parameters, and returns the test results.

  6. def check(p: Prop)(f: (Parameters) ⇒ Parameters): Result

    Tests a property with parameters that are calculated by applying the provided function to Test.Parameters.default.

    Tests a property with parameters that are calculated by applying the provided function to Test.Parameters.default. Example use:

    Test.check(p) { _.
      withMinSuccessfulTests(80000).
      withWorkers(4)
    }
  7. def checkProperties(prms: Parameters, ps: Properties): Seq[(String, Result)]

    Check a set of properties.

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def matchPropFilter(propertyName: String, regex: Regex): Boolean

    Returns the result of filtering a property name by a supplied regular expression.

    Returns the result of filtering a property name by a supplied regular expression.

    propertyName

    The name of the property to be filtered.

    regex

    The regular expression to filter the property name by.

    returns

    true if the regular expression matches the property name, false if not.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. object Exhausted extends Status with Product with Serializable

    The property test was exhausted, it wasn't possible to generate enough concrete arguments satisfying the preconditions to get enough passing property evaluations.

  24. object Parameters

    Test parameters used by the check methods.

    Test parameters used by the check methods. Default parameters are defined by Test.Parameters.default.

  25. object Passed extends Status with Product with Serializable

    ScalaCheck found enough cases for which the property holds, so the property is considered correct.

    ScalaCheck found enough cases for which the property holds, so the property is considered correct. (It is not proved correct, though).

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped