org.specs2.specification.core

Fragments

Related Docs: object Fragments | package core

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: 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 append(other: Process[Task, Fragment]): Fragments

  5. def append(others: Fragments): Fragments

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

  7. def append(other: Fragment): Fragments

    append one or several fragments to this process

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

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

  12. val contents: Process[Task, Fragment]

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

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

    run the process to get all examples

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

  16. def finalize(): Unit

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

  18. def fragments: IndexedSeq[Fragment]

    run the process to get all fragments

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

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

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

    run the process to get all specification link references

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

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

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

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

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

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

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

  29. def prepend(others: Fragments): Fragments

  30. def prepend(other: Fragment): Fragments

    prepend one or several fragments to this process

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

  32. def referenced: IndexedSeq[Fragment]

    run the process to get all specification references as Fragments

  33. def seeReferences: IndexedSeq[SpecificationRef]

    run the process to get all specification see references

  34. def specificationRefs: IndexedSeq[SpecificationRef]

    run the process to get all specification references

  35. def stripMargin(margin: Char): Fragments

    strip the margin of all examples

  36. def stripMargin: Fragments

    strip the margin of all examples

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

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

    run the process to get all texts

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

  40. final def wait(): Unit

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

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

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

    filter, map or flatMap the fragments

  44. 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