org.scalacheck.Commands

SetCommand

trait SetCommand extends Command

A command that binds its result for later use

Linear Supertypes
Command, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SetCommand
  2. Command
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def nextState(s: State, b: Binding): State

  2. abstract def run(s: State): Any

    Definition Classes
    Command

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  13. final def nextState(s: State): State

    Definition Classes
    SetCommandCommand
  14. final def notify(): Unit

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

    Definition Classes
    AnyRef
  16. def postCondition: (State, State, Any) ⇒ Prop

    Returns all postconditions merged into a single function

    Returns all postconditions merged into a single function

    Definition Classes
    Command
  17. val postConditions: ListBuffer[(State, State, Any) ⇒ Prop]

    A postcondition is a function that takes three parameters, s0, s1 and r.

    A postcondition is a function that takes three parameters, s0, s1 and r. s0 is the abstract state before the command was run, s1 is the abstract state after the command was run, and r is the result from the command's run method. The postcondition function should return a Boolean (or a Prop instance) that says if the condition holds or not. You can add several conditions to the postConditions list.

    Definition Classes
    Command
  18. def preCondition: (State) ⇒ Boolean

    Returns all preconditions merged into a single function

    Returns all preconditions merged into a single function

    Definition Classes
    Command
  19. val preConditions: ListBuffer[(State) ⇒ Boolean]

    A precondition is a function that takes the current abstract state as parameter and returns a boolean that says if the precondition is fulfilled or not.

    A precondition is a function that takes the current abstract state as parameter and returns a boolean that says if the precondition is fulfilled or not. You can add several conditions to the precondition list

    Definition Classes
    Command
  20. final def run_(s: State): Any

    Used internally.

    Used internally.

    Attributes
    protected[org.scalacheck.Commands]
    Definition Classes
    SetCommandCommand
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def postCondition_=(f: (State, State, Any) ⇒ Prop): ListBuffer[(State, State, Any) ⇒ Prop]

    Definition Classes
    Command
    Annotations
    @deprecated
    Deprecated

    (Since version 1.6) Use 'postConditions += ...' instead.

  2. def postCondition_=(f: (State, Any) ⇒ Prop): ListBuffer[(State, State, Any) ⇒ Prop]

    Definition Classes
    Command
    Annotations
    @deprecated
    Deprecated

    (Since version 1.6) Use 'postConditions += ...' instead.

  3. def preCondition_=(f: (State) ⇒ Boolean): ListBuffer[(State) ⇒ Boolean]

    Definition Classes
    Command
    Annotations
    @deprecated
    Deprecated

    (Since version 1.6) Use 'preConditions += ...' instead.

Inherited from Command

Inherited from AnyRef

Inherited from Any

Ungrouped