org
.
specs2
.
scalacheck
ScalaCheckFunction1
case class
ScalaCheckFunction1
[
T
,
R
]
(
execute: (
T
) ⇒
R
,
arbitrary:
Arbitrary
[
T
]
,
shrink:
Option
[
Shrink
[
T
]]
,
collector:
Option
[(
T
) ⇒
Any
]
,
pretty: (
T
) ⇒
Pretty
,
prettyFreqMap: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
,
asResult:
AsResult
[
R
]
,
context:
Option
[
Context
]
,
parameters:
Parameters
)
extends
ScalaCheckFunction
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ScalaCheckFunction
,
ScalaCheckProperty
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ScalaCheckFunction1
Serializable
Serializable
Product
Equals
ScalaCheckFunction
ScalaCheckProperty
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ScalaCheckFunction1
(
execute: (
T
) ⇒
R
,
arbitrary:
Arbitrary
[
T
]
,
shrink:
Option
[
Shrink
[
T
]]
,
collector:
Option
[(
T
) ⇒
Any
]
,
pretty: (
T
) ⇒
Pretty
,
prettyFreqMap: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
,
asResult:
AsResult
[
R
]
,
context:
Option
[
Context
]
,
parameters:
Parameters
)
Type Members
type
SelfType
=
ScalaCheckFunction1
[
T
,
R
]
Definition Classes
ScalaCheckFunction1
→
ScalaCheckProperty
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
after
(
action: ⇒
Any
)
:
SelfType
Definition Classes
ScalaCheckFunction
val
arbitrary
:
Arbitrary
[
T
]
def
around
(
action: (
Result
) ⇒
Result
)
:
SelfType
Definition Classes
ScalaCheckFunction
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
asResult
:
AsResult
[
R
]
def
before
(
action: ⇒
Any
)
:
SelfType
Definition Classes
ScalaCheckFunction
def
beforeAfter
(
beforeAction: ⇒
Any
,
afterAction: ⇒
Any
)
:
SelfType
Definition Classes
ScalaCheckFunction
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collect
:
SelfType
def
collectArg
(
f: (
T
) ⇒
Any
)
:
SelfType
val
collector
:
Option
[(
T
) ⇒
Any
]
val
context
:
Option
[
Context
]
Definition Classes
ScalaCheckFunction1
→
ScalaCheckFunction
def
display
(
minTestsOk:
Int
=
parameters.minTestsOk
,
minSize:
Int
=
parameters.minSize
,
maxDiscardRatio:
Float
=
parameters.maxDiscardRatio
,
maxSize:
Int
=
parameters.maxSize
,
workers:
Int
=
parameters.workers
,
rng:
Random
=
parameters.rng
,
callback:
TestCallback
=
parameters.testCallback
,
loader:
Option
[
ClassLoader
] =
parameters.loader
)
:
SelfType
Definition Classes
ScalaCheckProperty
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
execute
: (
T
) ⇒
R
def
executeInContext
[
R
]
(
result: ⇒
R
)
(
implicit
arg0:
AsResult
[
R
]
)
:
Prop
Attributes
protected
Definition Classes
ScalaCheckFunction
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
noShrink
:
SelfType
Definition Classes
ScalaCheckFunction1
→
ScalaCheckFunction
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
parameters
:
Parameters
Definition Classes
ScalaCheckFunction1
→
ScalaCheckProperty
def
prepare
(
action: (
T
) ⇒
T
)
:
SelfType
def
pretty
(
pretty: (
T
) ⇒
String
)
:
SelfType
val
pretty
: (
T
) ⇒
Pretty
def
prettyFreqMap
(
f: (
FreqMap
[
Set
[
Any
]]) ⇒
String
)
:
SelfType
Definition Classes
ScalaCheckProperty
val
prettyFreqMap
: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
Definition Classes
ScalaCheckFunction1
→
ScalaCheckProperty
lazy val
prop
:
Prop
Definition Classes
ScalaCheckFunction1
→
ScalaCheckProperty
lazy val
propFunction
: (
T
) ⇒
Prop
def
set
(
minTestsOk:
Int
=
parameters.minTestsOk
,
minSize:
Int
=
parameters.minSize
,
maxDiscardRatio:
Float
=
parameters.maxDiscardRatio
,
maxSize:
Int
=
parameters.maxSize
,
workers:
Int
=
parameters.workers
,
rng:
Random
=
parameters.rng
,
callback:
TestCallback
=
parameters.testCallback
,
loader:
Option
[
ClassLoader
] =
parameters.loader
)
:
SelfType
Definition Classes
ScalaCheckProperty
def
setArbitrary
(
arbitrary:
Arbitrary
[
T
]
)
:
SelfType
def
setContext
(
context:
Context
)
:
SelfType
Definition Classes
ScalaCheckFunction1
→
ScalaCheckFunction
def
setGen
(
gen:
Gen
[
T
]
)
:
SelfType
def
setParameters
(
ps:
Parameters
)
:
SelfType
Definition Classes
ScalaCheckFunction1
→
ScalaCheckProperty
def
setPretty
(
pretty: (
T
) ⇒
Pretty
)
:
SelfType
def
setPrettyFreqMap
(
f: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
)
:
SelfType
Definition Classes
ScalaCheckFunction1
→
ScalaCheckProperty
def
setShrink
(
shrink:
Shrink
[
T
]
)
:
SelfType
def
setVerbosity
(
v:
Int
)
:
SelfType
Definition Classes
ScalaCheckProperty
val
shrink
:
Option
[
Shrink
[
T
]]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
verbose
:
SelfType
Definition Classes
ScalaCheckProperty
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
ScalaCheckFunction
Inherited from
ScalaCheckProperty
Inherited from
AnyRef
Inherited from
Any
Ungrouped