Class/Object

com.fortysevendeg.lambdatest

LambdaState

Related Docs: object LambdaState | package lambdatest

Permalink

case class LambdaState extends Product with Serializable

The immutable state object that holds all testing state. Operations create new immutable state object. The methods here should not be used in user test code (that extends LambdaTest). These methods can be called from new LambdaAct code.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LambdaState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 changeOptions(change: (LambdaOptions) ⇒ LambdaOptions): LambdaState

    Permalink

    Changes the options of the state and its associated reporter.

    Changes the options of the state and its associated reporter.

    change

    a function to change the options.

    returns

    the state with the options changed.

  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  8. def fail(info: String, pos: String): LambdaState

    Permalink

    Called when an assertion fails.

    Called when an assertion fails.

    info

    a message for this assertion.

    pos

    the source position of the assertion.

    returns

    the new state.

  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  12. def label(name: String = "", body: ⇒ LambdaAct, parallel: Boolean, pos: String): LambdaState

    Permalink

    Used to implement a labeled block.

    Used to implement a labeled block.

    name

    the name of the labeled block.

    body

    the actions in the labeled block.

    parallel

    true, if the top level actions are to be run in parallel.

    pos

    the source position of the labeled block.

    returns

    the new state.

  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. val options: LambdaOptions

    Permalink
  17. val reporter: LambdaReporter

    Permalink

    the reporter used to handle output when this state changes.

  18. def run(name: String, body: ⇒ LambdaAct, parallel: Boolean): Unit

    Permalink

    This method is used to run test.

    This method is used to run test.

    name

    the name of the tests.

    body

    a LambdaAct containing all the test actions to be run.

    parallel

    true, if the top level actions in body are to be run in parallel.

  19. def success(info: String, pos: String): LambdaState

    Permalink

    Called when an assertion succeeds.

    Called when an assertion succeeds.

    info

    a message for this assertion.

    pos

    the source position of the assertion.

    returns

    the new state.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def test(name: String, body: ⇒ LambdaAct, parallel: Boolean, pos: String): LambdaState

    Permalink

    Used to implement a test.

    Used to implement a test.

    name

    the name of the test.

    body

    the actions in the test.

    parallel

    true, if the top level actions are to be run in parallel.

    pos

    the source position of the test.

    returns

    the new state.

  22. def unExpected(ex: Throwable, pos: String): LambdaState

    Permalink

    Called when an unexpected exception is encounted.

    Called when an unexpected exception is encounted.

    ex

    the exception.

    pos

    the position where the exception was detected. This is used to prune the stack trace.

    returns

    the new state.

  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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped