org.specs2

ScalaCheck

trait ScalaCheck extends ScalaCheckMatchers with AutoExamples

The ScalaCheck trait can be used to access ScalaCheck matchers

Self Type
ScalaCheck with FragmentsBuilder
Linear Supertypes
AutoExamples, AutoExamplesLowImplicits, ScalaCheckMatchers, Expectations, CanBeEqual, ApplicableArbitraries, ResultLogicalCombinators, Results, ResultPropertyImplicits, FunctionPropertyImplicits, ScalaCheckParameters, ScalaCheckFunctions, ConsoleOutput, Output, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaCheck
  2. AutoExamples
  3. AutoExamplesLowImplicits
  4. ScalaCheckMatchers
  5. Expectations
  6. CanBeEqual
  7. ApplicableArbitraries
  8. ResultLogicalCombinators
  9. Results
  10. ResultPropertyImplicits
  11. FunctionPropertyImplicits
  12. ScalaCheckParameters
  13. ScalaCheckFunctions
  14. ConsoleOutput
  15. Output
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ApplicableArbitrary[T](a: Arbitrary[T]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  2. case class ApplicableArbitrary2[T1, T2](a1: Arbitrary[T1], a2: Arbitrary[T2]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  3. case class ApplicableArbitrary3[T1, T2, T3](a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  4. case class ApplicableArbitrary4[T1, T2, T3, T4](a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  5. case class ApplicableArbitrary5[T1, T2, T3, T4, T5](a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  6. case class ApplicableArbitrary6[T1, T2, T3, T4, T5, T6](a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  7. case class ApplicableArbitrary7[T1, T2, T3, T4, T5, T6, T7](a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  8. case class ApplicableArbitrary8[T1, T2, T3, T4, T5, T6, T7, T8](a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8]) extends Product with Serializable

    Definition Classes
    ApplicableArbitraries
  9. class BooleanResultFragment extends FragmentsFragment with (AutoExamplesLowImplicits.this)#ExampleFragment

    This class is especially created when the first fragment of a specification is a boolean result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    This class is especially created when the first fragment of a specification is a boolean result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  10. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  11. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  12. trait ExampleFragment extends AnyRef

    Definition Classes
    AutoExamplesLowImplicits
  13. class FunctionForAll[T] extends AnyRef

    Definition Classes
    FunctionPropertyImplicits
  14. class FunctionForAll2[T1, T2] extends AnyRef

    Definition Classes
    FunctionPropertyImplicits
  15. class FunctionForAll3[T1, T2, T3] extends AnyRef

    Definition Classes
    FunctionPropertyImplicits
  16. class MatchResultFragment extends FragmentsFragment with (AutoExamplesLowImplicits.this)#ExampleFragment

    This class is especially created when the first fragment of a specification is a match result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    This class is especially created when the first fragment of a specification is a match result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  17. class ResultFragment extends FragmentsFragment with (AutoExamplesLowImplicits.this)#ExampleFragment

    This class is especially created when the first fragment of a specification is a Result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    This class is especially created when the first fragment of a specification is a Result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  18. class ResultLogicalCombinator extends AnyRef

    Definition Classes
    ResultLogicalCombinators
  19. class SetProperty extends AnyRef

    Definition Classes
    ScalaCheckMatchers
  20. class ToBooleanExample extends AnyRef

    Definition Classes
    AutoExamplesLowImplicits
  21. class ToBooleanExample2 extends (ScalaCheck.this)#ToBooleanExample

  22. class ToDataTableExample[T] extends AnyRef

    Definition Classes
    AutoExamples
  23. class ToMatchResultExample extends AnyRef

    this syntax allows to declare auto examples with { .

    this syntax allows to declare auto examples with { ... }.eg in mutable specifications

    Definition Classes
    AutoExamplesLowImplicits
  24. class ToMatchResultExample2 extends (ScalaCheck.this)#ToMatchResultExample

  25. class ToResultExample extends AnyRef

    Definition Classes
    AutoExamplesLowImplicits
  26. class ToResultExample2 extends (ScalaCheck.this)#ToResultExample

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit def aBooleanExample(expression: ⇒ Boolean): (ScalaCheck.this)#ToBooleanExample2

    Definition Classes
    ScalaCheck → AutoExamplesLowImplicits
  7. implicit def aDataTableExample[T](expression: ⇒ DecoratedResult[T]): (ScalaCheck.this)#ToDataTableExample[T]

    this syntax allows to declare auto examples with { .

    this syntax allows to declare auto examples with { ... }.eg in mutable specifications

    Definition Classes
    AutoExamples
  8. implicit def aMatchResultExample(expression: ⇒ MatchResult[_]): (ScalaCheck.this)#ToMatchResultExample2

    Definition Classes
    ScalaCheck → AutoExamplesLowImplicits
  9. implicit def aResultExample(expression: ⇒ Result): (ScalaCheck.this)#ToResultExample2

    Definition Classes
    ScalaCheck → AutoExamplesLowImplicits
  10. implicit def applicableArbitrary[T](a: Arbitrary[T]): (ScalaCheck.this)#ApplicableArbitrary[T]

    Definition Classes
    ApplicableArbitraries
  11. implicit def applicableArbitrary2[T1, T2](a: (Arbitrary[T1], Arbitrary[T2])): (ScalaCheck.this)#ApplicableArbitrary2[T1, T2]

    Definition Classes
    ApplicableArbitraries
  12. implicit def applicableArbitrary3[T1, T2, T3](a: (Arbitrary[T1], Arbitrary[T2], Arbitrary[T3])): (ScalaCheck.this)#ApplicableArbitrary3[T1, T2, T3]

    Definition Classes
    ApplicableArbitraries
  13. implicit def applicableArbitrary4[T1, T2, T3, T4](a: (Arbitrary[T1], Arbitrary[T2], Arbitrary[T3], Arbitrary[T4])): (ScalaCheck.this)#ApplicableArbitrary4[T1, T2, T3, T4]

    Definition Classes
    ApplicableArbitraries
  14. implicit def applicableArbitrary5[T1, T2, T3, T4, T5](a: (Arbitrary[T1], Arbitrary[T2], Arbitrary[T3], Arbitrary[T4], Arbitrary[T5])): (ScalaCheck.this)#ApplicableArbitrary5[T1, T2, T3, T4, T5]

    Definition Classes
    ApplicableArbitraries
  15. implicit def applicableArbitrary6[T1, T2, T3, T4, T5, T6](a: (Arbitrary[T1], Arbitrary[T2], Arbitrary[T3], Arbitrary[T4], Arbitrary[T5], Arbitrary[T6])): (ScalaCheck.this)#ApplicableArbitrary6[T1, T2, T3, T4, T5, T6]

    Definition Classes
    ApplicableArbitraries
  16. implicit def applicableArbitrary7[T1, T2, T3, T4, T5, T6, T7](a: (Arbitrary[T1], Arbitrary[T2], Arbitrary[T3], Arbitrary[T4], Arbitrary[T5], Arbitrary[T6], Arbitrary[T7])): (ScalaCheck.this)#ApplicableArbitrary7[T1, T2, T3, T4, T5, T6, T7]

    Definition Classes
    ApplicableArbitraries
  17. implicit def applicableArbitrary8[T1, T2, T3, T4, T5, T6, T7, T8](a: (Arbitrary[T1], Arbitrary[T2], Arbitrary[T3], Arbitrary[T4], Arbitrary[T5], Arbitrary[T6], Arbitrary[T7], Arbitrary[T8])): (ScalaCheck.this)#ApplicableArbitrary8[T1, T2, T3, T4, T5, T6, T7, T8]

    Definition Classes
    ApplicableArbitraries
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. implicit def booleanExample(expression: ⇒ Boolean): Example

    Definition Classes
    AutoExamplesLowImplicits
  20. implicit def booleanFragments(expression: ⇒ Boolean): Fragments

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  21. implicit def booleanFragmentsFragment(expression: ⇒ Boolean): (ScalaCheck.this)#BooleanResultFragment

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  22. implicit def booleanToProp(b: ⇒ Boolean): Prop

    Definition Classes
    ResultPropertyImplicits
  23. implicit def callByNameMatchResultToProp[T](m: ⇒ MatchResult[T]): Prop

    Definition Classes
    ResultPropertyImplicits
  24. implicit def canBeEqual[T](t: ⇒ T): (ScalaCheck.this)#CanBeEqualExpectation[T]

    A value can be tested against another with the === operator.

    A value can be tested against another with the === operator. It is equivalent to writing a must_== b

    Definition Classes
    CanBeEqual
  25. def check(prop: Prop)(implicit p: Parameters): Result

    execute a ScalaCheck property

    execute a ScalaCheck property

    Definition Classes
    ScalaCheckMatchers
  26. implicit def check1[T, R](result: (T) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a: Arbitrary[T], s: Shrink[T]): Prop

    Definition Classes
    ScalaCheckMatchers
  27. def check1NoShrink[T, R](result: (T) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a: Arbitrary[T]): Prop

    Definition Classes
    ScalaCheckMatchers
  28. implicit def check2[T1, T2, R](result: (T1, T2) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2]): Prop

    Definition Classes
    ScalaCheckMatchers
  29. def check2NoShrink[T1, T2, R](result: (T1, T2) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2]): Prop

    Definition Classes
    ScalaCheckMatchers
  30. implicit def check3[T1, T2, T3, R](result: (T1, T2, T3) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3]): Prop

    Definition Classes
    ScalaCheckMatchers
  31. def check3NoShrink[T1, T2, T3, R](result: (T1, T2, T3) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3]): Prop

    Definition Classes
    ScalaCheckMatchers
  32. implicit def check4[T1, T2, T3, T4, R](result: (T1, T2, T3, T4) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4]): Prop

    Definition Classes
    ScalaCheckMatchers
  33. def check4NoShrink[T1, T2, T3, T4, R](result: (T1, T2, T3, T4) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4]): Prop

    Definition Classes
    ScalaCheckMatchers
  34. implicit def check5[T1, T2, T3, T4, T5, R](result: (T1, T2, T3, T4, T5) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5]): Prop

    Definition Classes
    ScalaCheckMatchers
  35. def check5NoShrink[T1, T2, T3, T4, T5, R](result: (T1, T2, T3, T4, T5) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5]): Prop

    Definition Classes
    ScalaCheckMatchers
  36. implicit def check6[T1, T2, T3, T4, T5, T6, R](result: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6]): Prop

    Definition Classes
    ScalaCheckMatchers
  37. def check6NoShrink[T1, T2, T3, T4, T5, T6, R](result: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6]): Prop

    Definition Classes
    ScalaCheckMatchers
  38. implicit def check7[T1, T2, T3, T4, T5, T6, T7, R](result: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6], a7: Arbitrary[T7], s7: Shrink[T7]): Prop

    Definition Classes
    ScalaCheckMatchers
  39. def check7NoShrink[T1, T2, T3, T4, T5, T6, T7, R](result: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7]): Prop

    Definition Classes
    ScalaCheckMatchers
  40. implicit def check8[T1, T2, T3, T4, T5, T6, T7, T8, R](result: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6], a7: Arbitrary[T7], s7: Shrink[T7], a8: Arbitrary[T8], s8: Shrink[T8]): Prop

    Definition Classes
    ScalaCheckMatchers
  41. def check8NoShrink[T1, T2, T3, T4, T5, T6, T7, T8, R](result: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8]): Prop

    Definition Classes
    ScalaCheckMatchers
  42. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overriden to throw exceptions when checking the match result

    this method can be overriden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    Expectations
  43. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overriden to throw exceptions when checking the match result

    this method can be overriden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    Expectations
  44. implicit def checkPartial[T, S](f: PartialFunction[T, S])(implicit toProp: (S) ⇒ Prop, a: Arbitrary[T], s: Shrink[T]): Prop

    Definition Classes
    ScalaCheckMatchers
  45. implicit def checkPartialNoShrink[T, S](f: PartialFunction[T, S])(implicit toProp: (S) ⇒ Prop, a: Arbitrary[T]): Prop

    Definition Classes
    ScalaCheckMatchers
  46. implicit def checkProp(prop: Prop)(implicit p: Parameters): Result

    execute a ScalaCheck property

    execute a ScalaCheck property

    Definition Classes
    ScalaCheckMatchers
  47. def checkProp(params: Params, prop: ⇒ Prop, callback: TestCallback): Result

    Definition Classes
    ScalaCheckFunctions
  48. def checkResultFailure(r: Result): Result

    this method can be overriden to throw exceptions when checking the result

    this method can be overriden to throw exceptions when checking the result

    Attributes
    protected
    Definition Classes
    Expectations
  49. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  50. implicit def combineBoolean(b: ⇒ Boolean): (ScalaCheck.this)#ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  51. implicit def combineProp(prop: ⇒ Prop)(implicit p: Parameters): (ScalaCheck.this)#ResultLogicalCombinator

    allow to combine properties as if they were results

    allow to combine properties as if they were results

    Definition Classes
    ScalaCheckMatchers
  52. implicit def combineResult(r: ⇒ Result): (ScalaCheck.this)#ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  53. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    Expectations
  54. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    Expectations
  55. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    returns

    an Expectable with a description

    Definition Classes
    Expectations
  56. def createExpectable[T](t: ⇒ T): Expectable[T]

    returns

    an Expectable

    Definition Classes
    Expectations
  57. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    returns

    an Expectable with a function to show the element T

    Definition Classes
    Expectations
  58. implicit def dataTableExample[T](result: ⇒ DecoratedResult[T]): Example

    Definition Classes
    AutoExamples
  59. implicit def dataTableFragments[T](result: ⇒ DecoratedResult[T]): Fragments

    specific implicits for datatables

    specific implicits for datatables

    Definition Classes
    AutoExamples
  60. implicit def defaultParameters: Parameters

    default parameters.

    default parameters. Uses ScalaCheck default values and doesn't print anything to the console

    Definition Classes
    ScalaCheckParameters
  61. implicit def defaultPrettyParams: Params

    default parameters to display pretty messages

    default parameters to display pretty messages

    Definition Classes
    ScalaCheckParameters
  62. def defaultValues: Map[Symbol, Int]

    Default values for ScalaCheck parameters

    Default values for ScalaCheck parameters

    Definition Classes
    ScalaCheckParameters
  63. implicit def describe[T](t: ⇒ T): (ScalaCheck.this)#Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    Expectations
  64. object display extends Parameters

    factory object to create parameters with verbose = true

  65. def eg(expression: ⇒ Result): Fragment

    explicit call The result type is different from the eg method to create examples in order to avoid an overloading error

    explicit call The result type is different from the eg method to create examples in order to avoid an overloading error

    Definition Classes
    ScalaCheck → AutoExamplesLowImplicits
  66. def eg(expression: ⇒ Boolean): Fragments

    explicit call.

    explicit call. The result type is different from the eg method to create examples in order to avoid an overloading error

    Definition Classes
    ScalaCheck → AutoExamplesLowImplicits
  67. def eg(expression: ⇒ MatchResult[_]): Example

    explicit call

    explicit call

    Definition Classes
    ScalaCheck → AutoExamplesLowImplicits
  68. def eg[T](expression: ⇒ DecoratedResult[T])(implicit p: (ScalaCheck.this)#ImplicitParam): Example

    explicit call

    explicit call

    Definition Classes
    AutoExamples
  69. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  72. def flush(): Unit

    flush the content if necessary

    flush the content if necessary

    Definition Classes
    ConsoleOutput → Output
  73. implicit def functionToForAll[T](f: (T) ⇒ Boolean)(implicit a: Arbitrary[T], s: Shrink[T]): (ScalaCheck.this)#FunctionForAll[T]

    Definition Classes
    FunctionPropertyImplicits
  74. implicit def functionToProp[T](f: (T) ⇒ Boolean)(implicit a: Arbitrary[T], s: Shrink[T]): Prop

    transform a function returning a boolean to a property by appending forAll

    transform a function returning a boolean to a property by appending forAll

    Definition Classes
    FunctionPropertyImplicits
  75. implicit def functionToProp2[T1, T2](f: (T1, T2) ⇒ Boolean): (ScalaCheck.this)#FunctionForAll2[T1, T2]

    transform a function returning a boolean to a property by appending forAll

    transform a function returning a boolean to a property by appending forAll

    Definition Classes
    FunctionPropertyImplicits
  76. implicit def functionToProp3[T1, T2, T3](f: (T1, T2, T3) ⇒ Boolean): (ScalaCheck.this)#FunctionForAll3[T1, T2, T3]

    transform a function returning a boolean to a property by appending forAll

    transform a function returning a boolean to a property by appending forAll

    Definition Classes
    FunctionPropertyImplicits
  77. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  80. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    this method can be overriden to intercept a MatchResult and change its message before it is thrown

    this method can be overriden to intercept a MatchResult and change its message before it is thrown

    Attributes
    protected
    Definition Classes
    Expectations
  81. implicit def matchExample(expression: ⇒ MatchResult[_]): Example

    Definition Classes
    AutoExamplesLowImplicits
  82. implicit def matchFragments(expression: ⇒ MatchResult[_]): Fragments

    this implicit def is necessary when the expression is at the start of the spec The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    this implicit def is necessary when the expression is at the start of the spec The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  83. implicit def matchFragmentsFragment(expression: ⇒ MatchResult[_]): (ScalaCheck.this)#MatchResultFragment

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  84. implicit def matchResultToProp[T](m: MatchResult[T]): Prop

    Definition Classes
    ResultPropertyImplicits
  85. val maxDiscarded: Symbol

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Definition Classes
    ScalaCheckParameters
  86. val maxSize: Symbol

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Definition Classes
    ScalaCheckParameters
  87. val minSize: Symbol

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Definition Classes
    ScalaCheckParameters
  88. val minTestsOk: Symbol

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Definition Classes
    ScalaCheckParameters
  89. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  92. def print(m: Any): Unit

    print an object with no newline

    print an object with no newline

    Definition Classes
    Output
  93. def printStackTrace(t: Throwable): Unit

    print stacktraces

    print stacktraces

    Definition Classes
    Output
  94. def printf(s: String, args: Any*): Unit

    print several objects according to a format string (see Console.

    print several objects according to a format string (see Console.printf)

    Definition Classes
    ConsoleOutput → Output
  95. def println(m: Any): Unit

    print an object with a newline

    print an object with a newline

    Definition Classes
    Output
  96. def prop[T, S](f: PartialFunction[T, S])(implicit toProp: (S) ⇒ Prop, a: Arbitrary[T], s: Shrink[T]): Prop

    execute a PartialFunction as a ScalaCheck property

    execute a PartialFunction as a ScalaCheck property

    Definition Classes
    ScalaCheckMatchers
  97. def prop[T1, T2, T3, T4, T5, T6, T7, T8, R](result: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6], a7: Arbitrary[T7], s7: Shrink[T7], a8: Arbitrary[T8], s8: Shrink[T8]): Prop

    Definition Classes
    ScalaCheckMatchers
  98. def prop[T1, T2, T3, T4, T5, T6, T7, R](result: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6], a7: Arbitrary[T7], s7: Shrink[T7]): Prop

    Definition Classes
    ScalaCheckMatchers
  99. def prop[T1, T2, T3, T4, T5, T6, R](result: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6]): Prop

    Definition Classes
    ScalaCheckMatchers
  100. def prop[T1, T2, T3, T4, T5, R](result: (T1, T2, T3, T4, T5) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5]): Prop

    Definition Classes
    ScalaCheckMatchers
  101. def prop[T1, T2, T3, T4, R](result: (T1, T2, T3, T4) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4]): Prop

    Definition Classes
    ScalaCheckMatchers
  102. def prop[T1, T2, T3, R](result: (T1, T2, T3) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3]): Prop

    Definition Classes
    ScalaCheckMatchers
  103. def prop[T1, T2, R](result: (T1, T2) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2]): Prop

    Definition Classes
    ScalaCheckMatchers
  104. def prop[T, R](result: (T) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a: Arbitrary[T], s: Shrink[T]): Prop

    transform a Function returning a MatchResult (or anything which can be converted to a Prop) as a ScalaCheck property

    transform a Function returning a MatchResult (or anything which can be converted to a Prop) as a ScalaCheck property

    Definition Classes
    ScalaCheckMatchers
  105. implicit def propAsResult(implicit p: Parameters): AsResult[Prop]

    implicit typeclass instance to create examples from Props

    implicit typeclass instance to create examples from Props

    Definition Classes
    ScalaCheckMatchers
  106. implicit def propExample(expression: ⇒ Prop)(implicit p: Parameters): Example

  107. implicit def propFragments(expression: ⇒ Prop)(implicit p: Parameters): Fragments

  108. implicit def propFragmentsFragments(expression: ⇒ Prop): FragmentsFragment

    this implicit def is necessary when the expression is at the start of the spec

  109. def propNoShrink[T, S](f: PartialFunction[T, S])(implicit toProp: (S) ⇒ Prop, a: Arbitrary[T]): Prop

    Definition Classes
    ScalaCheckMatchers
  110. def propNoShrink[T1, T2, T3, T4, T5, T6, T7, T8, R](result: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7], a8: Arbitrary[T8]): Prop

    Definition Classes
    ScalaCheckMatchers
  111. def propNoShrink[T1, T2, T3, T4, T5, T6, T7, R](result: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6], a7: Arbitrary[T7]): Prop

    Definition Classes
    ScalaCheckMatchers
  112. def propNoShrink[T1, T2, T3, T4, T5, T6, R](result: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5], a6: Arbitrary[T6]): Prop

    Definition Classes
    ScalaCheckMatchers
  113. def propNoShrink[T1, T2, T3, T4, T5, R](result: (T1, T2, T3, T4, T5) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4], a5: Arbitrary[T5]): Prop

    Definition Classes
    ScalaCheckMatchers
  114. def propNoShrink[T1, T2, T3, T4, R](result: (T1, T2, T3, T4) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3], a4: Arbitrary[T4]): Prop

    Definition Classes
    ScalaCheckMatchers
  115. def propNoShrink[T1, T2, T3, R](result: (T1, T2, T3) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2], a3: Arbitrary[T3]): Prop

    Definition Classes
    ScalaCheckMatchers
  116. def propNoShrink[T1, T2, R](result: (T1, T2) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], a2: Arbitrary[T2]): Prop

    Definition Classes
    ScalaCheckMatchers
  117. def propNoShrink[T, R](result: (T) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a: Arbitrary[T]): Prop

    Definition Classes
    ScalaCheckMatchers
  118. implicit def propToProp(p: ⇒ Prop): Prop

    Definition Classes
    ResultPropertyImplicits
  119. implicit def resultExample(expression: ⇒ Result): Example

    Definition Classes
    AutoExamplesLowImplicits
  120. implicit def resultFragments(result: ⇒ Result): Fragments

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  121. def resultFragmentsFragment(expression: ⇒ Result): (ScalaCheck.this)#ResultFragment

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  122. implicit def resultProp(r: ⇒ Result): Prop

    Definition Classes
    ResultPropertyImplicits
  123. object set extends Parameters

    factory object to create parameters with verbose = false

  124. implicit def setProperty(p: Prop): (ScalaCheck.this)#SetProperty

    set specific execution parameters on a Property

    set specific execution parameters on a Property

    Definition Classes
    ScalaCheckMatchers
  125. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  126. implicit def toResult(b: Boolean): Result

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    Definition Classes
    Results
  127. def toString(): String

    Definition Classes
    AnyRef → Any
  128. implicit def unitToProp(u: ⇒ Unit): Prop

    Definition Classes
    ResultPropertyImplicits
  129. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  132. val workers: Symbol

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Values which can be used as Symbol aliases to specify ScalaCheck parameters
    The naming is a bit different, in order to keep short names for frequent use cases - minTestsOk == minSuccessfulTests - maxDiscarded == maxDiscardedTests - minSize and maxSize keep their name

    Definition Classes
    ScalaCheckParameters

