org.specs2.specification

Fragments

case class Fragments(specTitle: Option[SpecName] = scala.None, middle: Seq[Fragment] = ..., arguments: Arguments = main.Arguments.apply(), linked: Linked = ...) extends Product with Serializable

A Fragments object is a list of fragments with a SpecStart and a SpecEnd

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(specTitle: Option[SpecName] = scala.None, middle: Seq[Fragment] = ..., arguments: Arguments = main.Arguments.apply(), linked: Linked = ...)

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 add(a: Arguments): Fragments

  7. def add(fs: Fragments): Fragments

  8. def add(fs: Seq[Fragment]): Fragments

  9. def add(e: Fragment): Fragments

  10. def append(fs: Seq[Fragment]): Fragments

    append the fragments from fs, appending the text fragments if this object ends with Text and fs starts with Text

  11. def append(fs: Fragments): Fragments

    append the fragments from fs, appending the text fragments if this object ends with Text and fs starts with Text

  12. def appendTags(fs: Fragments): Fragments

    append the fragments from fs, appending the text fragments if this object ends with a TaggingFragment and fs starts with a TaggingFragment

  13. val arguments: Arguments

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def baseDirIs(dir: String): Fragments

  16. def clone(): AnyRef

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

    recreate the Fragments so that 2 consecutive Text fragments are aggregated into one

  18. def compactTags: Fragments

    recreate the Fragments so that 2 consecutive Tagging fragments are aggregated into one

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

    Definition Classes
    AnyRef
  20. def examples: Seq[Example]

  21. def executables: Seq[Executable]

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def flatMap(function: (Fragment) ⇒ Seq[Fragment]): Fragments

  24. def fragments: Seq[Fragment]

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

    Definition Classes
    AnyRef → Any
  26. def hide: Fragments

  27. def insert(fs: Fragments): Fragments

  28. def insert(fs: Seq[Fragment]): Fragments

  29. def insert(e: Fragment): Fragments

  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def isLink: Boolean

  32. def isZero: Boolean

  33. def linkHtml: String

  34. def linkIs(htmlLink: HtmlLink): Fragments

  35. def linkMarkdown: String

  36. val linked: Linked

  37. def map(function: (Fragment) ⇒ Fragment): Fragments

  38. val middle: Seq[Fragment]

  39. def middleDrop(n: Int): Fragments

  40. def middleDropRight(n: Int): Fragments

  41. def middleDropWhile(p: (Fragment) ⇒ Boolean): Fragments

  42. def name: String

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

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

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

    Definition Classes
    AnyRef
  46. def overrideArgs(args: Arguments): Fragments

  47. def seeIs(htmlLink: HtmlLink): Fragments

  48. lazy val specEnd: SpecEnd

  49. def specName: SpecName

  50. lazy val specStart: SpecStart

  51. val specTitle: Option[SpecName]

  52. def specTitleIs(name: SpecName): Fragments

  53. def starts: Seq[SpecStart]

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

    Definition Classes
    AnyRef
  55. def tags: Seq[TagFragment]

  56. def texts: Seq[Text]

  57. def toString(): String

    Definition Classes
    Fragments → AnyRef → Any
  58. def urlIs(url: String): Fragments

  59. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped