ScoverageXmlWriter

class ScoverageXmlWriter(sourceDirectories: Seq[File], outputDir: File, debug: Boolean, sourceEncoding: Option[String]) extends BaseReportWriter
class Object
trait Matchable
class Any

Value members

Constructors

def this(sourceDir: File, outputDir: File, debug: Boolean, sourceEncoding: Option[String])

Concrete methods

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. For reference, please see the standard. This method will return an empty String if the input is null or empty.

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.

Value parameters:
in

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

Returns:

The in String, stripped of non-valid characters.

See also:
def write(coverage: Coverage): Unit

Inherited methods

def relativeSource(src: String): String

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).

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).

Value parameters:
src

absolute file path in canonical form

Inherited from:
BaseReportWriter