Deprecated Value Members

  1. def check[T, S](f: PartialFunction[T, S])(implicit toProp: (S) ⇒ Prop, a: Arbitrary[T], s: Shrink[T]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  2. def check[T1, T2, T3, T4, T5, T6, T7, T8, R](result: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6], a7: Arbitrary[T7], s7: Shrink[T7], a8: Arbitrary[T8], s8: Shrink[T8]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  3. def check[T1, T2, T3, T4, T5, T6, T7, R](result: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6], a7: Arbitrary[T7], s7: Shrink[T7]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  4. def check[T1, T2, T3, T4, T5, T6, R](result: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5], a6: Arbitrary[T6], s6: Shrink[T6]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  5. def check[T1, T2, T3, T4, T5, R](result: (T1, T2, T3, T4, T5) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4], a5: Arbitrary[T5], s5: Shrink[T5]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  6. def check[T1, T2, T3, T4, R](result: (T1, T2, T3, T4) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3], a4: Arbitrary[T4], s4: Shrink[T4]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  7. def check[T1, T2, T3, R](result: (T1, T2, T3) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2], a3: Arbitrary[T3], s3: Shrink[T3]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead

  8. def check[T1, T2, R](result: (T1, T2) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a1: Arbitrary[T1], s1: Shrink[T1], a2: Arbitrary[T2], s2: Shrink[T2]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use forAll instead

  9. def check[T, R](result: (T) ⇒ R)(implicit toProp: (⇒ R) ⇒ Prop, a: Arbitrary[T], s: Shrink[T]): Prop

    Definition Classes
    ScalaCheckMatchers
    Deprecated

    use prop instead. The name "check" is misleading because it doesn't actually check anything but merely builds a Prop

Inherited from AutoExamples

Inherited from AutoExamplesLowImplicits

Inherited from ScalaCheckMatchers

Inherited from Expectations

Inherited from CanBeEqual

Inherited from ApplicableArbitraries

Inherited from ResultLogicalCombinators

Inherited from Results

Inherited from ResultPropertyImplicits

Inherited from FunctionPropertyImplicits

Inherited from ScalaCheckParameters

Inherited from ScalaCheckFunctions

Inherited from ConsoleOutput

Inherited from Output

Inherited from AnyRef

Inherited from Any

Ungrouped