t

org.specs2.specification.dsl.mutable

MutableFragmentBuilder

trait MutableFragmentBuilder extends FragmentBuilder with FragmentsFactory with MutableArgumentsBuilder with MutableHeaderBuilder

Creation of fragments in a mutable specification

This essentially works by keep a mutable ListBuffer of Fragments

Arguments and title are also added with mutable variables

Most of the complexity in that trait comes from the "isolated" mode of execution where we want to be able to recreate some blocks and not others when running an example in its own instance of the Specification

Self Type
MutableFragmentBuilder
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableFragmentBuilder
  2. MutableHeaderBuilder
  3. MutableArgumentsBuilder
  4. FragmentsFactory
  5. FragmentBuilder
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def addFragment(fragment: Fragment): Fragment
  5. def addFragmentBlock(f: => Fragment): Fragment
  6. def addFragments(fragments: Fragments): Fragments
  7. def addFragmentsBlock(fs: => Fragments): Fragments
  8. def addSections(): Unit
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def fragmentFactory: FragmentFactory
    Attributes
    protected
    Definition Classes
    FragmentsFactory
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hasSectionsForBlocks: Boolean
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def is: SpecStructure
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def setArguments(a: Arguments): Arguments
    Definition Classes
    MutableArgumentsBuilder
  23. def setTitle(t: String): SpecHeader
    Definition Classes
    MutableHeaderBuilder
  24. def specificationFragments: Fragments
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def updateArguments(a: Arguments): Arguments
    Definition Classes
    MutableArgumentsBuilder
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from MutableHeaderBuilder

Inherited from FragmentsFactory

Inherited from FragmentBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped