org.scalacheck

Test

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
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 case class GenException(e: Throwable) extends Status with Product with Serializable

    An exception was raised when trying to generate concrete arguments for evaluating the property.

  3. trait Parameters extends AnyRef

    Test parameters used by the Test.check method.

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

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

    ScalaCheck managed to prove the property correct

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

    Test statistics

  7. sealed trait Status extends AnyRef

    Test status

  8. 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 Test.check method.

    Test parameters used by the Test.check method.

    To override default values, extend the org.scalacheck.Test.Parameters.Default trait:

    val myParams = new Parameters.Default {
    override val minSuccesfulTests = 600
    override val maxDiscardRatio = 8
    }
  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 checkProperties(prms: Parameters, ps: Properties): Seq[(String, Result)]

    Check a set of properties.

  10. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped