Object

org.scalacheck

Test

Related Doc: package scalacheck

Permalink

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

    Permalink

    The property was proved wrong with the given concrete arguments.

  2. sealed abstract class Parameters extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    Test statistics

  6. sealed trait Status extends AnyRef

    Permalink

    Test status

  7. trait TestCallback extends AnyRef

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Exhausted extends Status with Product with Serializable

    Permalink

    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

    Permalink

    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

    Permalink

    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

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

    Permalink

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

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

    Permalink

    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)]

    Permalink

    Check a set of properties.

  11. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped