Trait/Object

org.specs2.specification

Forms

Related Docs: object Forms | package specification

Permalink

trait Forms extends FormsBuilder with FormFragmentsFactory with DecoratedProperties with FormS2StringContext with FormDsl

Allow a Form to be inserted among Fragments as a Text Fragment Allow a Form to be used as an example body and return a Result automatically

Linear Supertypes
FormDsl, SpecStructureDsl, SpecStructureDslLowImplicits, FragmentsDsl, AcceptanceDsl1, ActionDsl, TagDsl, ReferenceCreation, SpecStructureDsl1, FormS2StringContext, S2StringContext, S2StringContext1, S2StringContextCreation, FragmentsFactory, DecoratedProperties, FormFragmentsFactory, FormsBuilder, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Forms
  2. FormDsl
  3. SpecStructureDsl
  4. SpecStructureDslLowImplicits
  5. FragmentsDsl
  6. AcceptanceDsl1
  7. ActionDsl
  8. TagDsl
  9. ReferenceCreation
  10. SpecStructureDsl1
  11. FormS2StringContext
  12. S2StringContext
  13. S2StringContext1
  14. S2StringContextCreation
  15. FragmentsFactory
  16. DecoratedProperties
  17. FormFragmentsFactory
  18. FormsBuilder
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Decorated[T <: DecoratedProperty[T]] extends AnyRef

    Permalink
    Definition Classes
    DecoratedProperties
  2. implicit class HiddenFragment extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  3. implicit class MutedFragment extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  4. implicit class appendFormToArguments extends appendToArguments

    Permalink
    Definition Classes
    FormDsl
  5. implicit class appendFormToFragment extends appendToFragment

    Permalink
    Definition Classes
    FormDsl
  6. implicit class appendFormToFragments extends appendToFragments

    Permalink
    Definition Classes
    FormDsl
  7. implicit class appendFormToSpecHeader extends appendSpecStructureToSpecHeader

    Permalink
    Definition Classes
    FormDsl
  8. implicit class appendFormToSpecStructure extends appendSpecStructureToSpecStructure

    Permalink
    Definition Classes
    FormDsl
  9. implicit class appendFormToString extends appendToString

    Permalink
    Definition Classes
    FormDsl
  10. implicit class appendSpecStructureToFragment extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  11. implicit class appendSpecStructureToFragments extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDslLowImplicits
  12. implicit class appendSpecStructureToSpecHeader extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  13. implicit class appendSpecStructureToSpecStructure extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  14. implicit class appendSpecStructureToString extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  15. implicit class appendToArguments extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl1
  16. implicit class appendToFragment extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  17. implicit class appendToFragments extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  18. implicit class appendToString extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  19. implicit class specificationInStringContext extends AnyRef

    Permalink
    Definition Classes
    S2StringContextCreation

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. def action(a: ⇒ Any): Fragment

    Permalink
    Definition Classes
    ActionDsl
  5. implicit def anyAsResultIsInterpolatedFragment(r: ⇒ Function0Result): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  6. implicit def anyCellableSeq[T](seq: Seq[T])(implicit arg0: (T) ⇒ Cell): Seq[Cell]

    Permalink

    any seq of object convertible to cells

    any seq of object convertible to cells

    Definition Classes
    FormsBuilder
  7. implicit def anyIsField[T](t: ⇒ T): Field[T]

    Permalink

    anything can be added on a Form row as a Field

    anything can be added on a Form row as a Field

    Definition Classes
    FormsBuilder
  8. implicit def anyIsFieldCell(t: ⇒ Any): FieldCell

    Permalink

    anything can be added on a Form row as a TextCell

    anything can be added on a Form row as a TextCell

    Definition Classes
    FormsBuilder
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. implicit def asResultIsInterpolatedFragment[R](r: ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext1
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createExecutionInterpolatedFragment(execution: Execution): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContextCreation
  13. implicit def descriptionToFragmentsIsInterpolatedFragment(fragments: (String) ⇒ Fragments): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  14. def effect[T](label: String, value: ⇒ T): Effect[T]

    Permalink

    returns

    a new Effect with a label and a value

    Definition Classes
    FormsBuilder
  15. implicit def effectIsTextCell(t: Effect[_]): EffectCell

    Permalink

    a Effect can be added on a Form row as a EffectCell

    a Effect can be added on a Form row as a EffectCell

    Definition Classes
    FormsBuilder
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. implicit def executionIsInterpolatedFragment(execution: Execution): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  19. def field(label: String, value1: Field[_], values: Field[_]*): Field[String]

    Permalink

    returns

    a new Field with a label and several values

    Definition Classes
    FormsBuilder
  20. def field[T](label: String, value: ⇒ T): Field[T]

    Permalink

    returns

    a new Field with a label and a value

    Definition Classes
    FormsBuilder
  21. def field[T](value: ⇒ T): Field[T]

    Permalink

    returns

    a new Field with no label and a value

    Definition Classes
    FormsBuilder
  22. implicit def fieldIsTextCell(t: Field[_]): FieldCell

    Permalink

    a Field can be added on a Form row as a FieldCell

    a Field can be added on a Form row as a FieldCell

    Definition Classes
    FormsBuilder
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def form(title: String): Form

    Permalink

    returns

    a new Form with the given title

    Definition Classes
    FormsBuilder
  25. def formFragmentFactory: FormFragmentFactory

    Permalink
    Attributes
    protected
    Definition Classes
    FormFragmentsFactory
  26. implicit def formIsCell(t: ⇒ Form): FormCell

    Permalink

    a Form can be added on a Form row as a FormCell

    a Form can be added on a Form row as a FormCell

    Definition Classes
    FormsBuilder
  27. implicit def formIsExecutable(f: Form): Result

    Permalink

    a Form can be implicitly executed if necessary

    a Form can be implicitly executed if necessary

    Definition Classes
    FormsBuilder
  28. implicit def formIsInterpolatedFragment(f: ⇒ Form): InterpolatedFragment

    Permalink
    Definition Classes
    FormS2StringContext
  29. implicit def fragmentAsSpecStructure(f: Fragment): SpecStructure

    Permalink
    Definition Classes
    SpecStructureDsl
  30. def fragmentFactory: FragmentFactory

    Permalink
    Attributes
    protected
    Definition Classes
    FragmentsFactory
  31. implicit def fragmentIsInterpolatedFragment(f: ⇒ Fragment): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext1
  32. implicit def fragmentToFragments(f: Fragment): Fragments

    Permalink
    Definition Classes
    FragmentsDsl
  33. implicit def fragmentsAsSpecStructure(fs: ⇒ Fragments): SpecStructure

    Permalink
    Definition Classes
    SpecStructureDsl1
  34. def fragmentsBlock(fragments: Seq[Fragment], offset: Int): Fragments

    Permalink
    Definition Classes
    FragmentsDsl
  35. implicit def fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  36. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  39. def lazify(c: ⇒ Cell): LazyCell

    Permalink

    a cell can be added lazily to a row.

    a cell can be added lazily to a row. It will only be evaluated when necessary

    Definition Classes
    FormsBuilder
  40. def link(s: ⇒ SpecificationStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  41. def link(s: SpecStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  42. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  45. def prop[T, S](label: String, actual: ⇒ T, expected: ⇒ S, c: Matcher[T]): Prop[T, S]

    Permalink

    returns

    a new Prop with a label, an actual value and a matcher to apply to the actual value

    Definition Classes
    FormsBuilder
  46. def prop[T](actual: ⇒ T, c: Matcher[T]): Prop[T, T]

    Permalink

    returns

    a new Prop with no label, an actual value and a matcher to apply to the actual value

    Definition Classes
    FormsBuilder
  47. def prop[T](label: String, actual: ⇒ T, c: Matcher[T]): Prop[T, T]

    Permalink

    returns

    a new Prop with a label, an actual value and a matcher to apply to the actual value

    Definition Classes
    FormsBuilder
  48. def prop[T, S](label: String, actual: ⇒ T, c: (S) ⇒ Matcher[T]): Prop[T, S]

    Permalink

    returns

    a new Prop with a label, an actual value and a matcher to apply to values

    Definition Classes
    FormsBuilder
  49. def prop[T, S](label: String, actual: ⇒ T, c: (T, S) ⇒ Result): Prop[T, S]

    Permalink

    returns

    a new Prop with a label, an actual value and a constraint to apply to values

    Definition Classes
    FormsBuilder
  50. def prop[T, S](label: String, actual: ⇒ T, exp: ⇒ S): Prop[T, S]

    Permalink

    returns

    a new Prop with a label, an actual value and expected value

    Definition Classes
    FormsBuilder
  51. def prop[T](label: String, actual: ⇒ T): Prop[T, T]

    Permalink

    returns

    a new Prop with a label and an actual value only

    Definition Classes
    FormsBuilder
  52. def prop[T](act: ⇒ T): Prop[T, T]

    Permalink

    returns

    a new Prop with an actual value only

    Definition Classes
    FormsBuilder
  53. implicit def propIsCell(t: Prop[_, _]): PropCell

    Permalink

    a Prop can be adde d on a Form row as a PropCell

    a Prop can be adde d on a Form row as a PropCell

    Definition Classes
    FormsBuilder
  54. implicit def resultAsSpecStructure[R](r: ⇒ R)(implicit arg0: AsResult[R]): SpecStructure

    Permalink
    Definition Classes
    SpecStructureDslLowImplicits
  55. def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments

    Permalink
    Definition Classes
    S2StringContextCreation
  56. def section(tag: NamedTag): Fragment

    Permalink
    Definition Classes
    TagDsl
  57. def section(names: String*): Fragment

    Permalink
    Definition Classes
    TagDsl
  58. def see(s: ⇒ SpecificationStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  59. def see(s: SpecStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  60. implicit def specHeaderAsStructure(header: SpecHeader): SpecStructure

    Permalink
    Definition Classes
    SpecStructureDsl
  61. implicit def specStructureAsFragments(spec: SpecStructure): Fragments

    Permalink
    Definition Classes
    SpecStructureDsl
  62. implicit def specStructureIsInterpolatedFragment(s: SpecStructure): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  63. implicit def specificationRefIsInterpolatedFragment(ref: SpecificationRef): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  64. implicit def specificationStructureIsInterpolatedFragment(s: SpecificationStructure): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  65. def step(a: ⇒ Any, global: Boolean): Fragment

    Permalink
    Definition Classes
    ActionDsl
  66. def step(a: ⇒ Any): Fragment

    Permalink
    Definition Classes
    ActionDsl
  67. implicit def stepParserIsInterpolatedFragment[R](f: StepParser[R])(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  68. implicit def stringAsSpecStructure(s: String): SpecStructure

    Permalink
    Definition Classes
    SpecStructureDsl
  69. implicit def stringFunctionIsInterpolatedFragment[R](f: (String) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  70. implicit def stringIsInterpolatedFragment(s: ⇒ String): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  71. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  72. def tab(label: String, form: Form): Tabs

    Permalink

    returns

    a new Tabs object with a first tab

    Definition Classes
    FormsBuilder
  73. def tabs: Tabs

    Permalink

    returns

    a new Tabs object

    Definition Classes
    FormsBuilder
  74. def tag(tag: NamedTag): Fragment

    Permalink
    Definition Classes
    TagDsl
  75. def tag(names: String*): Fragment

    Permalink
    Definition Classes
    TagDsl
  76. implicit def toDecorated[T <: DecoratedProperty[T]](d: T): Decorated[T]

    Permalink
    Definition Classes
    DecoratedProperties
  77. implicit def toFormIsInterpolatedFragment(f: AnyRef { def form: org.specs2.form.Form }): InterpolatedFragment

    Permalink
    Definition Classes
    FormS2StringContext
  78. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. implicit def xmlIsACell[T](xml: ⇒ NodeSeq): XmlCell

    Permalink

    any xml can be injected as a cell

    any xml can be injected as a cell

    Definition Classes
    FormsBuilder

Inherited from FormDsl

Inherited from SpecStructureDsl

Inherited from SpecStructureDslLowImplicits

Inherited from FragmentsDsl

Inherited from AcceptanceDsl1

Inherited from ActionDsl

Inherited from TagDsl

Inherited from ReferenceCreation

Inherited from SpecStructureDsl1

Inherited from FormS2StringContext

Inherited from S2StringContext

Inherited from S2StringContext1

Inherited from S2StringContextCreation

Inherited from FragmentsFactory

Inherited from DecoratedProperties

Inherited from FormFragmentsFactory

Inherited from FormsBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped