ua.gradsoft.managedfixture

FixtureStateDSL

trait FixtureStateDSL [T <: FixtureStateTypes] extends AnyRef

DLS for fixture state: sentence in this DSL describe: how some test is related to fixture, i.e. it expect that fixture must be in some concerete state at the end leave state unchanged after test execution, or may be execution invalidate current fixture state and so on.

Grammar:

TestUsageDescription:  Mark ([StartDescription] |
                             [FinishDescription] |
                             [ChangeDescription] |
                             [ExecutionDescription] )*

StartDescription: start(StartStateDescription) [aspects (all | '(' {ID}* ')' | none) ]
FinishDescription: finish(FinishStateDescription)
CnangesDescription: change [nothing| any]

StartStateDescription: state (any | undefined | {ID} )
                      |
                       states({ID}[,{ID}]*)

FinishStateDescription: state (undefined | {ID} )

ExecutionDescription: execution (sequential | parallel)

Examples of such expession

  start state(any)
  start state(any) change(noting)
  start state(any) finish state(undefined)
  start state(S3) finish state(S4)
  start states(S1,S2,S3) aspects (1,2,3) change(nothing)
  start state(S3) change(nothing) execution(parallel)
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FixtureStateDSL
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait DSLExpression extends AnyRef

  2. class FixtureStateVerb extends DSLExpression with FixtureStateVerb_Start

  3. class FixtureStateVerbAspects extends DSLExpression with FixtureStateVerb_Finish with FixtureStateVerb_Change

  4. class FixtureStateVerbChangeNothing extends DSLExpression

  5. class FixtureStateVerbChangeNothingParallel extends DSLExpression

  6. class FixtureStateVerbExecution extends DSLExpression

  7. class FixtureStateVerbFinishState extends DSLExpression

  8. class FixtureStateVerbFinishStateUndefined extends DSLExpression

  9. class FixtureStateVerbStart extends DSLExpression

  10. class FixtureStateVerbStartState extends DSLExpression with FixtureStateVerb_Aspects with FixtureStateVerb_Finish with FixtureStateVerb_Change

  11. class FixtureStateVerbStartState0 extends AnyRef

  12. class FixtureStateVerbStartStateAny extends DSLExpression with FixtureStateVerb_Aspects with FixtureStateVerb_Finish with FixtureStateVerb_Change

  13. class FixtureStateVerbStartStateUndefined extends DSLExpression with FixtureStateVerb_Finish with FixtureStateVerb_Change

  14. class FixtureStateVerbStartStates extends DSLExpression with FixtureStateVerb_Aspects with FixtureStateVerb_Finish with FixtureStateVerb_Change

  15. trait FixtureStateVerb_Aspects extends DSLExpression

  16. trait FixtureStateVerb_Change extends DSLExpression

  17. trait FixtureStateVerb_ExecutionSpec extends AnyRef

    Attributes
    sealed
  18. trait FixtureStateVerb_Finish extends DSLExpression

  19. case class FixtureStateVerb_STATE (s: _165.startStates.Value forSome { val _165: T }) extends Product with Serializable

  20. case class FixtureStateVerb_STATES (args: Seq[_170.startStates.Value forSome { val _170: T }]) extends Product with Serializable

  21. trait FixtureStateVerb_Start extends DSLExpression

Abstract Value Members

  1. def fixtureStateTypes : T

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. object FixtureStateVerb_ANY extends Product with Serializable

  7. object FixtureStateVerb_NOTHING extends Product with Serializable

  8. object FixtureStateVerb_PARALLEL extends FixtureStateVerb_ExecutionSpec with Product with Serializable

  9. object FixtureStateVerb_SEQUENTIAL extends FixtureStateVerb_ExecutionSpec with Product with Serializable

  10. object FixtureStateVerb_STATE0 extends Product with Serializable

  11. object FixtureStateVerb_STATE_ANY extends Product with Serializable

  12. object FixtureStateVerb_STATE_UNDEFINED extends Product with Serializable

  13. object FixtureStateVerb_UNDEFINED extends Product with Serializable

  14. val any : FixtureStateDSL.this.FixtureStateVerb_ANY.type

  15. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  16. def clone (): AnyRef

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def fixtureUsageDSLAction [A <: DSLExpression] (dsl: A): A

    optional action which can be used by client, overriding this method to perform some custom steps after receiving new value in this DSL.

    optional action which can be used by client, overriding this method to perform some custom steps after receiving new value in this DSL. By default- do nothing and return given value.

    Attributes
    protected
  21. def fixtureUsageDSLValueAction (value: ⇒ TestFixtureStateUsageDescription[T]): Unit

    called when we receive new value.

    called when we receive new value. (by default - nothing).

    Attributes
    protected
  22. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  23. def hashCode (): Int

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  26. def nothing : FixtureStateDSL.this.FixtureStateVerb_NOTHING.type

  27. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def parallel : FixtureStateDSL.this.FixtureStateVerb_PARALLEL.type

  30. def sequential : FixtureStateDSL.this.FixtureStateVerb_SEQUENTIAL.type

  31. def start : FixtureStateVerbStart

  32. def state (x: FixtureStateDSL.this.FixtureStateVerb_UNDEFINED.type): FixtureStateDSL.this.FixtureStateVerb_STATE_UNDEFINED.type

  33. def state (x: FixtureStateDSL.this.FixtureStateVerb_ANY.type): FixtureStateDSL.this.FixtureStateVerb_STATE_ANY.type

  34. def state (x: _176.startStates.Value forSome { val _176: T }): FixtureStateVerb_STATE

  35. val state : FixtureStateDSL.this.FixtureStateVerb_STATE0.type

  36. def states (x: _179.startStates.Value forSome { val _179: T }*): FixtureStateVerb_STATES

  37. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  38. def toString (): String

    Definition Classes
    AnyRef → Any
  39. val undefined : FixtureStateDSL.this.FixtureStateVerb_UNDEFINED.type

  40. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any