org.specs2.specification

Forms

Related Docs: trait Forms | package specification

object Forms extends FormsBuilder with FormFragmentsBuilder with DecoratedProperties

Linear Supertypes
DecoratedProperties, FormFragmentsBuilder, FragmentsBuilder, FormattingTags, Tags, ImplicitParameters, ExamplesFactory, FormsBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Forms
  2. DecoratedProperties
  3. FormFragmentsBuilder
  4. FragmentsBuilder
  5. FormattingTags
  6. Tags
  7. ImplicitParameters
  8. ExamplesFactory
  9. FormsBuilder
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AsFragments(fs: Fragments) extends Product with Serializable

    Definition Classes
    FragmentsBuilder
  2. class Decorated[T <: DecoratedProperty[T]] extends AnyRef

    Definition Classes
    DecoratedProperties
  3. class ExampleDesc extends AnyRef

    transient class to hold an example description before creating a full Example

    transient class to hold an example description before creating a full Example

    Definition Classes
    FragmentsBuilder
  4. case class FormattingTagParameter(condition: Boolean) extends Product with Serializable

    Definition Classes
    FormattingTags
  5. class HtmlLinkFragments extends AnyRef

    Definition Classes
    FragmentsBuilder
  6. class HtmlLinkFragments2 extends AnyRef

    Definition Classes
    FragmentsBuilder
  7. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  16. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  17. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  18. case class SpecIdentificationMarkdownLink(s: String) extends Product with Serializable

    Definition Classes
    FragmentsBuilder
  19. class SpecTitle extends AnyRef

    Definition Classes
    FragmentsBuilder

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. implicit def ToFormattingTagParameter(condition: Boolean): Option[FormattingTagParameter]

    Definition Classes
    FormattingTags
  5. implicit def anyCellableSeq[T](seq: Seq[T])(implicit arg0: (T) ⇒ Cell): Seq[Cell]

    any seq of object convertible to cells

    any seq of object convertible to cells

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

    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
  7. implicit def anyIsFieldCell(t: ⇒ Any): FieldCell

    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
  8. implicit def argumentsFragment(a: Arguments): FragmentsFragment

    Arguments creation

    Arguments creation

    returns

    a Fragments object which can be chained with other fragments

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

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def effect[T](label: String, value: ⇒ T): Effect[T]

    returns

    a new EffectCell with a label and a value

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

    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
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. implicit def exampleFactory: ExampleFactory

    Definition Classes
    ExamplesFactory
  16. def field(label: String, value1: Field[_], values: Field[_]*): Field[String]

    returns

    a new Field with a label and several values

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

    returns

    a new Field with a label and a value

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

    returns

    a new Field with no label and a value

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

    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
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. implicit def forExample(s: String): ExampleDesc

    Example creation

    Example creation

    returns

    an Example description from a string, to create a full Example once the body is defined

    Definition Classes
    FragmentsBuilder
  22. def form(title: String): Form

    returns

    a new Form with the given title

    Definition Classes
    FormsBuilder
  23. implicit def formIsCell(t: ⇒ Form): FormCell

    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
  24. implicit def formIsExecutable(f: Form): Result

    a Form can be implicitly executed if necessary

    a Form can be implicitly executed if necessary

    Definition Classes
    FormsBuilder
  25. def formatSection(markdown: Option[FormattingTagParameter] = None, flow: Option[FormattingTagParameter] = None, verbatim: Option[FormattingTagParameter] = None): TagFragment

    add a tagging section with special tag names specifying the formatting options

    add a tagging section with special tag names specifying the formatting options

    Definition Classes
    FormattingTags
  26. def formatTag(markdown: Option[FormattingTagParameter] = None, flow: Option[FormattingTagParameter] = None, verbatim: Option[FormattingTagParameter] = None): TagFragment

    add a tag with special tag names specifying the formatting options

    add a tag with special tag names specifying the formatting options

    Definition Classes
    FormattingTags
  27. implicit def formsAreExamples(aForm: ⇒ Form): Example

    Definition Classes
    FormFragmentsBuilder
  28. implicit def formsHoldersAreExamples(f: ⇒ AnyRef { def form: org.specs2.form.Form }): Example

    Definition Classes
    FormFragmentsBuilder
  29. implicit def fragmentFragments(f: ⇒ Fragment): FragmentsFragment

    Definition Classes
    FragmentsBuilder
  30. implicit def fragments(f: ⇒ Fragment): Fragments

    returns

    a Fragments object from a single Fragment

    Definition Classes
    FragmentsBuilder
  31. implicit def fragmentsFragmentToFragments(fs: FragmentsFragment): Fragments

    reverse conversion from a Fragment containing a Fragments object to the Fragments object

    reverse conversion from a Fragment containing a Fragments object to the Fragments object

    Definition Classes
    FragmentsBuilder
  32. implicit def fragmentsFragments(fs: ⇒ Fragments): FragmentsFragment

    Definition Classes
    FragmentsBuilder
  33. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  35. implicit lazy val implicitParam: ImplicitParam

    Definition Classes
    ImplicitParameters
  36. implicit lazy val implicitParam1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  37. implicit lazy val implicitParam10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  38. implicit lazy val implicitParam2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  39. implicit lazy val implicitParam3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  40. implicit lazy val implicitParam4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  41. implicit lazy val implicitParam5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  42. implicit lazy val implicitParam6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  43. implicit lazy val implicitParam7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  44. implicit lazy val implicitParam8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  45. implicit lazy val implicitParam9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  46. final def isInstanceOf[T0]: Boolean

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

    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
  48. def link(htmlLink: HtmlLink, f: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  49. def link(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a link directly on a specification, with a given link

    create a link directly on a specification, with a given link

    Definition Classes
    FragmentsBuilder
  50. def link(fss: Seq[Fragments]): Fragments

    Definition Classes
    FragmentsBuilder
  51. def link(fs: Fragments, fss: Fragments*): Fragments

    Definition Classes
    FragmentsBuilder
  52. def link(fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  53. def link(ss: Seq[SpecificationStructure], dummy: Int = 0): Fragments

    Definition Classes
    FragmentsBuilder
  54. def link(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    Definition Classes
    FragmentsBuilder
  55. def link(s: SpecificationStructure): Fragments

    create a link directly on a specification

    create a link directly on a specification

    Definition Classes
    FragmentsBuilder
  56. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  57. final def notify(): Unit

    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

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

    returns

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

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

    returns

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

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

    returns

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

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

    returns

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

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

    returns

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

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

    returns

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

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

    returns

    a new Prop with a label and an actual value only

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

    returns

    a new Prop with an actual value only

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

    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
  68. def section(names: String*): TagFragment

    create a AsSection fragment

    create a AsSection fragment

    Definition Classes
    Tags
  69. def see(htmlLink: HtmlLink, fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  70. def see(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a see-only link directly on a specification, with a given link

    create a see-only link directly on a specification, with a given link

    Definition Classes
    FragmentsBuilder
  71. def see(fss: Seq[Fragments]): Fragments

    Definition Classes
    FragmentsBuilder
  72. def see(fs: Fragments, fss: Fragments*): Fragments

    Definition Classes
    FragmentsBuilder
  73. def see(fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  74. def see(s: SpecificationStructure): Fragments

    Definition Classes
    FragmentsBuilder
  75. def see(ss: Seq[SpecificationStructure])(implicit p1: ImplicitParam1): Fragments

    Definition Classes
    FragmentsBuilder
  76. def see(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    create a html link without including the other specification fragments

    create a html link without including the other specification fragments

    Definition Classes
    FragmentsBuilder
  77. implicit def specIdentificationMarkdownLink(s: String): SpecIdentificationMarkdownLink

    create markdown links from string + spec identification

    create markdown links from string + spec identification

    Definition Classes
    FragmentsBuilder
  78. implicit def specificationStructureToFragments(s: SpecificationStructure): AsFragments

    this implicit allows to call some functions directly on a specification, like 'hide'

    this implicit allows to call some functions directly on a specification, like 'hide'

    Definition Classes
    FragmentsBuilder
  79. implicit def stringToHtmlLinkFragments(s: String): HtmlLinkFragments

    Links to other specifications creation

    Links to other specifications creation

    Definition Classes
    FragmentsBuilder
    See also

    org.specs2.UserGuide

  80. implicit def stringToHtmlLinkFragments2(s: String): HtmlLinkFragments2

    Definition Classes
    FragmentsBuilder
  81. final def synchronized[T0](arg0: ⇒ T0): T0

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

    returns

    a new Tabs object with a first tab

    Definition Classes
    FormsBuilder
  83. def tabs: Tabs

    returns

    a new Tabs object

    Definition Classes
    FormsBuilder
  84. def tag(names: String*): TagFragment

    create a TaggedAs fragment

    create a TaggedAs fragment

    Definition Classes
    Tags
  85. implicit def textFragment(s: String): FragmentsFragment

    returns

    create a Text Fragment from a string and allow it to be chained to other fragments

    Definition Classes
    FragmentsBuilder
  86. implicit def textStart(s: String): Fragments

    returns

    a Fragments object from a string

    Definition Classes
    FragmentsBuilder
  87. implicit def title(s: String): SpecTitle

    This method allows to add a title to the Specification.

    This method allows to add a title to the Specification. It can be used as an operation on a String: "spec title".title

    returns

    a Fragments object from a string, with the given title

    Definition Classes
    FragmentsBuilder
  88. implicit def toDecorated[T <: DecoratedProperty[T]](d: T): Decorated[T]

    Definition Classes
    DecoratedProperties
  89. def toString(): String

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

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

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

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

    any xml can be injected as a cell

    any xml can be injected as a cell

    Definition Classes
    FormsBuilder

Inherited from DecoratedProperties

Inherited from FormFragmentsBuilder

Inherited from FragmentsBuilder

Inherited from FormattingTags

Inherited from Tags

Inherited from ImplicitParameters

Inherited from ExamplesFactory

Inherited from FormsBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped