Class/Object

org.specs2.specification.core

Fragments

Related Docs: object Fragments | package core

Permalink

case class Fragments(contents: AsyncStream[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: AsyncStream[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: AsyncStream[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 collect[A](predicate: PartialFunction[Fragment, A]): AsyncStream[A]

    Permalink
  12. def compact: Fragments

    Permalink

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

  13. val contents: AsyncStream[Fragment]

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

    Permalink
    Definition Classes
    AnyRef
  15. def examples: Action[List[Fragment]]

    Permalink

    run the process to filter all examples

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

    Permalink
  17. def finalize(): Unit

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

    Permalink
  19. def fragments: Action[List[Fragment]]

    Permalink

    run the process to get all fragments

  20. def fragmentsList(ee: ExecutionEnv): List[Fragment]

    Permalink

    run the process to get all fragments as a list

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

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

    Permalink
    Definition Classes
    Any
  23. def linkReferences: AsyncStream[SpecificationRef]

    Permalink

    run the process to get all specification link references

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

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

    Permalink
  26. def mapFragments(f: (List[Fragment]) ⇒ List[Fragment]): Fragments

    Permalink
  27. def markers: Action[List[Fragment]]

    Permalink

    run the process to filter all markers

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

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def prepend(other: AsyncStream[Fragment]): Fragments

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

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

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

    Permalink

    prepend one or several fragments to this process

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

    Permalink
  36. def referenced: Action[List[Fragment]]

    Permalink

    run the process to get all specification references as Fragments

  37. def seeReferences: AsyncStream[SpecificationRef]

    Permalink

    run the process to get all specification see references

  38. def specificationRefs: AsyncStream[SpecificationRef]

    Permalink

    run the process to get all specification references

  39. def stripMargin(margin: Char): Fragments

    Permalink

    strip the margin of all examples

  40. def stripMargin: Fragments

    Permalink

    strip the margin of all examples

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

    Permalink
    Definition Classes
    AnyRef
  42. def tags: Producer[ActionStack, NamedTag]

    Permalink

    run the process to collect all tags

  43. def texts: Action[List[Fragment]]

    Permalink

    run the process to filter all texts

  44. def update(f: AsyncTransducer[Fragment, Fragment]): Fragments

    Permalink
  45. def updateFragments(update: (List[Fragment]) ⇒ Fragments): Fragments

    Permalink
  46. final def wait(): Unit

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

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

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

    Permalink

    filter, map or flatMap the fragments

  50. def |>(f: AsyncTransducer[Fragment, Fragment]): Fragments

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped