c

scoverage.report

ScoverageXmlWriter

class ScoverageXmlWriter extends BaseReportWriter

Linear Supertypes
BaseReportWriter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScoverageXmlWriter
  2. BaseReportWriter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScoverageXmlWriter(sourceDir: File, outputDir: File, debug: Boolean)
  2. new ScoverageXmlWriter(sourceDirectories: Seq[File], outputDir: File, debug: Boolean)

Value Members

  1. def escape(in: String): String

    This method ensures that the output String has only valid XML unicode characters as specified by the XML 1.0 standard.

    This method ensures that the output String has only valid XML unicode characters as specified by the XML 1.0 standard. For reference, please see the standard. This method will return an empty String if the input is null or empty.

    in

    The String whose non-valid characters we want to remove.

    returns

    The in String, stripped of non-valid characters.

    See also

    http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html

  2. def relativeSource(src: String): String

    Converts absolute path to relative one if any of the source directories is it's parent.

    Converts absolute path to relative one if any of the source directories is it's parent. If there is no parent directory, the path is returned unchanged (absolute).

    src

    absolute file path in canonical form

    Definition Classes
    BaseReportWriter
  3. def write(coverage: Coverage): Unit