Packages

package state

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait CR extends AnyRef
  2. final case class CRId(render: String) extends AnyVal with Product with Serializable
  3. trait KV extends AnyRef
  4. case class Name(value: String) extends Product with Serializable
  5. case class Pid(value: Int) extends Product with Serializable
  6. case class Register(name: Name, value: Var[Pid]) extends Product with Serializable
  7. case class Spawn() extends Product with Serializable
  8. case class State(pids: Set[Var[Pid]], regs: Map[Name, Var[Pid]]) extends Product with Serializable
  9. case class Turnstile(state: AtomicReference[TurnstileState]) extends Product with Serializable
  10. sealed trait TurnstileState extends AnyRef
  11. case class Unregister(name: Name) extends Product with Serializable
  12. case class World(procTable: Map[Name, Pid], pid: AtomicReference[Pid]) extends Product with Serializable

Value Members

  1. object CR
  2. object CRTest extends Properties
  3. object KV
  4. object KVTest extends Properties

    This example has a companion tutorial.

    This example has a companion tutorial.

    https://github.com/hedgehogqa/scala-hedgehog/blob/master/doc/state-tutorial.md

  5. object Register extends Serializable
  6. object RegistryTest extends Properties
  7. object Spawn extends Serializable
  8. object State extends Serializable
  9. object TestUtil
  10. object Turnstile extends Serializable
  11. object TurnstileState
  12. object TurnstileTest extends Properties

    An effectful turnstile

    An effectful turnstile

    Coin Push +-------------+ +-----+ | | +-----+ | | | v v | | +-+---+--+ +--+-----+-+ | | | | | | | | | Locked | | Unlocked | | | | | | | | | +-+---+--+ +--+-----+-+ | | | | | +-----+ | | +-----+ +-------------+ Coin Push

    - States: Locked/Unlocked (represented by the boxes) - Transitions: Coin/Push (represented by the arrows)

    https://teh.id.au/posts/2017/07/15/state-machine-testing/index.html

  13. object Unregister extends Serializable
  14. object World extends Serializable

Ungrouped