trait Forms extends FormsBuilder with FormFragmentsFactory with DecoratedProperties with FormS2StringContext with FormDsl with PropSyntax
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
- Alphabetic
- By Inheritance
- Forms
- PropSyntax
- FormDsl
- SpecStructureDsl
- SpecStructureDslLowImplicits
- FragmentsDsl
- AcceptanceDsl1
- ActionDsl
- TagDsl
- ReferenceCreation
- SpecStructureDsl1
- FormS2StringContext
- S2StringContext
- S2StringContext1
- S2StringContextCreation
- FragmentsFactory
- DecoratedProperties
- FormFragmentsFactory
- FormsBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
PropOps[T] extends AnyRef
- Definition Classes
- PropSyntax
-
class
Decorated[T <: DecoratedProperty[T]] extends AnyRef
- Definition Classes
- DecoratedProperties
-
implicit
class
appendSpecStructureToFragments extends AnyRef
- Definition Classes
- SpecStructureDslLowImplicits
-
implicit
class
appendToArguments extends AnyRef
- Definition Classes
- SpecStructureDsl1
-
implicit
class
specificationInStringContext extends AnyRef
- Definition Classes
- S2StringContextCreation
-
implicit
class
appendFormToArguments extends appendToArguments
- Definition Classes
- FormDsl
-
implicit
class
appendFormToFragment extends appendToFragment
- Definition Classes
- FormDsl
-
implicit
class
appendFormToFragments extends appendToFragments
- Definition Classes
- FormDsl
-
implicit
class
appendFormToSpecHeader extends appendSpecStructureToSpecHeader
- Definition Classes
- FormDsl
-
implicit
class
appendFormToSpecStructure extends appendSpecStructureToSpecStructure
- Definition Classes
- FormDsl
-
implicit
class
appendFormToString extends appendToString
- Definition Classes
- FormDsl
-
implicit
class
HiddenFragment extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
MutedFragment extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendToFragment extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendToFragments extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendToString extends AnyRef
- Definition Classes
- FragmentsDsl
-
implicit
class
appendSpecStructureToFragment extends AnyRef
- Definition Classes
- SpecStructureDsl
-
implicit
class
appendSpecStructureToSpecHeader extends AnyRef
- Definition Classes
- SpecStructureDsl
-
implicit
class
appendSpecStructureToSpecStructure extends AnyRef
- Definition Classes
- SpecStructureDsl
-
implicit
class
appendSpecStructureToString extends AnyRef
- Definition Classes
- SpecStructureDsl
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
action(a: ⇒ Any): Fragment
- Definition Classes
- ActionDsl
-
def
action[T](label: String, a: ⇒ T): Prop[T, T]
- returns
a new Prop with a label, which has the same actual and expected value to test the result of an action
- Definition Classes
- FormsBuilder
-
implicit
def
anyAsResultIsInterpolatedFragment(r: ⇒ Function0Result): InterpolatedFragment
- Definition Classes
- S2StringContext
-
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
-
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
-
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
-
implicit
def
asExecutionIsInterpolatedFragment[R](e: ⇒ R)(implicit arg0: AsExecution[R]): InterpolatedFragment
- Definition Classes
- S2StringContext
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
asResultIsInterpolatedFragment[R](r: ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment
- Definition Classes
- S2StringContext1
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createExecutionInterpolatedFragment[R](execution: R)(implicit arg0: AsExecution[R]): InterpolatedFragment
- Definition Classes
- S2StringContextCreation
-
implicit
def
descriptionToFragmentsIsInterpolatedFragment(fragments: (String) ⇒ Fragments): InterpolatedFragment
- Definition Classes
- S2StringContext
-
def
effect[T](label: String, value: ⇒ T): Effect[T]
- returns
a new Effect with a label and a value
- Definition Classes
- FormsBuilder
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
executionIsInterpolatedFragment(execution: Execution): InterpolatedFragment
- Definition Classes
- S2StringContext
-
def
field(label: String, value1: Field[_], values: Field[_]*): Field[String]
- returns
a new Field with a label and several values
- Definition Classes
- FormsBuilder
-
def
field[T](label: String, value: ⇒ T): Field[T]
- returns
a new Field with a label and a value
- Definition Classes
- FormsBuilder
-
def
field[T](value: ⇒ T): Field[T]
- returns
a new Field with no label and a value
- Definition Classes
- FormsBuilder
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
form(title: String): Form
- returns
a new Form with the given title
- Definition Classes
- FormsBuilder
-
def
formFragmentFactory: FormFragmentFactory
- Attributes
- protected
- Definition Classes
- FormFragmentsFactory
-
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
-
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
-
implicit
def
formIsInterpolatedFragment(f: ⇒ Form): InterpolatedFragment
- Definition Classes
- FormS2StringContext
-
implicit
def
fragmentAsSpecStructure(f: Fragment): SpecStructure
- Definition Classes
- SpecStructureDsl
-
def
fragmentFactory: FragmentFactory
- Attributes
- protected
- Definition Classes
- FragmentsFactory
-
implicit
def
fragmentIsInterpolatedFragment(f: ⇒ Fragment): InterpolatedFragment
- Definition Classes
- S2StringContext1
-
implicit
def
fragmentToFragments(f: Fragment): Fragments
- Definition Classes
- FragmentsDsl
-
implicit
def
fragmentsAsSpecStructure(fs: ⇒ Fragments): SpecStructure
- Definition Classes
- SpecStructureDsl1
-
def
fragmentsBlock(fragments: Seq[Fragment], offset: Int = 2): Fragments
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
-
implicit
def
fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment
- Definition Classes
- S2StringContext
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
def
link(s: ⇒ SpecificationStructure): Fragment
- Definition Classes
- ReferenceCreation
-
def
link(s: SpecStructure): Fragment
- Definition Classes
- ReferenceCreation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
def
prop[T](act: ⇒ T): Prop[T, T]
- returns
a new Prop with an actual value only
- Definition Classes
- FormsBuilder
-
implicit
def
propIsCell(t: Prop[_, _]): PropCell
a Prop can be added on a Form row as a PropCell
a Prop can be added on a Form row as a PropCell
- Definition Classes
- FormsBuilder
-
implicit
def
resultAsSpecStructure[R](r: ⇒ R)(implicit arg0: AsResult[R]): SpecStructure
- Definition Classes
- SpecStructureDslLowImplicits
-
def
s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments
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
-
def
section(tag: NamedTag): Fragment
- Definition Classes
- TagDsl
-
def
section(names: String*): Fragment
- Definition Classes
- TagDsl
-
def
see(s: ⇒ SpecificationStructure): Fragment
- Definition Classes
- ReferenceCreation
-
def
see(s: SpecStructure): Fragment
- Definition Classes
- ReferenceCreation
-
implicit
def
specHeaderAsStructure(header: SpecHeader): SpecStructure
- Definition Classes
- SpecStructureDsl
-
implicit
def
specStructureAsFragments(spec: SpecStructure): Fragments
- Definition Classes
- SpecStructureDsl
-
implicit
def
specStructureIsInterpolatedFragment(s: SpecStructure): InterpolatedFragment
- Definition Classes
- S2StringContext
-
implicit
def
specificationRefIsInterpolatedFragment(ref: SpecificationRef): InterpolatedFragment
- Definition Classes
- S2StringContext
-
implicit
def
specificationStructureIsInterpolatedFragment(s: SpecificationStructure): InterpolatedFragment
- Definition Classes
- S2StringContext
-
def
step(a: ⇒ Any, global: Boolean): Fragment
- Definition Classes
- ActionDsl
-
def
step(a: ⇒ Any): Fragment
- Definition Classes
- ActionDsl
-
implicit
def
stepParserIsInterpolatedFragment[R](f: StepParser[R])(implicit arg0: AsResult[R]): InterpolatedFragment
- Definition Classes
- S2StringContext
-
implicit
def
stringAsSpecStructure(s: String): SpecStructure
- Definition Classes
- SpecStructureDsl
-
implicit
def
stringFunctionIsInterpolatedFragment[R](f: (String) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment
- Definition Classes
- S2StringContext
-
implicit
def
stringIsInterpolatedFragment(s: ⇒ String): InterpolatedFragment
- Definition Classes
- S2StringContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tab(label: String, form: Form): Tabs
- returns
a new Tabs object with a first tab
- Definition Classes
- FormsBuilder
-
def
tabs: Tabs
- returns
a new Tabs object
- Definition Classes
- FormsBuilder
-
def
tag(tag: NamedTag): Fragment
- Definition Classes
- TagDsl
-
def
tag(names: String*): Fragment
- Definition Classes
- TagDsl
-
implicit
def
toDecorated[T <: DecoratedProperty[T]](d: T): Decorated[T]
- Definition Classes
- DecoratedProperties
-
implicit
def
toFormIsInterpolatedFragment(f: AnyRef { def form: org.specs2.form.Form }): InterpolatedFragment
- Definition Classes
- FormS2StringContext
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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