Class/Object

org.specs2.specification.core

Fragments

Related Docs: object Fragments | package core

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def append(other: Process[Task, Fragment]): Fragments

    Permalink
  5. def append(others: Fragments): Fragments

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

    Permalink
  7. def append(other: Fragment): Fragments

    Permalink

    append one or several fragments to this process

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

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Permalink

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

  12. val contents: Process[Task, Fragment]

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

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

    Permalink

    run the process to get all examples

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

    Permalink
  16. def finalize(): Unit

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

    Permalink
  18. def fragments: IndexedSeq[Fragment]

    Permalink

    run the process to get all fragments

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

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

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

    Permalink

    run the process to get all specification link references

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

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

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

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

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

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

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

    Permalink
  29. def prepend(others: Fragments): Fragments

    Permalink
  30. def prepend(other: Fragment): Fragments

    Permalink

    prepend one or several fragments to this process

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

    Permalink
  32. def referenced: IndexedSeq[Fragment]

    Permalink

    run the process to get all specification references as Fragments

  33. def seeReferences: IndexedSeq[SpecificationRef]

    Permalink

    run the process to get all specification see references

  34. def specificationRefs: IndexedSeq[SpecificationRef]

    Permalink

    run the process to get all specification references

  35. def stripMargin(margin: Char): Fragments

    Permalink

    strip the margin of all examples

  36. def stripMargin: Fragments

    Permalink

    strip the margin of all examples

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

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

    Permalink

    run the process to get all texts

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

    Permalink
  40. final def wait(): Unit

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

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

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

    Permalink

    filter, map or flatMap the fragments

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped