Trait

org.scalacheck.Commands

SetCommand

Related Doc: package Commands

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

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

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

    Permalink
    Definition Classes
    Command

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    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]

    Permalink

    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

    Permalink

    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]

    Permalink

    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

    Permalink

    Used internally.

    Used internally.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Command

Inherited from AnyRef

Inherited from Any

Ungrouped