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, S2StringContextImplicitsControl, 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. S2StringContextImplicitsControl
  14. S2StringContext1
  15. S2StringContextCreation
  16. FragmentsFactory
  17. DecoratedProperties
  18. FormFragmentsFactory
  19. FormsBuilder
  20. AnyRef
  21. 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. implicit def argumentsFunctionIsInterpolatedFragment[R](f: (Arguments) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  10. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit def commandLineAsResultIsInterpolatedFragment[R](r: ⇒ R)(implicit arg0: CommandLineAsResult[R]): InterpolatedFragment

    Permalink
  14. implicit def commandLineFunctionIsInterpolatedFragment[R](f: (CommandLine) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  15. def createExecutionInterpolatedFragment(execution: Execution): InterpolatedFragment

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

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

    Permalink

    returns

    a new Effect with a label and a value

    Definition Classes
    FormsBuilder
  18. 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
  19. implicit def envFunctionIsInterpolatedFragment[R](f: (Env) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. implicit def executionContextFunctionIsInterpolatedFragment[R](f: (ExecutionContext) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  23. implicit def executionEnvFunctionIsInterpolatedFragment[R](f: (ExecutionEnv) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  24. implicit def executionIsInterpolatedFragment(execution: Execution): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  25. implicit def executorServiceFunctionIsInterpolatedFragment[R](f: (ExecutorService) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

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

    Permalink

    returns

    a new Field with a label and several values

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

    Permalink

    returns

    a new Field with a label and a value

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

    Permalink

    returns

    a new Field with no label and a value

    Definition Classes
    FormsBuilder
  29. 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
  30. def finalize(): Unit

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

    Permalink

    returns

    a new Form with the given title

    Definition Classes
    FormsBuilder
  32. def formFragmentFactory: FormFragmentFactory

    Permalink
    Attributes
    protected
    Definition Classes
    FormFragmentsFactory
  33. 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
  34. 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
  35. implicit def formIsInterpolatedFragment(f: ⇒ Form): InterpolatedFragment

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

    Permalink
    Definition Classes
    SpecStructureDsl
  37. def fragmentFactory: FragmentFactory

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

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

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

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

    Permalink

    create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin

    create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin

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

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

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

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

    Permalink
    Definition Classes
    Any
  46. 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
  47. def link(s: ⇒ SpecificationStructure): Fragment

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. def prop[T](act: ⇒ T): Prop[T, T]

    Permalink

    returns

    a new Prop with an actual value only

    Definition Classes
    FormsBuilder
  60. 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
  61. implicit def resultAsSpecStructure[R](r: ⇒ R)(implicit arg0: AsResult[R]): SpecStructure

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

    Permalink

    based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments

    based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments

    if the Yrangepos scalac option is not set then we use an approximated method to find the expressions texts

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    S2StringContext
  72. implicit def statsRepositoryFunctionIsInterpolatedFragment[R](f: (StatisticsRepository) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

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

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

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

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

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

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

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

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

    Permalink

    returns

    a new Tabs object with a first tab

    Definition Classes
    FormsBuilder
  81. def tabs: Tabs

    Permalink

    returns

    a new Tabs object

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. 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