Object/Trait

org.scalatest.check

Checkers

Related Docs: trait Checkers | package check

Permalink

object Checkers extends Checkers

Companion object that facilitates the importing of Checkers members as an alternative to mixing it in. One use case is to import Checkers members so you can use them in the Scala interpreter.

Linear Supertypes
Checkers, ScalaCheckConfiguration, Configuration, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Checkers
  2. Checkers
  3. ScalaCheckConfiguration
  4. Configuration
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class MaxDiscardedFactor extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
  2. case class MinSize extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
  3. case class MinSuccessful extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
  4. sealed abstract class PropertyCheckConfigParam extends Product with Serializable

    Permalink
    Definition Classes
    Configuration
  5. case class PropertyCheckConfiguration extends PropertyCheckConfigurable with Product with Serializable

    Permalink
    Definition Classes
    Configuration
  6. case class SizeRange extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
  7. case class Workers extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
  8. case class MaxDiscarded extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
    Annotations
    @deprecated
    Deprecated

    Use MaxDiscardedFactor instead

  9. case class MaxSize extends PropertyCheckConfigParam with Product with Serializable

    Permalink
    Definition Classes
    Configuration
    Annotations
    @deprecated
    Deprecated

    use SizeRange instead

  10. case class PropertyCheckConfig extends PropertyCheckConfigurable with Product with Serializable

    Permalink
    Definition Classes
    Configuration
    Annotations
    @deprecated
    Deprecated

    Use PropertyCheckConfiguration instead

  11. trait PropertyCheckConfigurable extends AnyRef

    Permalink
    Definition Classes
    Configuration
    Annotations
    @deprecated
    Deprecated

    Use PropertyCheckConfiguration directly instead.

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. implicit def PropertyCheckConfig2PropertyCheckConfiguration(p: PropertyCheckConfig): PropertyCheckConfiguration

    Permalink
    Definition Classes
    Configuration
  5. object PropertyCheckConfiguration extends Serializable

    Permalink
    Definition Classes
    Configuration
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def check(p: Prop, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Check a property.

    Check a property.

    p

    the property to check

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  8. def check(p: Prop, prms: Parameters)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Check a property with the given testing parameters.

    Check a property with the given testing parameters.

    p

    the property to check

    prms

    the test parameters

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  9. def check[A1, A2, A3, A4, A5, A6, P](f: (A1, A2, A3, A4, A5, A6) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty, a6: Arbitrary[A6], s6: Shrink[A6], pp6: (A6) ⇒ Pretty, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Convert the passed 6-arg function into a property, and check it.

    Convert the passed 6-arg function into a property, and check it.

    f

    the function to be converted into a property and checked

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  10. def check[A1, A2, A3, A4, A5, P](f: (A1, A2, A3, A4, A5) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Convert the passed 5-arg function into a property, and check it.

    Convert the passed 5-arg function into a property, and check it.

    f

    the function to be converted into a property and checked

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  11. def check[A1, A2, A3, A4, P](f: (A1, A2, A3, A4) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Convert the passed 4-arg function into a property, and check it.

    Convert the passed 4-arg function into a property, and check it.

    f

    the function to be converted into a property and checked

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  12. def check[A1, A2, A3, P](f: (A1, A2, A3) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Convert the passed 3-arg function into a property, and check it.

    Convert the passed 3-arg function into a property, and check it.

    f

    the function to be converted into a property and checked

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  13. def check[A1, A2, P](f: (A1, A2) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Convert the passed 2-arg function into a property, and check it.

    Convert the passed 2-arg function into a property, and check it.

    f

    the function to be converted into a property and checked

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  14. def check[A1, P](f: (A1) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfigurable, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, prettifier: Prettifier, pos: Position): Assertion

    Permalink

    Convert the passed 1-arg function into a property, and check it.

    Convert the passed 1-arg function into a property, and check it.

    f

    the function to be converted into a property and checked

    Definition Classes
    Checkers
    Exceptions thrown

    TestFailedException if a test case is discovered for which the property doesn't hold.

  15. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. implicit val generatorDrivenConfig: PropertyCheckConfiguration

    Permalink
    Definition Classes
    Configuration
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getParameter(configParams: Seq[PropertyCheckConfigParam], c: PropertyCheckConfiguration): Parameter

    Permalink
    Definition Classes
    Configuration
  22. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  24. def maxDiscardedFactor(value: PosZDouble): MaxDiscardedFactor

    Permalink
    Definition Classes
    Configuration
  25. def minSize(value: PosZInt): MinSize

    Permalink
    Definition Classes
    Configuration
  26. def minSuccessful(value: PosInt): MinSuccessful

    Permalink
    Definition Classes
    Configuration
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def sizeRange(value: PosZInt): SizeRange

    Permalink
    Definition Classes
    Configuration
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def workers(value: PosInt): Workers

    Permalink
    Definition Classes
    Configuration

Deprecated Value Members

  1. def maxDiscarded(value: Int): MaxDiscarded

    Permalink
    Definition Classes
    Configuration
    Annotations
    @deprecated
    Deprecated

    use maxDiscardedFactor instead

  2. def maxSize(value: Int): MaxSize

    Permalink
    Definition Classes
    Configuration
    Annotations
    @deprecated
    Deprecated

    use SizeRange instead

Inherited from Checkers

Inherited from ScalaCheckConfiguration

Inherited from Configuration

Inherited from AnyRef

Inherited from Any

Ungrouped