@@ -10,10 +10,18 @@ import scala.xml.{Node, PrettyPrinter}
10
10
class ScoverageXmlWriter (sourceDirectories : Seq [File ], outputDir : File , debug : Boolean , ignoreStatementsNotInSrcDirs : Boolean )
11
11
extends BaseReportWriter (sourceDirectories, outputDir, ignoreStatementsNotInSrcDirs) {
12
12
13
- def this (sourceDir : File , outputDir : File , debug : Boolean , ignoreStatementsNotInSrcDirs : Boolean = false ) {
13
+ def this (sourceDir : File , outputDir : File , debug : Boolean , ignoreStatementsNotInSrcDirs : Boolean ) {
14
14
this (Seq (sourceDir), outputDir, debug, ignoreStatementsNotInSrcDirs)
15
15
}
16
16
17
+ def this (sourceDir : File , outputDir : File , debug : Boolean ){
18
+ this (Seq (sourceDir), outputDir, debug, ignoreStatementsNotInSrcDirs = false )
19
+ }
20
+
21
+ def this (sourceDirectories : Seq [File ], outputDir : File , debug : Boolean ) {
22
+ this (sourceDirectories, outputDir, debug, ignoreStatementsNotInSrcDirs = false )
23
+ }
24
+
17
25
def write (coverage : Coverage ): Unit = {
18
26
val file = IOUtils .reportFile(outputDir, debug)
19
27
IOUtils .writeToFile(file, new PrettyPrinter (120 , 4 ).format(xml(preprocessCoverage(coverage))))
0 commit comments