org.specs2.reporter

HtmlReportOutput

trait HtmlReportOutput extends AnyRef

This trait defines how the specification elements should be translated as xhtml An implementation of that trait must accumulate the results and return the created xhmtl with the xml method

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HtmlReportOutput
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def clear: HtmlReportOutput

    clear the current xml content

  2. abstract def filePathIs(path: String): HtmlReportOutput

    set the file path for the current output

  3. abstract def print(xml: Elem): HtmlReportOutput

    print an Elem

  4. abstract def print(xml: NodeSeq): HtmlReportOutput

    print a NodeSeq

  5. abstract def printBody(n: NodeSeq): HtmlReportOutput

    enclose the nodes inside <body/> tags

  6. abstract def printBr: HtmlReportOutput

    print a Br fragment

  7. abstract def printCollapsibleExceptionMessage(e: Result with ResultStackTrace, indent: Int): HtmlReportOutput

    print an exception message which can be expended/collapsed

  8. abstract def printDetailedFailure(details: Details, indent: Int, diffs: Diffs): HtmlReportOutput

    print the details of a failure.

    print the details of a failure. The diffs arguments provides the way to expose the differences between expected and actual values

  9. abstract def printExceptionMessage(e: Result with ResultStackTrace, indent: Int): HtmlReportOutput

    print an exception message

  10. abstract def printFile(specName: SpecName, breadcrumbs: NodeSeq, lines: HtmlReportOutput, toc: TreeToc): HtmlReportOutput

    print the whole file content

  11. abstract def printHead(title: String): HtmlReportOutput

    provide the <head/> section

  12. abstract def printHtml(n: NodeSeq): HtmlReportOutput

    enclose the nodes inside <html/> tags

  13. abstract def printIssueWithIcon(message: FormattedString, iconName: String, indent: Int = 0): HtmlReportOutput

    print an issue with an icon

  14. abstract def printKoForm(form: NodeSeq): HtmlReportOutput

    print the html for a Form that failed

  15. abstract def printKoXmlWithIcon(xml: NodeSeq, iconName: String, indent: Int = 0): HtmlReportOutput

    print some ok xml with an icon

  16. abstract def printLink(link: HtmlLink): HtmlReportOutput

    print a single link

  17. abstract def printLink(link: HtmlLink, indent: Int, stats: Stats = Stats(), hidden: Boolean = false): HtmlReportOutput

    print a link to another specification

  18. abstract def printOkForm(form: NodeSeq): HtmlReportOutput

    print the html for a Form that succeeded

  19. abstract def printOkXmlWithIcon(xml: NodeSeq, iconName: String, indent: Int = 0): HtmlReportOutput

    print some ok xml with an icon

  20. abstract def printPar(text: String = ""): HtmlReportOutput

    print a Text fragment inside a paragraph

  21. abstract def printSpecStart(name: SpecName, stats: Stats): HtmlReportOutput

    print the specification start fragment

  22. abstract def printStack(e: ResultStackTrace, indent: Int, traceFilter: StackTraceFilter): HtmlReportOutput

    print a stacktrace of a failure or an exception

  23. abstract def printStats(name: SpecName, stats: Stats): HtmlReportOutput

    print the statistics of a specification

  24. abstract def printText(text: String = "", indent: Int = 0): HtmlReportOutput

    print a Text fragment with a given indent of indentation

  25. abstract def printText(text: FormattedString, indent: Int): HtmlReportOutput

    print a Text fragment with a given indent of indentation

  26. abstract def printTextPar(text: String = "", indent: Int = 0): HtmlReportOutput

    print a Text fragment with a given indent of indentation, in a paragraph

  27. abstract def printTextWithIcon(message: FormattedString, iconName: String, indent: Int = 0): HtmlReportOutput

    print some text with an icon

  28. abstract def show: String

    show as a string

  29. abstract def xml: NodeSeq

    returns

    the build html code

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  17. def print(text: String): HtmlReportOutput

    print a Text Node

  18. def printError(message: FormattedString, indent: Int = 0): HtmlReportOutput

    print an error with an icon

  19. def printErrorXml(xml: NodeSeq, indent: Int = 0): HtmlReportOutput

    print an error with an icon

  20. def printFailure(message: FormattedString, indent: Int = 0): HtmlReportOutput

    print a failure with an icon

  21. def printFailureXml(xml: NodeSeq, indent: Int = 0): HtmlReportOutput

    print a failure with an icon

  22. def printPending(message: FormattedString, indent: Int = 0): HtmlReportOutput

    print a pending fragment with an icon

  23. def printPendingXml(xml: NodeSeq, indent: Int = 0): HtmlReportOutput

    print a pending fragment with an icon

  24. def printSkipped(message: FormattedString, indent: Int = 0): HtmlReportOutput

    print a skipped fragment with an icon

  25. def printSkippedXml(xml: NodeSeq, indent: Int = 0): HtmlReportOutput

    print a skipped fragment with an icon

  26. def printSuccess(message: FormattedString, indent: Int = 0): HtmlReportOutput

    print a success with an icon

  27. def printSuccessXml(xml: NodeSeq, indent: Int = 0): HtmlReportOutput

    print a success with an icon

  28. def println(text: String = ""): HtmlReportOutput

    print a Text Node with a new line

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped