org.specs2.specification.core

Fragments

case class Fragments(contents: Process[Task, Fragment]) extends Product with Serializable

Fragments of a specification

It is implemented as a Process of Fragment in order to produce fragments dynamically if necessary

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Fragments
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Fragments(contents: Process[Task, Fragment])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def append(other: Process[Task, Fragment]): Fragments

  7. def append(others: Fragments): Fragments

  8. def append(others: Seq[Fragment]): Fragments

  9. def append(other: Fragment): Fragments

    append one or several fragments to this process

  10. def appendLazy(other: ⇒ Fragment): Fragments

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compact: Fragments

    when 2 Text fragments are contiguous append them together to only make one

  14. val contents: Process[Task, Fragment]

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def examples: IndexedSeq[Fragment]

    run the process to get all examples

  17. def filter(predicate: (Fragment) ⇒ Boolean): Fragments

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flatMap(f: (Fragment) ⇒ Process[Task, Fragment]): Fragments

  20. def fragments: IndexedSeq[Fragment]

    run the process to get all fragments

  21. final def getClass(): Class[_]

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

    Definition Classes
    Any
  23. def linkReferences: IndexedSeq[SpecificationRef]

    run the process to get all specification link references

  24. def map(f: (Fragment) ⇒ Fragment): Fragments

  25. def mapDescription(f: (Description) ⇒ Description): Fragments

  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. def prepend(other: Process[Task, Fragment]): Fragments

  30. def prepend(others: Seq[Fragment]): Fragments

  31. def prepend(others: Fragments): Fragments

  32. def prepend(other: Fragment): Fragments

    prepend one or several fragments to this process

  33. def prependLazy(other: ⇒ Fragment): Fragments

  34. def referenced: IndexedSeq[Fragment]

    run the process to get all specification references as Fragments

  35. def seeReferences: IndexedSeq[SpecificationRef]

    run the process to get all specification see references

  36. def specificationRefs: IndexedSeq[SpecificationRef]

    run the process to get all specification references

  37. def stripMargin(margin: Char): Fragments

    strip the margin of all examples

  38. def stripMargin: Fragments

    strip the margin of all examples

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def texts: IndexedSeq[Fragment]

    run the process to get all texts

  41. def update(f: (Process[Task, Fragment]) ⇒ Process[Task, Fragment]): Fragments

  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def when(condition: ⇒ Boolean): Fragments

    filter, map or flatMap the fragments

  46. def |>(other: Process1[Fragment, Fragment]): Fragments

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped