-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make tests portable so it runs on Windows * Add windows support by removing POSIX line seperator normalization * Remove nmesos test due to not working on Windows
- Loading branch information
1 parent
127f86d
commit 3fc2fa6
Showing
12 changed files
with
181 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE coverage SYSTEM "http://localhost:1/xml/coverage-04.dtd"> | ||
<coverage line-rate="0.87"> | ||
<sources> | ||
<source>--source</source> | ||
<source>{{PWD}}\src\test\resources\projectA\arc\main\scala</source> | ||
<source>{{PWD}}\src\test\resources\projectA\arc\main\scala-2.12</source> | ||
<source>{{PWD}}\src\test\resources\projectB\arc\main\scala</source> | ||
</sources> | ||
<packages> | ||
<package line-rate="0.87" name="org.scoverage.coveralls"> | ||
<classes> | ||
<class line-rate="0.87" name="TestSourceFile" filename="bar\foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="4" hits="1"/> | ||
<line number="5" hits="1"/> | ||
<line number="6" hits="2"/> | ||
</lines> | ||
</class> | ||
<class line-rate="0.87" name="TestSourceFile" filename="bar\foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="9" hits="1"/> | ||
<line number="10" hits="1"/> | ||
</lines> | ||
</class> | ||
<class line-rate="0" name="TestSourceScala212" filename="bar\foo\TestSourceScala212.scala"> | ||
<methods/> | ||
<lines/> | ||
</class> | ||
<class line-rate="0.87" name="TestSourceFile" filename="foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="3" hits="1"/> | ||
<line number="4" hits="1"/> | ||
<line number="5" hits="1"/> | ||
</lines> | ||
</class> | ||
</classes> | ||
</package> | ||
</packages> | ||
</coverage> |
1 change: 1 addition & 0 deletions
1
src/test/resources/test_cobertura_corrupted.xml.windows.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
corrupted file content |
43 changes: 43 additions & 0 deletions
43
src/test/resources/test_cobertura_dtd.xml.windows.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE coverage SYSTEM "http://localhost:1/xml/coverage-04.dtd"> | ||
<coverage line-rate="0.87"> | ||
<sources> | ||
<source>--source</source> | ||
<source>{{PWD}}\src\test\resources\projectA\src\main\scala</source> | ||
<source>{{PWD}}\src\test\resources\projectA\src\main\scala-2.12</source> | ||
<source>{{PWD}}\src\test\resources\projectB\src\main\scala</source> | ||
</sources> | ||
<packages> | ||
<package line-rate="0.87" name="org.scoverage.coveralls"> | ||
<classes> | ||
<class line-rate="0.87" name="TestSourceFile" filename="bar\foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="4" hits="1"/> | ||
<line number="5" hits="1"/> | ||
<line number="6" hits="2"/> | ||
</lines> | ||
</class> | ||
<class line-rate="0.87" name="TestSourceFile" filename="bar\foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="9" hits="1"/> | ||
<line number="10" hits="1"/> | ||
</lines> | ||
</class> | ||
<class line-rate="0" name="TestSourceScala212" filename="bar\foo\TestSourceScala212.scala"> | ||
<methods/> | ||
<lines/> | ||
</class> | ||
<class line-rate="0.87" name="TestSourceFile" filename="foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="3" hits="1"/> | ||
<line number="4" hits="1"/> | ||
<line number="5" hits="1"/> | ||
</lines> | ||
</class> | ||
</classes> | ||
</package> | ||
</packages> | ||
</coverage> |
41 changes: 41 additions & 0 deletions
41
src/test/resources/test_cobertura_multisource.xml.windows.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<coverage line-rate="0.87"> | ||
<sources> | ||
<source>--source</source> | ||
<source>{{PWD}}\src\test\resources\projectA\src\main\scala</source> | ||
<source>{{PWD}}\src\test\resources\projectA\src\main\scala-2.12</source> | ||
<source>{{PWD}}\src\test\resources\projectB\src\main\scala</source> | ||
</sources> | ||
<packages> | ||
<package line-rate="0.87" name="org.scoverage.coveralls"> | ||
<classes> | ||
<class line-rate="0.87" name="TestSourceFile" filename="bar\foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="4" hits="1"/> | ||
<line number="5" hits="1"/> | ||
<line number="6" hits="2"/> | ||
</lines> | ||
</class> | ||
<class line-rate="0.87" name="TestSourceFile" filename="bar\foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="9" hits="1"/> | ||
<line number="10" hits="1"/> | ||
</lines> | ||
</class> | ||
<class line-rate="0" name="TestSourceScala212" filename="bar\foo\TestSourceScala212.scala"> | ||
<methods/> | ||
<lines/> | ||
</class> | ||
<class line-rate="0.87" name="TestSourceFile" filename="foo\TestSourceFile.scala"> | ||
<methods/> | ||
<lines> | ||
<line number="3" hits="1"/> | ||
<line number="4" hits="1"/> | ||
<line number="5" hits="1"/> | ||
</lines> | ||
</class> | ||
</classes> | ||
</package> | ||
</packages> | ||
</coverage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters