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. Hide All
  2. Show all
  1. HtmlReportOutput
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def printBody(n: ⇒ NodeSeq): HtmlReportOutput

    enclose the nodes inside <body/> tags

  2. abstract def printBr: HtmlReportOutput

    print a Br fragment

  3. abstract def printCollapsibleExceptionMessage(e: Result with ResultStackTrace, level: Int): HtmlReportOutput

    print an exception message which can be expended/collapsed

  4. abstract def printDetailedFailure(details: Details, level: 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

  5. abstract def printExceptionMessage(e: Result with ResultStackTrace, level: Int): HtmlReportOutput

    print an exception message

  6. abstract def printForm(form: NodeSeq): HtmlReportOutput

    print the html for a Form

  7. abstract def printHead: HtmlReportOutput

    provide the <head/> section

  8. abstract def printHtml(n: ⇒ NodeSeq): HtmlReportOutput

    enclose the nodes inside <html/> tags

  9. abstract def printIssueWithIcon(message: MarkupString, iconName: String, level: Int = 0): HtmlReportOutput

    print an issue with an icon

  10. abstract def printLink(link: HtmlLink, level: Int = 0, stats: Stats): HtmlReportOutput

    print a link to another specification

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

    print a Text fragment inside a paragraph

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

    print the specification start fragment

  13. abstract def printStack(e: ResultStackTrace, level: Int, traceFilter: StackTraceFilter): HtmlReportOutput

    print a stacktrace of a failure or an exception

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

    print the statistics of a specification

  15. abstract def printText(text: String = "", level: Int = 0): HtmlReportOutput

    print a Text fragment with a given level of indentation

  16. abstract def printTextPar(text: String = "", level: Int = 0): HtmlReportOutput

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

  17. abstract def printTextWithIcon(message: MarkupString, iconName: String, level: Int = 0): HtmlReportOutput

    print some text with an icon

  18. 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[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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  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 printError(message: MarkupString, level: Int = 0): HtmlReportOutput

    print an error with an icon

  18. def printFailure(message: MarkupString, level: Int = 0): HtmlReportOutput

    print a failure with an icon

  19. def printPending(message: MarkupString, level: Int = 0): HtmlReportOutput

    print a pending fragment with an icon

  20. def printSkipped(message: MarkupString, level: Int = 0): HtmlReportOutput

    print a skipped fragment with an icon

  21. def printSuccess(message: MarkupString, level: Int = 0): HtmlReportOutput

    print a success with an icon

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any