org.scalacheck

Test

Related Doc: package scalacheck

object Test

Source
Test.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Test
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. 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.

  5. object Parameters

    Test parameters used by the check methods.

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

  6. 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).

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def check(params: Parameters, p: Prop): Result

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

  9. 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)
    }
  10. def checkProperties(prms: Parameters, ps: Properties): Seq[(String, Result)]

    Check a set of properties.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

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

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

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

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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped