Skip to content

Commit

Permalink
Workaround for JaCoCO bug with inline functions: jacoco/jacoco#654
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Sep 8, 2020
1 parent d962368 commit 7f3c3e8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions jacoco.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,24 @@ jacocoTestCoverageVerification {
limit {
counter = "CLASS"
value = "MISSEDCOUNT"
maximum = "0".toBigDecimal()
// Workaround for https://github.com/jacoco/jacoco/issues/654
maximum = "3".toBigDecimal()
}

limit {
counter = "METHOD"
value = "MISSEDCOUNT"
maximum = "0".toBigDecimal()
// Workaround for https://github.com/jacoco/jacoco/issues/654
maximum = "4".toBigDecimal()
}

limit {
counter = "BRANCH"
value = "MISSEDCOUNT"
// Workaround for https://github.com/jacoco/jacoco/issues/1036
maximum = "1".toBigDecimal()
// Workaround for
// - https://github.com/jacoco/jacoco/issues/1036
// - https://github.com/jacoco/jacoco/issues/654
maximum = "9".toBigDecimal()
}
}
}
Expand Down

0 comments on commit 7f3c3e8

Please sign in to comment.